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

조회 수: 7 (최근 30일)
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

답변 (1개)

Salaheddin Hosseinzadeh
Salaheddin Hosseinzadeh 2015년 6월 4일
편집: Salaheddin Hosseinzadeh 2015년 6월 4일
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
pranjal
pranjal 2015년 6월 4일
thank you sir. but my .wav file is Nx1.
Salaheddin Hosseinzadeh
Salaheddin Hosseinzadeh 2015년 6월 4일
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)

댓글을 달려면 로그인하십시오.

Community Treasure Hunt

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

Start Hunting!

Translated by