How can i filter analog signal in Matlab Simulink that has a lot of noise ?By using sgolay.

3 views (last 30 days)
I am currently working with the current sensor with Arduino that has a lot of noise. I have tried to use some filters. I am not satisfied with the results. The sgolay gave me very good signal but unfortunately it can not be used for standalone execution. How can i implement sgolay in Simulink. Is that possible? if not, what Are there any other methods can be used ?

Answers (1)

Omanshu Thapliyal
Omanshu Thapliyal on 30 Mar 2017
You can have a MATLAB function block in Simulink that has the corresponding function calls to 'sgolay'. There are other ways to implement MATLAB functions in Simulink, such as s-Functions, system blocks, Fcn block, and Interpreted MATLAB Function block. You can find more information here to help you decide which method to use.

Categories

Find more on Signal Generation, Manipulation, and Analysis 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!