create a time vector

10 ビュー (過去 30 日間)
fernando alveri
fernando alveri 2016 年 3 月 9 日
コメント済み: Star Strider 2016 年 3 月 9 日
hello,i have an example which is in following file,i need to answer of this question to the improve my homework,i will be happy if someone help me,thank you

回答 (1 件)

Star Strider
Star Strider 2016 年 3 月 9 日
A 10 kHz sampling frequency has a sampling interval of:
Fs = 1E4; % Sampling Frequency (Hz)
Ts = 1/Fs; % Sampling Interval (sec)
With that hint, I leave the rest to you.
  2 件のコメント
fernando alveri
fernando alveri 2016 年 3 月 9 日
編集済み: fernando alveri 2016 年 3 月 9 日
thank u sir for answer,i'm dealing on my question and i think,a and b are done but i havent any idea about c and d t=(0:0.01:2); x=2*sin(2*pi*100*t)+cos(2*pi*500*t); randn('state',0); y=x+0.4*randn(size(t)); plot(t(1:100),y(1:100)) plot(t(1:500),y(1:500)) can you check it for me pls?
Star Strider
Star Strider 2016 年 3 月 9 日
Look up the definition of the Dirac delta function to do those. Remember, it has an area of 1, so I would define it as having a duration of one time step (since you are dealing in a discrete — not continuous — system), and then figure out from that what the amplitude should be.
Note that ‘c’ and ‘d’ differ only in where the delta function is plotted. Everything else stays the same.

サインインしてコメントする。

カテゴリ

Help Center および File ExchangeDescriptive Statistics についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by