how to get a contour from a matrix that its values varies between zero and one?
2 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
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 Kommentare
Antworten (1)
Star Strider
am 25 Okt. 2019
Try this:
M = rand(10);
figure
contour(M)
figure
contourf(M)
Experiment to get the result you want.
0 Kommentare
Siehe auch
Kategorien
Mehr zu Contour Plots finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!