Académique Documents
Professionnel Documents
Culture Documents
Grafica:
Código en MatLab:
clear all
x1=(5*sin(2*pi*8*t)); % Señal x1
x2=(2*cos(2*pi*15*t)); % Señal x2
% Gráficos
figure(1)
subplot(3,1,1) % Señal x1
plot(x1)
subplot(3,1,2) % Señal x2
plot(x2)
subplot(3,1,3) % Señal x1 + x2
plot(x1+x2)
EJERCICIO 2:
Código en Matlab
clc;
%Graficando tono
div=(1:100);
div_mostrar=mostrar(1:100);
figure(1)
Código en Matlab
clc;
t=(0:1/44100:tiempo);
%Graficando tono
div=(1:100);
div_mostrar=mostrar(1:100);
figure(1)
clc;
t=(0:1/44100:tiempo);
%Graficando tono
div=(1:100);
div_mostrar=mostrar(1:100);
figure(1)
Código en Matlab
clc;
t=(0:1/44100:tiempo);
%Graficando tono
div=(1:100);
div_mostrar=mostrar(1:100);
figure(1)
Código en Matlab
clc;
t=(0:1/44100:tiempo);
Código en Matlab
clc;
t=(0:1/44100:tiempo);
Código en Matlab
clc;
t=(0:1/44100:tiempo);
Código en Matlab
clc;
t=(0:1/44100:tiempo);
Código en Matlab
clc;
t=(0:1/44100:tiempo);
div=(1:100);
div_mostrar=mostrar(1:100);
subplot(1,2,1) %Gráfico en posición 1
stem(div,div_mostrar);