Index exceeds number of array elements (1)

I keep getting this error at line 44: plot(freq_range(1:max_index/2),v_mag_filtered(1:max_index/2));
I'm not sure what is wrong but it won't plot my graphs.

 Accepted Answer

You might find the explanation I gave in this post helpful.

More Answers (0)

Tags

Community Treasure Hunt

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

Start Hunting!