Adding data
显示 更早的评论
Hello,
I have data in the following format:
00 08 255 267 298 300 - time[s]
5 4 3 4 3 2 - values
Time is given in seconds. The values in between stay the same, by this I mean that from 0s to 08s the value is 5 and then it changes to 4. I'd like to create a table (time vs. values) where each second has assigned a value. Something like this:
00 01 02 03 04 05 06 07 08 09 .....
5 5 5 5 5 5 5 5 4 4 .....
Any help is appreciated.
Thanks in advance
采纳的回答
更多回答(0 个)
类别
在 帮助中心 和 File Exchange 中查找有关 Tables 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!