not able to subtract two discrete signals
Mostrar comentarios más antiguos
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)
Respuesta aceptada
Más respuestas (0)
Categorías
Más información sobre Subplots en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!