how to design a code for arduino board?

1 view (last 30 days)
I have written matlab code for filter.w1=[.0013 .1333];[b a]=butter(3,w1,'bandpass'); I need to integrate it to arduino board. How to achieve it?

Answers (1)

Jan
Jan on 7 Feb 2013
What do you want to integrate in an Arduino board? The butter() command or filter()? The first is not trivial and I'd suggest to copy the created parameters. For teh 2nd you find M-code for FILTER in the forum and in this thread there is a link to a C-code implementation also.
Please ask more specific such that we do not waste your and our time with guessing, what you want.

Categories

Find more on MATLAB Support Package for Arduino Hardware in Help Center and File Exchange

Tags

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!