Home › Forums › SYSTEM › Matlab Co-Simulation › Reply To: Matlab Co-Simulation
November 12, 2014 at 10:55 am
#15268
Hi Abdallah,
To save memory only the number of x and y points are saved (size of field array) and the delta x and delta y are saved. From these values you can calculate the vectors x and y.
In the attached Matlab code I perform this operation and below is an excerpt of how you could program it.
xvector = linspace(-dx*0.5*size(Ef,2),dx*0.5*size(Ef,2), size(Ef,2));
yvector = linspace(-dy*0.5*size(Ef,1),dy*0.5*size(Ef,1), size(Ef,1));
Categories
- All
-
Knowledge
Contains a detailed Q&A knowledge base. -
General
All non-technical questions. -
System
Optical system design and analysis. -
Instrument
Communicate and control different kinds of instruments. -
SPICE
Opto-electronic circuit design. -
FDTD
Finite-Difference Time-Domain simulation. -
BPM
Beam Propagation Method analysis and design. -
Grating
Fiber optic grating simulation. -
Fiber
Optical fiber design and characterization. -
Exchange
Users can exchange design files.
(Matlab, C++, etc.)