⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 program2_6.asv

📁 This file contain the programs of cap 2 of the book digital signal processing , writing by mitra 3rd
💻 ASV
字号:
%Program 2_6
%Illustration of Impulse Response Computation
%
N=input('Number of input samples: ');% a fun玢o input aceita qualquer valor na entrada, seja ele de qualquer tipo.
p=input('Type in the vector p=');% a fun玢o input aceita qualquer valor na entrada, seja ele de qualquer tipo.
d=input('Type in the vector d=');% a fun玢o input aceita qualquer valor na entrada, seja ele de qualquer tipo.
f=input ('Type the response: 0- impulse response, 1-step response: ');
while f~=0 |f~=1 f=input ('Type the response: 0- impulse response, 1-step response: ')
end;
    
if f==0 x=[ 1 zeros(1,N-1)]; %este comando cria uma matriz de zeros de 1 at

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -