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

5 vues (au cours des 30 derniers jours)
ajeet
ajeet le 16 Août 2025
Modifié(e) : Walter Roberson le 16 Août 2025
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

Réponses (1)

Walter Roberson
Walter Roberson le 16 Août 2025
Modifié(e) : Walter Roberson le 16 Août 2025
sample = linspace(0,10);
mass1 = exp(-sample);
plot(sample, mass1)
xlabel sample
ylabel mass1

Catégories

En savoir plus sur Contour Plots dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by