how to let pic communicate with matlab
My project uses MATLAB to develop a Band-stop filter, type Butterworth to be spesific for vibration control of a flexible manipulator. My other two friends have also developed an equation for input shaping technique to control the vibration of the flexible manipulator.
I'd like to ask whether there are any previous projects or any examples of programs that convert the Band-stop filter equations or input shaping technique's equations that are gained from MATLAB into PIC programming codes.
In other words, the band-stop filter equation (Laplace transform equations) from MATLAB has to be embedded into the PIC.
In another project(my friends' project), the input shaping technique equations have to be embedded into the PIC too.
the problem is
1. what is the code for send algorithm from PIC to my PC , and receive the data in Matlab ?
2. how to change two impulse sequence equation into source code understand by PIC ?
thank you for help
![[โIMG]](proxy.php?image=http%3A%2F%2Fimg1.5d6d.net%2F200908%2Fe6%2F11%2F8454968_1251021982uh8x.jpg&hash=ae2118c6662b16dac7e36dabdc26a30a)
![[โIMG]](proxy.php?image=http%3A%2F%2Fi572.photobucket.com%2Falbums%2Fss163%2Fsamyhs%2F123.jpg&hash=70993162369a6c45b07d671d4840b139)