How can I plot multiple Matlab files onto one boxplot?
Show older comments
Hi guys, I am currently doing an assignment where I have been tasked to filter frequency data for 4 different frequencies and compute FFT’s on them. I have filtered them and computed the FFTs but now I need to create a boxplot with the ffts of all 4 frequencies on one plot to compare. The FFT results are saved as Matlab files. The variable name for the first FFT results Matlab file is fft_results, the second is fft_results2 then fft_results3 and finally fft_results4. The FFT Matlab files are saved as fft_7_results, fft_8_results, fft_9_results and fft_10_results. Any help would be appreciated.
7 Comments
Voss
on 9 Apr 2024
Are you running into difficulty loading the MATLAB files (by which I assume you mean .mat files) or creating the boxplots?
Aman Kumar
on 9 Apr 2024
Voss
on 9 Apr 2024
Please share the code and files. You can upload files using the paperclip button.
Aman Kumar
on 9 Apr 2024
Aman Kumar
on 9 Apr 2024
Voss
on 9 Apr 2024
A box plot of the amplitudes and locations of the peaks of each FFT result? I'm not sure what that would look like. Do you have an example? Either a sketch or a link to an image?
Aman Kumar
on 9 Apr 2024
Accepted Answer
More Answers (0)
Categories
Find more on Signal Generation, Analysis, and Preprocessing in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!




