My dear friend if you can help me I ahve a question in my mind, in coding of FDTD in the simulations is it better to use C programming language directly or matlab which one is better whta do you suggest please I expect to have you ideas bets regards
I use matlab in FDTD coding. You can plot the output directly and you can make fitting using matlab directly, Also You can see the propagation of the field through the waveguide.So i prefer using matlab than C and fortran programming
It is well known that Fortran and C will run a FDTD program faster tham matlab. In fact most scientific computing that requires a heavy amount of calculations are carreid out in fortran.
My advice is to get started with matlab because its easy to debug and plot your results.....but as you advance to more complicated simulations.....go to fortran or C
I would suggest using Fortran (for the calculations) and MatFor (for plotting the results in real time). I myself am using C++ and the trial version of Matfor. You may learn more information on Matfor from www.ancad.com. It is really a very advanced scientific plotting library for C++ and fortran.