Is there a way I can combine multiple spectrogram subplots (or multiple channel spectrograms) into just one spectrogram?

17 views (last 30 days)
I have multiple chirp signals each with different frequencies e.g. the first chirp goes from 0 to 100 Hz, second from 50 to 200 Hz and the third goes from 25 - 350 Hz. All of these use the same sampling rate and last the same amount of time.
Both MATLAB's spectrogram function and Simulink's Spectrum Analyzer allow you to have multiple channels and signal inputs but it allows you to view one channel at a time.
Is there any way of combining these spectrograms so that I have different frequency and magnitude levels in the same time duration? I read about vector averaging but I feel like I'll be back in the same place in that the new spectrogram will have different frequency values but I'll still end up with a spectrogram that is max magnitude where the frequency occurs and minimum everywhere else like this one:
  1 Comment
Mathieu NOE
Mathieu NOE on 10 May 2021
hello
why not making subplots with each spectrogram ?
otherwise you could make one spectrogram of the sum of all time signals but you may not be able anymore to recognize who's who

Sign in to comment.

Answers (0)

Categories

Find more on Time-Frequency Analysis in Help Center and File Exchange

Products


Release

R2021a

Community Treasure Hunt

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

Start Hunting!