Read specific data value

3 Ansichten (letzte 30 Tage)
joo tan
joo tan am 13 Sep. 2012
Dear all
i have a file with has 3 column. I have problem to read second column.The example of second is like below;
2006-03-08T12:00
I just need value 12 (five and six last digit)..How i can solve it?
  2 Kommentare
Azzi Abdelmalek
Azzi Abdelmalek am 13 Sep. 2012
five and six last digit? can you explain?
joo tan
joo tan am 13 Sep. 2012
i meant, if we see 4 last digit is 12:00..i just need to number 12..

Melden Sie sich an, um zu kommentieren.

Antworten (1)

Walter Roberson
Walter Roberson am 13 Sep. 2012
YourString(end-4:end-3)

Kategorien

Mehr zu Workspace Variables and MAT-Files finden Sie in Help Center und File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by