How to find several slopes

조회 수: 1 (최근 30일)
DARLINGTON ETAJE
DARLINGTON ETAJE 2019년 9월 9일
댓글: darova 2019년 9월 9일
Hello...imagine this:
N=[1;2;3;4;5;6;7;8;9]
B=[9;8;7;6;5;4;3;2;1]
I need to find
(change in N)/(Change in B) % for each instance.
What's the code for that please
Thanks

채택된 답변

madhan ravi
madhan ravi 2019년 9월 9일
help diff % calculates the change between each instances

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 NaNs에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by