How to smoothen the signal and make a good envelope
    1 view (last 30 days)
  
       Show older comments
    
I have a velocity and time data.I would like to smoothen the signal as the hilbert of the signal is very dense ? How to do it 
filenames= ["p1"];  % 0 degrees
  for k=1:numel(filenames)
   s(k)=load (filenames{k});
   signal(k,1:length(s(k).ans))=s(k).ans; 
 end
load('t.mat')
figure;
    plot(t,(signal(k,:)),t,envelope(signal(k,:)),time4(k),a6(k),'ro');
    hold on
    grid on;xlim([0 8E-4])
    ylim([-inf inf])
2 Comments
Accepted Answer
  Cris LaPierre
    
      
 on 15 Mar 2020
        You can try doing this interactievly using the new Smooth Data task. You can test out a variety of settings to see what works with your data. See here for more info.
0 Comments
More Answers (0)
See Also
Categories
				Find more on Multirate Signal Processing in Help Center and File Exchange
			
	Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!

