how to find out slope

1 次查看(过去 30 天)
Mayank Lakhani
Mayank Lakhani 2015-9-24
plot(flip(f2),phsre(11,:),'-*'); xlim([7.5e10 11e10]);
i want to find out slope of this graph. how shoud i do it.

回答(1 个)

Walter Roberson
Walter Roberson 2015-9-24
pp = polyfit(flip(f2),phsre(11,:),1);
slope = pp(1);

类别

Help CenterFile Exchange 中查找有关 2-D and 3-D Plots 的更多信息

标签

Community Treasure Hunt

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

Start Hunting!

Translated by