Hello, could you assist me in creating this figure in MATLAB?

댓글 수: 5

Dyuman Joshi
Dyuman Joshi 2024년 2월 21일
What have you tried yet?
What are the inputs?
DGM
DGM 2024년 2월 21일
Are you actually trying to generate a 2D spectrogram image?
Or are you trying to create the 1D signal that the image represents?
rosee
rosee 2024년 2월 21일
I want to create a one-dimensional signal.
Well it's been over a decade since I touched signals calc, but it's obviously a cosine sweep. Your spectrogram looks like
w = 3; % just a guess
t = linspace(0,w,1000);
f = linspace(0,w,1000).';
s = cos(2*pi*f.*t);
pcolor(t,f,s)
shading flat
So maybe you could start with that and work back to time domain.
rosee
rosee 2024년 2월 21일
Thank you, I think this is the real part of DFT Matrix.

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

답변 (0개)

카테고리

도움말 센터File Exchange에서 MATLAB Coder에 대해 자세히 알아보기

질문:

2024년 2월 21일

댓글:

2024년 2월 21일

Community Treasure Hunt

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

Start Hunting!

Translated by