Create a plot with sample on the x-axis and mass1 on the y-axis.

조회 수: 5 (최근 30일)
ajeet
ajeet 2025년 8월 16일
편집: Walter Roberson 2025년 8월 16일
이 질문에 Chuguang Pan 님이 플래그를 지정함
Create a plot with sample on the x-axis and mass1 on the y-axis.
this a question i see the solution and put the value but it did't work

답변 (1개)

Walter Roberson
Walter Roberson 2025년 8월 16일
편집: Walter Roberson 2025년 8월 16일
sample = linspace(0,10);
mass1 = exp(-sample);
plot(sample, mass1)
xlabel sample
ylabel mass1

카테고리

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