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: Matlab matrix
Replies: 2   Last Post: Feb 1, 2013 5:53 PM

Advanced Search

Back to Topic List Back to Topic List Jump to Tree View Jump to Tree View   Messages: [ Previous | Next ]
James Tursa

Posts: 2,326
Registered: 8/5/09
Re: Matlab matrix
Posted: Feb 1, 2013 4:46 PM
  Click to see the message monospaced in plain text Plain Text   Click to reply to this topic Reply

"M" wrote in message <kehbrk$3pp$>...
> How I can put time value like 10:23:34 in a matrix cell. Like below:
> a(1,2)= 10:23:34

One approach is to use a cell array and have the entry be a string. E.g.,

a = cell(1,2);
a{1,2} = '10:23:34';

James Tursa

Date Subject Author
Read Re: Matlab matrix
James Tursa
Read Re: Matlab matrix

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.