View Single Post
  #3   Report Post  
Old May 7th 04, 08:10 AM
Brian Howie
 
Posts: n/a
Default

In message , Arun S V
writes
Hello all the FDTD experts over there ,

I am starting out on my class project which requires me to write
a 2D FDTD code.I am thinking of doing it in Matlab or C.Matlab would offer
good user friendliness but I have heard that Matlab being an interpreted
language is quite slow when it comes to loops.My requirement is about 4000
cells utmost ( 200 x 200 ) and time step of the order of 1 Pico second.Will
Matlab be very slow that I should consider coding in C or will Matlab do
okay with respect to the execution time.


You can compile Matlab code as one of the options at least in Version 6
That speeds it up considerably. You can handle matrix maths without
element by element addressing - I don't think C does that.
I'd use FORTRAN myself


Brian GM4DIJ
--
Brian Howie