Yahoo Answers is shutting down on May 4th, 2021 (Eastern Time) and beginning April 20th, 2021 (Eastern Time) the Yahoo Answers website will be in read-only mode. There will be no changes to other Yahoo properties or services, or your Yahoo account. You can find more information about the Yahoo Answers shutdown and how to download your data on this help page.
Trending News
Promoted
ry0534
Lv 6
plotting on matlab-inner dimensions must agree?
x=1:0.1:10; %range of x values
I can plot sin(x) and exp(x) on matlab, but cannot plot sin(x)*exp(x)
I get "??? Error using ==> mtimes
Inner matrix dimensions must agree.
Error in ==> q at 2
y=exp(x')*sin(x');
Anyone seen this?
1 Answer
Relevance
- Scott HLv 69 years agoFavorite Answer
You need to transpose one of the vectors such that a column vector is multiplied by a row vector.
Still have questions? Get your answers by asking now.