Error -90011 occurred at Error in function * at line 8: The sizes of the input matrices are incompatible. Verify that the matrices have the same size or that one is a scalar.
I write a code about sine wave and I want to input this signal into my mathscript. But it say the error above. I try to see the size about my code. I found the size(s)2 of sine wave is 1000000,and the size(s)3 of another one in mathscript is 0 . I don't know how to deal with this situation . Who can give me some suggestions. I put the code under the article.