Info
This question is closed. Reopen it to edit or answer.
i am having a problem with the following code. I have tried everything i can think of but i keep on getting the same error message. Any suggestions?
1 view (last 30 days)
Show older comments
>> Y=v.*sind(x)*t ??? Error using ==> mtimes Inner matrix dimensions must agree.
2 Comments
David Goodmanson
on 2 May 2017
Edited: David Goodmanson
on 2 May 2017
Hi George, the first thing to try is using .* instead of * just before 't' . If that doesn't work it's time to look at the sizes of your variables, which is never a bad idea anyway.
Walter Roberson
on 2 May 2017
Duplicates https://www.mathworks.com/matlabcentral/answers/338413-hi-everyone-my-name-is-george-and-i-am-new-to-matlab-i-need-help-to-complete-the-following-code-i
Answers (0)
See Also
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!