필터 지우기
필터 지우기

Need some help setting up a matrix to contour plot

조회 수: 2 (최근 30일)
Phil
Phil 2012년 12월 11일
I have a 19X19 array that I need to set up in order to contour plot it. I'm very new at MATLAB and really have no clue as to how to set up the array in order to contour plot it.

채택된 답변

Walter Roberson
Walter Roberson 2012년 12월 11일
Once you have created the array (call it "Z" for the moment) you can contour plot it using
contour(Z)
For example,
Z = [2 5 8;
5 9 8;
5 8 2;
8 2 0]
plot(Z)

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Contour Plots에 대해 자세히 알아보기

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by