You can look through the File Exchange to see if you find anything there. You can look through other people's postings on the same topic to see if you find anything usable.
Other than that: NO, we are not going to provide code. You are working on an academic project. You are expected to do the work. If we did the work, would we get the university course credit or would you?
With regard to "dump the code in arduino processor":
There is an optional package, MATLAB Coder, which is not available to Student Version licenses or to Home license, but which is available to Academic licenses and to Professional / Commercial licenses (at over $US7000). That package can be used to convert some kinds of MATLAB code to C or C++ code, which you could then put together with other C or C++ code to create an Ardunio application. This is what you would have to use to program MATLAB code in the Arduino.
On the other hand, for a few years, Simulink has supported generating code for Arduino targets. Simulink is included in (most) Student Version licenses. The difference is that this would be controlled by Simulink, not by MATLAB. It is possible to use Simulink "MATLAB Function Block" to invoke (a subset of) MATLAB code that has been rephrased from how it would normally be written.
Best Answer