How to find several slopes

1 view (last 30 days)
DARLINGTON ETAJE
DARLINGTON ETAJE on 9 Sep 2019
Commented: darova on 9 Sep 2019
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

Accepted Answer

madhan ravi
madhan ravi on 9 Sep 2019
help diff % calculates the change between each instances

More Answers (0)

Community Treasure Hunt

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

Start Hunting!