Hi
I kind of new here & this is my first post so please don't let me down
I am working on my graduation project & i was tasked to convert a matlab code to C code to be used with PIC 18 Microcontroller later
I started my work on Microsoft Visual Studio 2008 & i was stuck at a point that i needed seriously to use complex numbers (complex.h) then a friend of mine recommended to me Pelles C....I have to say really great IDE that made my life away easier
Work continued till it is now finished and now i have to port it to the microcontroller
I am using MikroC to compile hex file
I tried to include the header files i used in Pelles C to make MikroC understand what my code mean with no use
Now I have no idea what to do
The code should be portable to compile on any compiler & i don't know how to do this
My code is attached to the post....careful because it contain alot of mathmatics
Can you guys please help me ?
Thanks in Advance
Best Regards