d Sav/ d WI
조회 수: 1 (최근 30일)
이전 댓글 표시
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
답변 (1개)
Andrei Bobrov
2012년 4월 2일
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)
참고 항목
카테고리
Help Center 및 File Exchange에서 ROC - AUC에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!