How to generate Bessel Gauss signal in optisytem using Matlab?

8 visualizaciones (últimos 30 días)
Athira T Das
Athira T Das el 11 de En. de 2023
Respondida: Rijuta el 22 de Feb. de 2023
I need to generate input signal of Bessel beam to an electronic circuit designed in Optisytem software by including a Matlab component.
So I am confused about how to input this equation as signal to the electronic circuit.
A=1;
kz=1;
kr=1;
z=0;
r=linspace(1,100);
l=5;
phi=linspace(0,2*pi);
E=A*exp(1i.*kz.*z).*besselj(l,kr.*r).*exp(1i.*l.*phi)
E =
0.0002 + 0.0000i 0.0067 + 0.0022i 0.0346 + 0.0255i 0.0766 + 0.1076i 0.0775 + 0.2494i -0.0057 + 0.3620i -0.1138 + 0.3288i -0.1125 + 0.1478i 0.0453 - 0.0312i 0.2246 - 0.0659i 0.2382 + 0.0076i 0.0690 + 0.0251i -0.1035 - 0.0814i -0.1221 - 0.1835i -0.0348 - 0.1257i -0.0027 + 0.0574i -0.0668 + 0.1747i -0.0980 + 0.1206i 0.0030 - 0.0019i 0.1463 - 0.0380i 0.1633 + 0.0104i 0.0337 + 0.0135i -0.0891 - 0.0748i -0.0856 - 0.1379i -0.0156 - 0.0641i -0.0066 + 0.0835i -0.0598 + 0.1428i -0.0576 + 0.0665i 0.0460 - 0.0276i 0.1397 - 0.0316i 0.1032 + 0.0098i -0.0240 - 0.0105i -0.0960 - 0.0859i -0.0571 - 0.0988i 0.0003 + 0.0015i -0.0125 + 0.1118i -0.0500 + 0.1094i -0.0139 + 0.0151i 0.0830 - 0.0462i 0.1204 - 0.0232i 0.0395 + 0.0050i -0.0692 - 0.0329i -0.0880 - 0.0839i -0.0266 - 0.0497i 0.0101 + 0.0571i -0.0168 + 0.1165i -0.0312 + 0.0629i 0.0277 - 0.0281i 0.0990 - 0.0510i 0.0804 - 0.0129i -0.0211 - 0.0034i -0.0914 - 0.0471i -0.0631 - 0.0641i 0.0018 + 0.0036i 0.0132 + 0.0916i -0.0166 + 0.0944i -0.0058 + 0.0109i 0.0585 - 0.0558i 0.0896 - 0.0427i 0.0272 - 0.0035i -0.0668 - 0.0129i -0.0877 - 0.0488i -0.0279 - 0.0302i 0.0226 + 0.0495i 0.0110 + 0.0985i -0.0109 + 0.0521i 0.0202 - 0.0349i 0.0714 - 0.0639i 0.0582 - 0.0255i -0.0259 + 0.0025i -0.0884 - 0.0200i -0.0617 - 0.0370i 0.0078 + 0.0090i 0.0324 + 0.0773i 0.0062 + 0.0783i -0.0004 + 0.0018i 0.0398 - 0.0641i 0.0637 - 0.0534i 0.0140 - 0.0056i -0.0657 + 0.0042i -0.0831 - 0.0216i -0.0230 - 0.0148i 0.0349 + 0.0429i 0.0309 + 0.0809i 0.0018 + 0.0386i 0.0117 - 0.0424i 0.0474 - 0.0712i 0.0383 - 0.0301i -0.0302 + 0.0110i -0.0827 + 0.0026i -0.0551 - 0.0162i 0.0165 + 0.0114i 0.0474 + 0.0623i 0.0211 + 0.0610i -0.0001 - 0.0079i 0.0215 - 0.0692i 0.0407 - 0.0572i 0.0031 - 0.0023i -0.0620 + 0.0204i -0.0742 + 0.0000i

Respuestas (1)

Rijuta
Rijuta el 22 de Feb. de 2023
Hi Athira,
To input an equation as a signal to an electronic circuit in OptiSystem software using a MATLAB component, you can follow these steps:
  • Open OptiSystem software and create a new project.
  • Add the electronic circuit you want to simulate to the project.
  • Add a MATLAB component to the project by clicking on "Add Component" and selecting "MATLAB Component."
  • Double-click on the MATLAB component to open the "MATLAB Component Properties" dialog box.
  • In the "MATLAB Component Properties" dialog box, click on the "Script" tab and enter your MATLAB code to generate the Bessel beam signal.
  • Click on the "Save" button to save the MATLAB component properties.
  • Connect the output of the MATLAB component to the input of the electronic circuit.
  • Run the simulation and observe the behaviour of the electronic circuit with the Bessel beam input signal.
For more information, refer to the following documentation.

Categorías

Más información sobre Bessel functions en Help Center y File Exchange.

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by