Matlab code of image
古いコメントを表示
Hello, could you assist me in creating this figure in MATLAB?

5 件のコメント
Dyuman Joshi
2024 年 2 月 21 日
What have you tried yet?
What are the inputs?
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
2024 年 2 月 21 日
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
2024 年 2 月 21 日
回答 (0 件)
カテゴリ
ヘルプ センター および File Exchange で Multirate Signal Processing についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
