微波EDA网,见证研发工程师的成长!
首页 > 研发问答 > 微波和射频技术 > 电磁仿真讨论 > Question ABout FDTD Tools

Question ABout FDTD Tools

时间:03-25 整理:3721RD 点击:
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

Hi,
I recommend you to use C instead of Matlab, because MAtlab is so slow.

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

Matlab is not slow! It must be programmed correctly.

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.

Fortran is very good!

Matlab is slow when "for", "while", "if" loops are used...these loops are never needed if one uses matrix manipulations and logical operators.

Copyright © 2017-2020 微波EDA网 版权所有

网站地图

Top