Inserting and equation and plotting it
이전 댓글 표시
i'm trying to insert an equation and plot it, but i couldn't because i keep getting errors like : matrix dimensions must agree, or inner matrix dimensions must agree.
this is the equation. M has a value of 1 to 5 with an increment of 0.5. Q has a value of 0 to 1 with an increment of 0.1.
the plot is something like this.
thank you in advance, i would appreciate your help
답변 (2개)
moulay
2012년 11월 25일
0 개 추천
Hi!
that is true. length(M)=9 and length (Q)=11. you should take the same length of both vectors. for example Q=0:0.1:0.8!
카테고리
도움말 센터 및 File Exchange에서 Mathematics에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!