Fourier series and transform of Sinc Function
47 ビュー (過去 30 日間)
表示 古いコメント
Does the line spectrum acquired in 2nd have a sinc envelope like the one obtained in 3rd?
Here is my code below:
x = [-5:0.001:5];
y = sinc(x);
plot(x,y);
% 2nd sinc graph:
duty = 0.2;
n = [0:1:15];
cn = 5 * duty * abs(sinc(n*duty));
bar(n*duty,cn);
hold on
% 3rd sinc graph:
n = [0:0.001:3];
plot(x,abs(sinc(x)));
0 件のコメント
採用された回答
その他の回答 (1 件)
Kshitij Chhabra
2021 年 12 月 31 日
Hi,
You can try leveraging the Curve Fitting Toolbox offering from MATLAB to get insights on how to plot a curve over the bar chart.
You can check the various examples to get a clearer insight. Once the curve is optained, you can compare the values between the two plots.
Hope it helps!
2 件のコメント
参考
カテゴリ
Find more on Spectral Measurements in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!