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

28 Ansichten (letzte 30 Tage)
ajeet
ajeet am 16 Aug. 2025 um 7:16
Bearbeitet: Walter Roberson am 16 Aug. 2025 um 9:07
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

Antworten (1)

Walter Roberson
Walter Roberson am 16 Aug. 2025 um 9:06
Bearbeitet: Walter Roberson am 16 Aug. 2025 um 9:07
sample = linspace(0,10);
mass1 = exp(-sample);
plot(sample, mass1)
xlabel sample
ylabel mass1

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!

Translated by