Using find function in Matlab to find data at specific time
Show older comments
How can I use the find function in MATLAB in order to create a variable that includes data starting at time, t=0?
I have tried this:
N = find(Data(:)==0);
but I just get N equal to the number of data that are at t=0, not the actual data themselves.
1 Comment
dpb
on 27 Mar 2021
Don't need find at all here...
zData=Data(Data==0);
"Logical Addressing"
Answers (1)
Categories
Find more on MATLAB 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!