I've been trying to solve the question but am not getting the desired answer.
I tried separating the components and solving but still no luck. Plese help.
I've been trying to solve the question but am not getting the desired answer.
I tried separating the components and solving but still no luck. Plese help.
the original picture has a file size of 5MBytes.
This picture has a filesize of 0.034MBytes
Mind that edaboard is an international forum and there are regions with low internet bandwidth
Generally it´s no good idea to take a high resolution photo from a computer monitor. It just gives huge file size with low quality. Better use the screenshot buttons of your keyboard (or other OS screenshot functions) and use .PNG file format.
clc;clear;
for n = 0:12
sum = 0;
for k = -6:5
if n < 3*k
u1 = 0;
else
u1 = 1;
end
if n < 4+3*k
u2 = 0;
else
u2 = 1;
end
sum = sum + (u1 - u2);
end
y(n+1) = 2*sum;
end
x = -6:6;
stem(x,y)