the values are less from eps

4 次查看(过去 30 天)
george veropoulos
george veropoulos 2021-8-15
评论: Matt J 2021-8-18
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 个评论
george veropoulos
george veropoulos 2021-8-15
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?

请先登录,再进行评论。

回答(2 个)

Matt J
Matt J 2021-8-15
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 2021-8-18
the graph is ok ! thank you all
  1 个评论
Matt J
Matt J 2021-8-18
Did my answer settle it? If so, please do Accept-click it.

请先登录,再进行评论。

标签

产品


版本

R2019a

Community Treasure Hunt

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

Start Hunting!

Translated by