The Math Forum

Search All of the Math Forum:

Views expressed in these public forums are not endorsed by NCTM or The Math Forum.

Math Forum » Discussions » Software » comp.soft-sys.matlab

Notice: We are no longer accepting new posts, but the forums will continue to be readable.

Topic: datestr
Replies: 4   Last Post: Jun 12, 2009 4:05 AM

Advanced Search

Back to Topic List Back to Topic List Jump to Tree View Jump to Tree View   Messages: [ Previous | Next ]
Bizuayehu Mohammed

Posts: 18
Registered: 5/14/09
Re: datestr
Posted: Jun 10, 2009 2:36 AM
  Click to see the message monospaced in plain text Plain Text   Click to reply to this topic Reply

"Jos " <> wrote in message <h0lgmm$rqq$>...
> "Bizuayehu Mohammed" <> wrote in message <h0lcla$8fq$>...
> > Hi
> > I want to write a code that counts back 15 seconds in one second interval from current time,i.e from now.
> > I would appreciate any help

> help clock
> help while
> help etime
> % Example:
> t0 = clock ;
> while etime(clock,t0) < 1,
> end
> disp('Elapsed time:') ;
> disp(etime(clock,t0))
> hth
> Jos

Thanks but what I want is to plot a real time graph using this time that means I want the exact time value as HH:MM:SS in each interval for example 10:44:32 is the real time I want to have the values 10:44:31,10:44:30,10:44:29,10:44:28 ...etc till 15 seconds.
Many Thanks

Point your RSS reader here for a feed of the latest messages in this topic.

[Privacy Policy] [Terms of Use]

© The Math Forum at NCTM 1994-2018. All Rights Reserved.