MATLAB: I have an ecg signal of length 304 ,but while plotting i only want to plot the signal till 300..can anybody help me about how to do it

signal processingwave analysis

Actually i am getting unexpected result at the end of the sample so that is why i wantto decrese the length

Best Answer

ecg = rand(1, 304);
plot(ecg(1:300));
Related Question