how to subtract two discrete unit impulses

5 ビュー (過去 30 日間)
irtaza anwar
irtaza anwar 2015 年 4 月 12 日
回答済み: irtaza anwar 2015 年 4 月 12 日
how to plot the following h[n] = &[n]- &[n - 2].

回答 (1 件)

irtaza anwar
irtaza anwar 2015 年 4 月 12 日
close all clear all n=-2:2 x(n~=0)=0 x(n==0)=1 subplot(3,1,1) stem(n,x) w(n~=2)=0 w(n==2)=1 subplot(3,1,2) stem(n,w) y=x-n subplot(3,1,3) stem(n,y)
</matlabcentral/answers/uploaded_files/28940/question.png> it is not giving me the write answer

カテゴリ

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

Community Treasure Hunt

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

Start Hunting!

Translated by