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

📄 señalesmuestreadas.m

📁 Muestreo de se帽ales en matlab
💻 M
字号:
clc

clear all;


T=.5;

t=[-4:T:4];

x=sin(t);

y=round(x);


T1=.5;

t1=[-4:T1:4];

x1=2*sin(t1-1);

y1=round(x1);



subplot(221)

plot(t,x,'b'); grid on;

xlabel('Time')

ylabel('Amplitude')

title('Gr醘ica de Se馻l Continua')

subplot(222)

stem(t,y,'b'); grid on; 

xlabel('Time')

ylabel('Amplitude')

title('Gr醘ica Se馻l Muestreado de Datos')

subplot(223)

plot(t1,x1,'r'); grid on;

xlabel('Time')

ylabel('Amplitude')

title('Gr醘ica de Se馻l Continua')

subplot(224)

stem(t1,y1,'r'); grid on; 

xlabel('Time')

ylabel('Amplitude')

title('Gr醘ica Se馻l Muestreado de Datos')


%SUMA

s1=y

s2=y1

s=s1+s2


%MULTIPLICACION

m=3*s1

m2=5*s2


%PRODUCTO

p=(y).*(y1)


%CORRIMIENTO

c=s1-1

c2=s2+1


%INVERTIDO

i=-s1

i2=-s2

⌨️ 快捷键说明

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