How can I index a duration variable
古いコメントを表示
Hi, my problem is about indexing. I've got a variable of duration Time_AIS1(has all the times from messages from AIS1). Then I got Time_msg_match(it is a char that has all the line positions that I want from Time_AIS1).

As you can see each line gives a number from where I have to get the number in Time_AIS1. How can I use Time_msg_match to index andd get the information from Time_AIS1.
I've used str2double but I get all the values NaN and I know why I saw it in a post but how could I do it because if I want to use it as an index is has to be in numeric type
採用された回答
その他の回答 (0 件)
カテゴリ
ヘルプ センター および File Exchange で Data Type Conversion についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!