From file - Not defined time steps in .mat file (with examples)
1 view (last 30 days)
Show older comments
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 Comments
Answers (1)
Image Analyst
on 23 Feb 2014
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.
See Also
Categories
Find more on Standard File Formats in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!