navigate your data
function plotinc = increment(data,inc,fs)
% With this function, we can see our data with increment...like navigating your data
% To see the data, we need to click with mouse.
% data = your data
% inc = length of the data (i.e.data points) which we want to see with increasing order with time
% fs = sampling frequency
% author: Arun Singh, LMU, Germany
figure
an=1;
en=an+inc-1;
t=(1:length(data))/fs;
while en <= length(data)
plot(t(an:en),data(an:en))
xlabel('time [s]'); ylabel('amp')
an=en+1;
en=an+inc-1;
if en > length(data) && an < length(data),
en=length(data);
end
[ind1,ind2]=ginput(1);
end
end
Cite As
arun singh (2024). navigate your data (https://www.mathworks.com/matlabcentral/fileexchange/32337-navigate-your-data), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Platform Compatibility
Windows macOS LinuxCategories
Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
Version | Published | Release Notes | |
---|---|---|---|
1.0.0.0 |