Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

MATLAB 1/Inf default?

I am writing code with MATLAB 2015b and 1/Inf=0 in this case. I'd like to know, has this always been the case for MATLAB or do I run the risk of a user who is running a previous MATLAB version of obtaining a different output? Thanks for helping!

like image 849
space_voyager Avatar asked Nov 23 '15 14:11

space_voyager


1 Answers

The docs end off by saying:

Introduced before R2006a

I interpret that as it being a fairly safe bet to assume 1/Inf==0 holds in older versions of MATLAB

like image 182
Dan Avatar answered Sep 21 '22 06:09

Dan