01-19-2013 05:52 PM
Hi,
I am working with "Hands-On Introduction to LabVIEW For Scientists and Engineers" by John Essick. I am stuck on the "do it yourself" problem at the end of chapter 3. Everytime I go to execute the program I get this message:
Error -90011 occurred at Error in function * at line 7: The sizes of the input matrices are incompatible. Verify that the matrices have the same size or that one is a scalar. Possible reason(s): LabVIEW: The sizes of the input matrices are incompatible. Verify that the matrices have the same size or that one is a scalar.
This is the code I have entered:
delta_t=1/f_s
start=0
step=delta_t
stop=(N-1)*delta_t
t=start:step:stop
x=A*(1+sin(2*pi*mf*t))*sin(2*pi*sf*t)
And I have attached the VI (when executing, the book says to take N=500, f_s=10000, sf=500, mf=50, and A=1)
Any ideas?
Solved! Go to Solution.
01-19-2013 06:05 PM
So it took me about an hour, but right after I posted it on here, I figured it out. I needed to replace "*" with ".*" for element-wise multiplication.
04-20-2020 02:06 PM
04-20-2020 03:24 PM
Hi HTM,
@HTM88 wrote:
What is the difference between * and. *?
You can read message #2 of this old thread or the LabVIEW help…