cleopatra
- 45
- 0
Homework Statement
plot this function:
cos(pi*n)*u(n)
The Attempt at a Solution
n=0:1:10;
y=(n>=0);
x(n) = cos(pi()*n)*y
figure(1)
plot(y)
cleopatra said:Homework Statement
plot this function:
cos(pi*n)*u(n)
The Attempt at a Solution
n=0:1:10;
y=(n>=0);
x(n) = cos(pi()*n)*y
figure(1)
plot(y)