how do we make vector the same length ( i get the error: vector must be the same length)
古いコメントを表示
x=linspace(0,100);
y=linspace(0,100);
z=(-8.*x)/(x.^2+ y.^2 +1);
plot3(x,y,z)
回答 (1 件)
the cyclist
2021 年 10 月 7 日
編集済み: the cyclist
2021 年 10 月 7 日
x=linspace(0,100);
y=linspace(0,100);
z=(-8.*x)./(x.^2+ y.^2 +1); % Note that I changed this to ./
plot3(x,y,z)
カテゴリ
ヘルプ センター および File Exchange で Numerical Integration and Differential Equations についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
