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

📄 program2_5.asv

📁 This file contain the programs of cap 2 of the book digital signal processing , writing by mitra 3rd
💻 ASV
字号:
%Program 2_5
%Illustration of convolution
%
clc;
close all;
clear all;
a=input('Type the first sequence: ');% a fun玢o input aceita qualquer valor na entrada, seja ele de qualquer tipo.
b=input('Type the second sequence: ');% a fun玢o input aceita qualquer valor na entrada, seja ele de qualquer tipo.
c=conv(a,b)%faz a convolu玢o entre os dois polin鬽ios
M=length(c)-1;%retorna o comprimento do vetor ou dimens鉶 m醲ima da matriz.
n=0:1:M;
disp('output sequence=');%mostra um texto de sa韉a ou um array
disp(c);
stem(n,c);
R=50;
d=rand (R,1)-0.5;%cria uma matriz de n鷐eros pseudo aleat髍ios entre 0 e 1
%Generate the uncorrupted signal
m=0:1:R-1;%m varia de valor de 0 at

⌨️ 快捷键说明

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