- This topic has 3 replies, 2 voices, and was last updated 10 years, 6 months ago by .
Viewing 2 reply threads
Viewing 2 reply threads
- You must be logged in to reply to this topic.
Optiwave software can be used in different industries and applications, including Fiber Optic Communication, Sensing, Pharma/Bio, Military & Satcom, Test & Measurement, Fundamental Research, Solar Panels, Components / Devices, etc..
Download our 30-day Free Evaluations, lab assignments, and other freeware here.
Optiwave software can be used in different industries and applications, including Fiber Optic Communication, Sensing, Pharma/Bio, Military & Satcom, Test & Measurement, Fundamental Research, Solar Panels, Components / Devices, etc..
Download our 30-day Free Evaluations, lab assignments, and other freeware here.
When I used Matlab Component to get spatial mode to matlab workspace.
I found in “Inputport1.Sampled(1,1).Spatial.ModeX.Amplitude” a matrix 100X100 that represent the mode profile function.
I plotted this matrix in Matlab and found it meets the designated mode.
I need to Know how this matrix constructed? i.e F(x,y) is the matrix values ,what is the value of x and y for each element in the matrix.
Regards,
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));
Thanks Damian,
I get it but i think your method to calculate Aeff for the fundamental mode will not work for the other modes because they are complex number values.I’ll need to take the absolute of the mode profile matrix.
Regards,
Abdallah
You are absolutely correct! You will need to include a conjugate term in the integrals for a complex field.
Notifications