octave-maintainers
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Help with odeplot


From: Jacopo Corno
Subject: Re: Help with odeplot
Date: Tue, 18 Oct 2016 09:21:24 +0200
User-agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.4.0



Il 17/10/2016 23:25, Rik ha scritto:
10/17/16

Could someone try the following code in Matlab?

-- Code --
close all
x = odeplot ([pi, 20], 1, 'init')   % is x empty matrix, or false?
islogical (x)
xlim ()                             % Are the limits approximately [3, 20]?
y = odeplot ([], [], 'done')        % is y empty matrix, or false?
islogical (y)
-- End Code --

Thanks,
Rik


close all
x = odeplot ([pi, 20], 1, 'init')   % is x empty matrix, or false?
islogical (x)
xlim ()                             % Are the limits approximately [3, 20]?
y = odeplot ([], [], 'done')        % is y empty matrix, or false?
islogical (y)

x =
     0
ans =
     0
ans =
   3.141592653589793  20.000000000000000
y =
     0
ans =
     0

Tested on Matlab 2015b

Jack

--
Jacopo Corno M.Sc.
Technische Universität Darmstadt
Graduate School of Computational Engineering
Dolivostraße 15
64293 Darmstadt / Germany

Office: S4|10-232
Phone: +49 6151 16 - 24414
Email: address@hidden




reply via email to

[Prev in Thread] Current Thread [Next in Thread]