Info
この質問は閉じられています。 編集または回答するには再度開いてください。
Math function and plotting
1 回表示 (過去 30 日間)
古いコメントを表示
Hi,
I'm trying to plot that function y. I have matrix 1x11 x, then I think I should have 1x11 y. But I don't know why I only have one value of y. Please tell me why I'm wrong. Thank you.
0 件のコメント
回答 (1 件)
James Tursa
2020 年 3 月 5 日
You need to change that matrix divide operator / to an element-wise divide operator ./ with the dot.
1 件のコメント
この質問は閉じられています。
参考
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!