how to get a contour from a matrix that its values varies between zero and one?
2 ビュー (過去 30 日間)
古いコメントを表示
assume we have a random 10×10 two dimensional matrix that its values are between zero and one. how can I obtain a 2D contour from it?
0 件のコメント
回答 (1 件)
Star Strider
2019 年 10 月 25 日
Try this:
M = rand(10);
figure
contour(M)
figure
contourf(M)
Experiment to get the result you want.
0 件のコメント
参考
カテゴリ
Help Center および File Exchange で Contour Plots についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!