convolution of a signal with itself
19 views (last 30 days)
Show older comments
I need help to make the convolution of a signal with itself. the signal looks like : x(t)=u(t+0.5)-u(t-0.5)
0 Comments
Answers (2)
Guillaume
on 3 Dec 2015
t = linspace(0, 2*pi, 1000); %for example
u = @sin; %for example
x = u(t+0.5) - u(t-0.5);
selfconv = conv(x, x, 'same');
plotyy(t, x, t, selfconv);
0 Comments
Amna
on 5 Apr 2023
t = linspace(0, 2*pi, 1000); %for example
u = @sin; %for example
x = u(t+0.5) - u(t-0.5);
selfconv = conv(x, x, 'same');
plotyy(t, x, t, selfconv);
0 Comments
See Also
Categories
Find more on Digital Filtering in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!