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

28 次查看(过去 30 天)
此 个问题 已被 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,9:06
编辑:Walter Roberson 2025-8-16,9:07
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