Discover MakerZone

MATLAB and Simulink resources for Arduino, LEGO, and Raspberry Pi

Learn more

Discover what MATLAB® can do for your career.

Opportunities for recent engineering grads.

Apply Today

Thread Subject:
Time and Date Operations in Matlab

Subject: Time and Date Operations in Matlab

From: dpb

Date: 3 Nov, 2012 14:10:50

Message: 1 of 3

On 11/3/2012 7:24 AM, Walter Scott wrote:
> can we store time in format(HH:MM:SS) in MATLAB as time itself and not as a string?

doc datenum % and friends...

--

Subject: Time and Date Operations in Matlab

From: Ryan

Date: 3 Nov, 2012 15:04:09

Message: 2 of 3

This may help:
http://matlab.izmiran.ru/help/techdoc/ref/datestr.html


dpb <none@non.net> wrote in message <k738kn$3mt$2@speranza.aioe.org>...
> On 11/3/2012 7:24 AM, Walter Scott wrote:
> > can we store time in format(HH:MM:SS) in MATLAB as time itself and not as a string?
>
> doc datenum % and friends...
>
> --

Subject: Time and Date Operations in Matlab

From: dpb

Date: 3 Nov, 2012 17:43:46

Message: 3 of 3

On 11/3/2012 10:04 AM, Ryan wrote:

...[top posting repaired]...

> dpb <none@non.net> wrote in message <k738kn$3mt$2@speranza.aioe.org>...
>> On 11/3/2012 7:24 AM, Walter Scott wrote:
>> > can we store time in format(HH:MM:SS) in MATLAB as time itself and
>> not as a string?
>>
>> doc datenum % and friends...
>>

 > This may help:
 > http://matlab.izmiran.ru/help/techdoc/ref/datestr.html

Well, it isn't clear precisely what OP means but that's very explicitly
a datestring...

If datenum() isn't it, OP will have to try to amplify what it is he's
trying to do. There's no numeric form that will hold the ascii
representation as written in the example...

--

Tags for this Thread

No tags are associated with this thread.

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.

Contact us