Info

此问题已关闭。 请重新打开它进行编辑或回答。

what is the function of this iteration

1 次查看(过去 30 天)
the figure on this link. http://salotungo.blogspot.de/
it is better we see it directly.
i want thelast data is n1 n2 n3 n4 so i can make plot directly. recently i did it manually one by one.
thx
  4 个评论
Daniel Shub
Daniel Shub 2012-11-23
I am closing this question until the OP adds details.
uncung fgv
uncung fgv 2012-11-23
the detail:
my problem is its iteration. manually it is ok. but i have many plots ánd datas.
i have a figure that have many plots within.
i want:
(y3-y2)/(y2-y1)=n1
(y4-y3)/(y3-y2)=n2
(y5-y4)/(y4-y3)=n3
(y6-y5)/(y5-y4)=n4
and soon until n7
the function of the figure is
w=8;
x=2;
a=0.2;
w=(0:0.3:3);
k=1; 1, 2,3,4,5,6,7 ; variable change
S=[1-exp(-a.*x.*k.*w)];
figure(1)
plot(w,S,'-+');
xlabel('w');
ylabel('S');
hold on
if we run this with k= 1, 2,3,4,5,6,7 we will find plots at one figure. and i want to calculate n1..n7 as above.

回答(0 个)

标签

Community Treasure Hunt

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

Start Hunting!

Translated by