Discover MakerZone

MATLAB and Simulink resources for Arduino, LEGO, and Raspberry Pi

Learn more

Discover what MATLAB® can do for your career.

Opportunities for recent engineering grads.

Apply Today

To resolve issues starting MATLAB on Mac OS X 10.10 (Yosemite) visit: http://www.mathworks.com/matlabcentral/answers/159016

how to design a code for arduino board?

Asked by Sivakumaran Chandrasekaran on 7 Feb 2013

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?

0 Comments

Sivakumaran Chandrasekaran

Tags

1 Answer

Answer by Jan Simon 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.

0 Comments

Jan Simon

Contact us