当前位置:网站首页>[kinematics] simulation of orbital angular momentum based on MATLAB [including Matlab source code 1971]
[kinematics] simulation of orbital angular momentum based on MATLAB [including Matlab source code 1971]
2022-07-28 04:09:00 【Poseidon light】
One 、 How to get the code
How to get the code 1:
The complete code has been uploaded to my resources :【 kinematics 】 be based on matlab Simulation of orbital angular momentum 【 contain Matlab Source code 1971 period 】
How to get the code 2:
By subscribing to Ziji Shenguang blog Paid column , With proof of payment , Private Blogger , This code is available .
remarks :
Subscribe to Ziji Shenguang blog Paid column , Free access to 1 Copy code ( The period of validity From the Subscription Date , Valid for three days );
Two 、 Partial source code
clear;
%----------------constants-------------------
c=1;
%-------------things to change---------------
l_start=0; %start OAM
lam=1.5; %Wavelength
A=0.5; %Amplitude
N=100; %
t_stop=10; %Amount of timesteps
z_range=2*lam; %Length of z values
%--------------------------------------------
k=2*pi/lam;
w=k*c;
k_vector=[1 0 0]*k;
%---------vector x--------
z_value=linspace(0,z_range,N); %z on x-axis in plot
L_z=length(z_value);
r=A*ones(1,N);
%----- --------- -------
t_steg=lam/(2*2*pi*c); %Not to big timesteps
t_vector=0:t_steg:t_stop;
%------------------------
z_antal=z_range/lam;
steg=zeros(1,z_antal); %s? att den plana v?gen upprepas
%d? den passerar utanf?r bild.
t=1;
n=1;
l=l_start;
while t<=t_stop
while l<=l_start+3
if l==0 %Plane wave
clf;
subplot(2,2,n);
hold on;
axis([0 z_range -2 2 -2 2]);
view(51,30);
axis fill;
axis square;
grid on;
%light;
3、 ... and 、 Running results

Four 、matlab Edition and references
1 matlab edition
2014a
2 reference
[1] Menyun Pavilion .MATLAB Physical computing and visualization [M]. tsinghua university press ,2013.
3 remarks
This part of the introduction is taken from the Internet , For reference only , If infringement , Contact deletion
边栏推荐
- Skillfully use stack backtracking to help you quickly locate problems
- @Requiredargsconstructor annotation
- 月薪28K学员 自动化测试经验分享
- H265/hevc noun explanation -- CTU, CTB, Cu, CB, Tu, PU, TB, Pb, LCU, slice, tile, chroma, luma, I frame, B frame, P frame
- Domestic high hidden free agent crawler code
- Dynamic planning - 63. Different paths II
- Difference between on, where and having
- RT-Thread改变打印串口(在BSP的基础上添加其他功能)
- Embedded development: tips and techniques -- the best practice of defensive programming with C
- 《关于我写自定义cell这件事》
猜你喜欢

R notes mice

Selenium--WEB自动化测试工具

Do Netease and Baidu have their own tricks for seizing the beach AI learning machine?
![[untitled]](/img/c3/cf88f04d5aaba61d3a7464ff56ce15.png)
[untitled]

Notes on writing questions in sword finger offer

JDBC usage

RT thread changes the print serial port (add other functions on the basis of BSP)

Cookies and session

【无标题】

Construction and use of FTP server and NFS server
随机推荐
XML file usage and parsing
ServletContext、request、response
[reach out to Party welfare] the easiest way to scan the H5 page in wechat
【伸手党福利】微信中h5网页调起扫一扫最简单的方法
Istio's Traffic Management API
Cookies and session
Skillfully use stack backtracking to help you quickly locate problems
Detailed explanation of string + memory function (C language)
Fourier series
.net upload files through boundary
Un7.27: how to successfully build a ruoyi framework project in idea?
H265/HEVC名词解释-- CTU,CTB,CU,CB,TU,PU,TB,PB,LCU,Slice,Tile,Chroma,Luma,I帧,B帧,P帧
【无标题】
xml文件使用及解析
Adding DSP library to STM32F103 and its solution
Network visualization: features of convolution kernel and CNN visualization (through the attention part of gradient visualization network)
Machine learning 06: Decision Tree Learning
What is interface testing and its testing process
金仓数据库KingbaseES安全指南--6.1. 强身份验证简介
Appnium -- app automated test tool