Filter löschen
Filter löschen

d Sav/ d WI

1 Ansicht (letzte 30 Tage)
abdulhadi khalifa
abdulhadi khalifa am 2 Apr. 2012
Hi, How, I can create a code in matlab to calculate the slope at every point in the curve if I have experemnt data
Sav{0.47 0.532 0.588 0.662 0.736 0.772}
Wi{0.254 0.539 1.071 3.349 12.72 26.54} I want to calculate Fo= d Sav / d Wi
Thanks
  1 Kommentar
Walter Roberson
Walter Roberson am 2 Apr. 2012
Your duplicate questions on this topic have been deleted.

Melden Sie sich an, um zu kommentieren.

Antworten (1)

Andrei Bobrov
Andrei Bobrov am 2 Apr. 2012
sw = reshape([0.47 0.254 0.532 0.539 0.588 1.071 0.662 3.349 0.736 12.72 0.772 26.54 ],2,[])
dsw = diff(sw,1,2)
Fo = dsw(1,:)./ dsw(2,:)
OR
Fo = diff(Sav)./diff(Wi)
  1 Kommentar
abdulhadi khalifa
abdulhadi khalifa am 2 Apr. 2012
It does not give the same answer as in the paper the answer in the paper are
Hi, How, I can create a code in matlab to calculate the slope at every point in the curve if I have experemnt data
Sav{0.47 0.532 0.588 0.662 0.736 0.772}
Wi{0.254 0.539 1.071 3.349 12.72 26.54}
The relation between Sav in Y direction and Wi in X direction is a curve so I want to calculate the slope at every point.
I want to calculate Fo which is equal to
Fo= d Sav / d Wi
The answer in the paper for Fo are { 0.553 0.171 0.0875 0.0234 0.00536 0.00265}
Thanks

Melden Sie sich an, um zu kommentieren.

Kategorien

Mehr zu ROC - AUC finden Sie in Help Center und File Exchange

Tags

Noch keine Tags eingegeben.

Community Treasure Hunt

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

Start Hunting!

Translated by