navigate your data

With this function, we can see our data with increment...like navigating your data
155 Downloads
Updated 26 Jul 2011

View License

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
Created with R2008b
Compatible with any release
Platform Compatibility
Windows macOS Linux
Categories
Find more on Visual Exploration in Help Center and MATLAB Answers
Tags Add Tags

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
Version Published Release Notes
1.0.0.0