Plotting in 3d
2 ビュー (過去 30 日間)
表示 古いコメント
How do I plot z=1/sqrt(x^2+y^2) in Matlab?
0 件のコメント
回答 (2 件)
Alexander
2020 年 7 月 31 日
x = 1:0.1:10;
y = 1:0.1:10;
[X,Y] = meshgrid(x,y);
Z=1./sqrt(X.^2+Y.^2);
imagesc(x,y,Z)
4 件のコメント
参考
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!