Plotting the given Trigonometric functions
古いコメントを表示
Can someone help me on plotting the function ysin(2x) = xcos(2y)?
採用された回答
その他の回答 (1 件)
x = linspace(-pi,+pi);
y = x ;
[X,Y] = meshgrid(x,y) ;
Z = Y.*sin(2*X)-X.*cos(2*Y) ;
surf(X,Y,Z)
colorbar
2 件のコメント
Adrian Oblena
2020 年 11 月 27 日
KSSV
2020 年 11 月 27 日
Use pcolor instead of surf. Also have a look on contour.
カテゴリ
ヘルプ センター および File Exchange で Line Plots についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!

