the values are less from eps

8 views (last 30 days)
george veropoulos
george veropoulos on 15 Aug 2021
Commented: Matt J on 18 Aug 2021
Hi
i run have a function of an parameter Z ( is a impedance real or imaginary ) part
the values of Z is in the range [Z1 Z2] .
The valuues of some quanties in the function are very small -2.66e-17 AND THE eps is 2.20e-16 this is a problem ?
thank you
George
  2 Comments
george veropoulos
george veropoulos on 15 Aug 2021
i compare my values from an analytic epression and i find difference uin edn point
when i add in z1 a small number and in z2 substact a the same small number the resullts are the same ?
why?

Sign in to comment.

Answers (2)

Matt J
Matt J on 15 Aug 2021
If you add to A a number less than eps(A), it will result in no change,e .g.
A=175;
A==(A+eps(A)/2)
ans = logical
1

george veropoulos
george veropoulos on 18 Aug 2021
the graph is ok ! thank you all
  1 Comment
Matt J
Matt J on 18 Aug 2021
Did my answer settle it? If so, please do Accept-click it.

Sign in to comment.

Categories

Find more on Simulink in Help Center and File Exchange

Products


Release

R2019a

Community Treasure Hunt

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

Start Hunting!