From file - Not defined time steps in .mat file (with examples)
6 ビュー (過去 30 日間)
古いコメントを表示
For example, I have a .mat file with these data

but I have another file with more data and for simplify, from this file I have droped the identical values for example
time: 1 2 3 4 5 6 7 8 9 10
data: 1 0 1 1 1 1 1 0 1 0
my droped data-->
time: 1 2 3 8 9 10
data: 1 0 1 0 1 0
So my question is, how can I achieve the same data in skiped times like in before second. If I just skip them and run, the rusult is like this:

I would like to achieve something like shown with red arrows. Thank you.
0 件のコメント
回答 (1 件)
Image Analyst
2014 年 2 月 23 日
I don't know what this means: "achieve the same data in skiped times like in before second". Please clarify. Show your original data, your "dropped data", and what data you'd like to plot - all in arrays. Because to me it seems to say you dropped data (like in yellow) but you want to have it plot like your original data (in red), which is confusing me.
参考
カテゴリ
Help Center および File Exchange で View and Analyze Simulation Results についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!