How to simplify or expand factors?
Show older comments
I'm self learning matlab and I wanted to plot a graph. I think I have missed an important fact regarding multiplication in matlab. How can I multiply something like the following?
>> x=0:0.01:11;
>> y=(x-1)*(x-2);
Error using *
Inner matrix dimensions must agree.
Accepted Answer
More Answers (0)
Categories
Find more on Get Started with MATLAB in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!