Frequency time graph.

版本 1.0.0.0 (2.1 KB) 作者: Youssef Khmou
Three dimensional graph to represent one dimensional sine waves
341.0 次下载
更新时间 2014/9/23

查看许可证

The function ftrep generates a three dimensional graph of one dimensional signals where the x axis represents the frequency of each signal, the y axis represents the duration of the signals and the z axis measures theirs magnitudes, the graph illustrate the concept of two independent variables (f,t) and explains the results we get when we calculate the Discrete Fourier transform of signals. However from theoretical view point, the time frequency uncertainty principle is not respected because the number of measurement is set to N=200 points and when we project on x axis we see pure discrete spectra which corresponds to infinite number of observations.

1. Projecting on y axis, we visualize a signal which is a superposition of K=length(f) sine waves.

2. Projecting on the (y,x) plane, we get the spectrogram, which obviously must consist of simple lines, in other words, no frequency change over time.

Demo: y=ftrep([10 15 33]);

引用格式

Youssef Khmou (2024). Frequency time graph. (https://www.mathworks.com/matlabcentral/fileexchange/47908-frequency-time-graph), MATLAB Central File Exchange. 检索来源 .

MATLAB 版本兼容性
创建方式 R2007a
兼容任何版本
平台兼容性
Windows macOS Linux
类别
Help CenterMATLAB Answers 中查找有关 Subspace Methods 的更多信息

Community Treasure Hunt

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

Start Hunting!
版本 已发布 发行说明
1.0.0.0