Home › Forums › SYSTEM › matlab co simulation › Reply To: matlab co simulation
March 17, 2016 at 4:27 pm
#33051
hi all… thanks for your suggestions.. what i have analysis the problem i mention was in code .. i resolved that problem .. but to interfece that code with matlab component i have to define phase of sine genrator in radian… is there any option .. the change is n=code is explaed with a example
matlab we take as
a= rand(1,1000);
x= -pi:0.01:pi;
sin(x)*a
getting error with this code
but
we have to take it as
a= rand(1,1000);
x= -0.0034:0.01:0.0034;
sin(x)*a
we have to set vale of x in sine generator… how cud we do it
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.)