How to calculate the derivative of vector

35 views (last 30 days)
Guendouz walid
Guendouz walid on 24 Jan 2023
Commented: Askic V on 22 Feb 2023
Hello!
I try to calculate the derivative of the vector (E) as shown in this figure below :
gives me zero using this formula:
(while the vector (E) is variable) as shown in curve:
Thanks in advance!
Walid.
  1 Comment
Askic V
Askic V on 22 Feb 2023
Please try this:
Cd = diff(double(E))/pas;
and inspect the result.

Sign in to comment.

Answers (0)

Categories

Find more on Curve Fitting Toolbox in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!