Community Profile

photo

Gustavo Lunardon


Last seen: 3 months ago Active since 2020

Statistics

  • Thankful Level 1
  • First Answer
  • First Review

View badges

Content Feed

View by

Question


Bug in equality checks? 28.15e-3 == 28.15/1000 false
Why does this happen? It does not regocnize equality on 7.48e-3 == 7.48/1000, but it does on 7.47e-3 == 7.47/1000 as well. Anoth...

3 months ago | 2 answers | 0

2

answers

Answered
Producing a NaN only where there is a NaN, zero otherwise
Added as an answer rather than a comment now X = [-inf, -1, -eps, 0, realmin, 2, 1+i, pi, flintmax, realmax, inf, NaN]; brok...

10 months ago | 3

Question


ODE Event - Terminal
Hello. I have a problem with my ode event. I want it to stop integration if one of the variables to be integrated is a complex n...

1 year ago | 0 answers | 0

0

answers

Answered
how to stop ode45 when one of states reach certain value
This is confusing. In matlab help it says: An event occurs when value(i) is equal to zero. All answers in this post make it val...

1 year ago | 0