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

28 visualizaciones (últimos 30 días)
ajeet
ajeet el 16 de Ag. de 2025 a las 7:16
Editada: Walter Roberson el 16 de Ag. de 2025 a las 9:07
Chuguang Pan ha marcado con alerta este/a pregunta
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

Respuestas (1)

Walter Roberson
Walter Roberson el 16 de Ag. de 2025 a las 9:06
Editada: Walter Roberson el 16 de Ag. de 2025 a las 9:07
sample = linspace(0,10);
mass1 = exp(-sample);
plot(sample, mass1)
xlabel sample
ylabel mass1

Categorías

Más información sobre Contour Plots en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by