Thread Subject: how to plot time in the (hr/min/sec/millisec) format

Subject: how to plot time in the (hr/min/sec/millisec) format

From: milan

Date: 4 Nov, 2009 09:49:02

Message: 1 of 2

i have to plot a value against time & the time,the format of time is hr/min/sec/millisecond or hr:min:sec:millisecond.for eg: i have to plot a variable who's value changes with time,time is given as 15:45:12:.0078.so how i'll plot it in mat lab .

Subject: how to plot time in the (hr/min/sec/millisec) format

From: roger

Date: 4 Nov, 2009 10:02:29

Message: 2 of 2

On Nov 4, 10:49 am, "milan " <milanli...@gmail.com> wrote:
> i have to plot a value against time & the time,the format of time is hr/min/sec/millisecond or hr:min:sec:millisecond.for eg: i have to plot a variable who's value changes with time,time is given as 15:45:12:.0078.so how i'll plot it in mat lab .

see the help for the DATENUM function

Tags for this Thread

Add a New Tag:

Separated by commas
Ex.: root locus, bode

What are tags?

A tag is like a keyword or category label associated with each thread. Tags make it easier for you to find threads of interest.

Anyone can tag a thread. Tags are public and visible to everyone.

rssFeed for this Thread

Contact us at files@mathworks.com