Index exceeds number of array elements (1)

2 views (last 30 days)
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

Cris LaPierre
Cris LaPierre on 15 Jan 2021
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!