On 20 Mag, 19:34, "Steven_Lord" <sl...@mathworks.com> wrote:> "Allamarein" <matteo.diplom...@gmail.com> wrote in message>> news:42e1b8a1-592b-4b3f-a5c9-5f0e5a270a71@y31g2000vbp.googlegroups.com...>> > I would Matlab does not accept complex variables.> > Thus I would declar every variable as 'double precision'.> > If Matlab returns an error or a warning for complex values, this> > trick would save me by banal errors using inverse trigonometric> > functions and square root.>> You know, you can check if a variable is complex or not using the ISREAL> function.>> --> Steve Lord> sl...@mathworks.com> To contact Technical Support use the Contact Us link onhttp://www.mathworks.com

Of course, but I should check every variables.If I knew there is a bug in my code, I would eliminate it.I only want Matlab is more rigorous, for example like Fortran