how i can solve it ??
Info
This question is closed. Reopen it to edit or answer.
Show older comments
Hello; I have this code :
Heart_pulse_avg =zeros(1,Lp_mean);
for m=1:L-2
Heart_pulse_arrays{m} = imresize(Heart_pulse_arrays{m}, [1 Lp_mean], 'bicubic');
Heart_pulse_arrays_values= Heart_pulse_arrays{m};
for n=1:length(Heart_pulse_arrays)-9
Heart_pulse_avg=mean(Heart_pulse_arrays_values(n:n+9));
end
Heart_pulse_avg_final=Heart_pulse_avg_values;
end
and this error : ??? Index exceeds matrix dimensions.
how i can solve it ?
3 Comments
KSSV
on 22 Aug 2016
Much of the information is not given how you expect to sort the error? What is Lp_mean, L, Heart_pulse_arrays?
per isakson
on 22 Aug 2016
yasmeen hadadd
on 22 Aug 2016
Edited: per isakson
on 22 Aug 2016
Answers (0)
This question is closed.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!