HOW DO I ADD DIVSIONBY ZERO EQUATION FOR MATLAB
1 Ansicht (letzte 30 Tage)
Ältere Kommentare anzeigen
STEVE JEFFREY
am 11 Jul. 2015
Beantwortet: Matt J
am 11 Jul. 2015
Speed=C/Distance/Time=0
Distance infinite space = Pi/0
D Hopitals rule means you can divide By 0 when it is infinity. As speed goes to C the limite goes to zero T. That proves infinite not finite space. How do I reprogram matlab to ignore divison by zero errors and give C as the answer a finite speed.
0 Kommentare
Akzeptierte Antwort
Matt J
am 11 Jul. 2015
You could do some sort of thresholding when the limit starts to take hold accurately enough:
if C>threshold
%Use L'Hospital's rule
end
0 Kommentare
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu Interpolation finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!