File Exchange

image thumbnail

navigate your data

version 1.0.0.0 (1.31 KB) by arun singh
With this function, we can see our data with increment...like navigating your data

1 Download

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 (2021). navigate your data (https://www.mathworks.com/matlabcentral/fileexchange/32337-navigate-your-data), MATLAB Central File Exchange. Retrieved .

Comments and Ratings (0)

MATLAB Release Compatibility
Created with R2008b
Compatible with any release
Platform Compatibility
Windows macOS Linux
Tags Add Tags

Community Treasure Hunt

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

Start Hunting!