I performed dilation on signal but the peak values of signal are not increasing.
3 views (last 30 days)
Show older comments
I performed dilation (mathematical morphology operation) on signal. But the peak values of signal is not increasing. Kindly give any suggestion in my code to perform proper dilation. The voltage and time values are imported from excel file.
%Selecting structuring element
sel=strel('square',11)
%voltage values of signal
signal1 = voltage
%Dilation on voltage signal
results1=imdilate(signal1,sel);
%Time values of signal
signal2 = time
%dilation on time siganl
results2=imdilate(signal2,sel);
plot(signal2,signal1,results2,results1)
xlabel('Time (seconds)')
ylabel('Voltage')
legend('orignalsignal','dilated')
0 Comments
Answers (0)
See Also
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!