Effacer les filtres
Effacer les filtres

what does blue colour in frequency representation of audio signal indicates?

2 vues (au cours des 30 derniers jours)
pranjal
pranjal le 4 Juin 2015
i have audio signal which is baby's cry signal. it is plotted in frequency domain. signal is shown in green colour but some part in it is blue. what is that blue colour signal? below is image shown. pls help

Réponses (1)

Salaheddin Hosseinzadeh
Salaheddin Hosseinzadeh le 4 Juin 2015
Modifié(e) : Salaheddin Hosseinzadeh le 4 Juin 2015
You are plotting a stereo signal with 2 channels.
One channel is in green and one is in blue.
Plot them in separate figures
probably your data has the dimension of Nx2
figure
plot(data(:,1));
figure
plot(data(:,2));
  2 commentaires
pranjal
pranjal le 4 Juin 2015
thank you sir. but my .wav file is Nx1.
Salaheddin Hosseinzadeh
Salaheddin Hosseinzadeh le 4 Juin 2015
MATLAB plot does not discriminate the graph automatically, unless you pass it a matrix. The colors will be different for every column!
You data may have 1 column, but I guess what ever you do to it, you are turning it into a matrix before the plot, or you are passing two set of variables to the plot command
plot(x,y,z,t)

Connectez-vous pour commenter.

Community Treasure Hunt

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

Start Hunting!

Translated by