《单模光纤的三维模场分布.pdf》由会员分享,可在线阅读,更多相关《单模光纤的三维模场分布.pdf(15页珍藏版)》请在taowenge.com淘文阁网|工程机械CAD图纸|机械工程制图|CAD装配图下载|SolidWorks_CaTia_CAD_UG_PROE_设计图分享下载上搜索。
1、单模光纤的三维模场分布目录1 单模光纤.12 单模光纤模场分布近似.13 MATLAB 语言.63、1 主程序.63、2 调用函数.9 3、3 程序运行说明.114 总结.16单模光纤的三维模场分布1单模光纤在工作波长中,只能传输一个传播模式的光纤,通常简称为单模光纤(SMF:Single ModeFiber)。由于光纤的纤芯很细(约 10pm)而且折射率呈阶跃状分布,当归一化频率 V 参数2、4 时,理论上只能形成单模传输。2 单模光纤模场分布光纤中的电磁波可以瞧成时谐场,满足亥姆霍兹方程,与电磁波理论中的做法一样,先求解 z 方向分量,然后再由麦克斯韦方程组求得其她分量。采用柱坐标,z 方
2、向的分量满足亥姆霍兹方程:如果求得 z 方向的分量,其她各横向分量可以用z 分量表示出来。阶跃光纤中的电磁场解及导波模的截止参数式中,A、B 待定常数,Jm:m 阶第一类贝塞尔函数,Km:m 阶第二类变形贝塞尔函数。U=kca W=aca u表示导波模场在纤芯内部的横向分布规律,w 表示它在包层中的横向分布规律,两者结合起来,就可以完整地描述导波模的横向分布规律;就是轴向的相位传播常数,表明导波模的纵向传输特性。文档编码:CT6R3O9S10C7 HS10R3Y6N10C10 ZQ2A6F6N6I3文档编码:CT6R3O9S10C7 HS10R3Y6N10C10 ZQ2A6F6N6I3文档编码
3、:CT6R3O9S10C7 HS10R3Y6N10C10 ZQ2A6F6N6I3文档编码:CT6R3O9S10C7 HS10R3Y6N10C10 ZQ2A6F6N6I3文档编码:CT6R3O9S10C7 HS10R3Y6N10C10 ZQ2A6F6N6I3文档编码:CT6R3O9S10C7 HS10R3Y6N10C10 ZQ2A6F6N6I3文档编码:CT6R3O9S10C7 HS10R3Y6N10C10 ZQ2A6F6N6I3文档编码:CT6R3O9S10C7 HS10R3Y6N10C10 ZQ2A6F6N6I3文档编码:CT6R3O9S10C7 HS10R3Y6N10C10 ZQ2A6F6
4、N6I3文档编码:CT6R3O9S10C7 HS10R3Y6N10C10 ZQ2A6F6N6I3文档编码:CT6R3O9S10C7 HS10R3Y6N10C10 ZQ2A6F6N6I3文档编码:CT6R3O9S10C7 HS10R3Y6N10C10 ZQ2A6F6N6I3文档编码:CT6R3O9S10C7 HS10R3Y6N10C10 ZQ2A6F6N6I3文档编码:CT6R3O9S10C7 HS10R3Y6N10C10 ZQ2A6F6N6I3文档编码:CT6R3O9S10C7 HS10R3Y6N10C10 ZQ2A6F6N6I3文档编码:CT6R3O9S10C7 HS10R3Y6N10C10
5、 ZQ2A6F6N6I3文档编码:CT6R3O9S10C7 HS10R3Y6N10C10 ZQ2A6F6N6I3文档编码:CT6R3O9S10C7 HS10R3Y6N10C10 ZQ2A6F6N6I3文档编码:CT6R3O9S10C7 HS10R3Y6N10C10 ZQ2A6F6N6I3文档编码:CT6R3O9S10C7 HS10R3Y6N10C10 ZQ2A6F6N6I3文档编码:CT6R3O9S10C7 HS10R3Y6N10C10 ZQ2A6F6N6I3文档编码:CT6R3O9S10C7 HS10R3Y6N10C10 ZQ2A6F6N6I3文档编码:CT6R3O9S10C7 HS10R3
6、Y6N10C10 ZQ2A6F6N6I3文档编码:CT6R3O9S10C7 HS10R3Y6N10C10 ZQ2A6F6N6I3文档编码:CT6R3O9S10C7 HS10R3Y6N10C10 ZQ2A6F6N6I3文档编码:CT6R3O9S10C7 HS10R3Y6N10C10 ZQ2A6F6N6I3文档编码:CT6R3O9S10C7 HS10R3Y6N10C10 ZQ2A6F6N6I3文档编码:CT6R3O9S10C7 HS10R3Y6N10C10 ZQ2A6F6N6I3文档编码:CT6R3O9S10C7 HS10R3Y6N10C10 ZQ2A6F6N6I3文档编码:CT6R3O9S10C
7、7 HS10R3Y6N10C10 ZQ2A6F6N6I3文档编码:CT6R3O9S10C7 HS10R3Y6N10C10 ZQ2A6F6N6I3文档编码:CT6R3O9S10C7 HS10R3Y6N10C10 ZQ2A6F6N6I3文档编码:CT6R3O9S10C7 HS10R3Y6N10C10 ZQ2A6F6N6I3文档编码:CT6R3O9S10C7 HS10R3Y6N10C10 ZQ2A6F6N6I3文档编码:CT6R3O9S10C7 HS10R3Y6N10C10 ZQ2A6F6N6I3文档编码:CT6R3O9S10C7 HS10R3Y6N10C10 ZQ2A6F6N6I3文档编码:CT6
8、R3O9S10C7 HS10R3Y6N10C10 ZQ2A6F6N6I3文档编码:CT6R3O9S10C7 HS10R3Y6N10C10 ZQ2A6F6N6I3文档编码:CT6R3O9S10C7 HS10R3Y6N10C10 ZQ2A6F6N6I3文档编码:CT6R3O9S10C7 HS10R3Y6N10C10 ZQ2A6F6N6I3文档编码:CT6R3O9S10C7 HS10R3Y6N10C10 ZQ2A6F6N6I3文档编码:CT6R3O9S10C7 HS10R3Y6N10C10 ZQ2A6F6N6I3文档编码:CT6R3O9S10C7 HS10R3Y6N10C10 ZQ2A6F6N6I3
9、文档编码:CT6R3O9S10C7 HS10R3Y6N10C10 ZQ2A6F6N6I3文档编码:CT6R3O9S10C7 HS10R3Y6N10C10 ZQ2A6F6N6I3文档编码:CT6R3O9S10C7 HS10R3Y6N10C10 ZQ2A6F6N6I3文档编码:CT6R3O9S10C7 HS10R3Y6N10C10 ZQ2A6F6N6I3文档编码:CT6R3O9S10C7 HS10R3Y6N10C10 ZQ2A6F6N6I3单模光纤的三维模场分布与电磁学公式比较几个低阶第一类贝塞尔函数曲线几个低阶第二类变形贝塞尔函数曲线用纵向分量表示的其她分量利用边界条件得到特征方程:对于实际使用
10、的光钎可以引入弱导条件而得到的简化方程。简化的特征方程,文档编码:CT6R3O9S10C7 HS10R3Y6N10C10 ZQ2A6F6N6I3文档编码:CT6R3O9S10C7 HS10R3Y6N10C10 ZQ2A6F6N6I3文档编码:CT6R3O9S10C7 HS10R3Y6N10C10 ZQ2A6F6N6I3文档编码:CT6R3O9S10C7 HS10R3Y6N10C10 ZQ2A6F6N6I3文档编码:CT6R3O9S10C7 HS10R3Y6N10C10 ZQ2A6F6N6I3文档编码:CT6R3O9S10C7 HS10R3Y6N10C10 ZQ2A6F6N6I3文档编码:CT6
11、R3O9S10C7 HS10R3Y6N10C10 ZQ2A6F6N6I3文档编码:CT6R3O9S10C7 HS10R3Y6N10C10 ZQ2A6F6N6I3文档编码:CT6R3O9S10C7 HS10R3Y6N10C10 ZQ2A6F6N6I3文档编码:CT6R3O9S10C7 HS10R3Y6N10C10 ZQ2A6F6N6I3文档编码:CT6R3O9S10C7 HS10R3Y6N10C10 ZQ2A6F6N6I3文档编码:CT6R3O9S10C7 HS10R3Y6N10C10 ZQ2A6F6N6I3文档编码:CT6R3O9S10C7 HS10R3Y6N10C10 ZQ2A6F6N6I3
12、文档编码:CT6R3O9S10C7 HS10R3Y6N10C10 ZQ2A6F6N6I3文档编码:CT6R3O9S10C7 HS10R3Y6N10C10 ZQ2A6F6N6I3文档编码:CT6R3O9S10C7 HS10R3Y6N10C10 ZQ2A6F6N6I3文档编码:CT6R3O9S10C7 HS10R3Y6N10C10 ZQ2A6F6N6I3文档编码:CT6R3O9S10C7 HS10R3Y6N10C10 ZQ2A6F6N6I3文档编码:CT6R3O9S10C7 HS10R3Y6N10C10 ZQ2A6F6N6I3文档编码:CT6R3O9S10C7 HS10R3Y6N10C10 ZQ2
13、A6F6N6I3文档编码:CT6R3O9S10C7 HS10R3Y6N10C10 ZQ2A6F6N6I3文档编码:CT6R3O9S10C7 HS10R3Y6N10C10 ZQ2A6F6N6I3文档编码:CT6R3O9S10C7 HS10R3Y6N10C10 ZQ2A6F6N6I3文档编码:CT6R3O9S10C7 HS10R3Y6N10C10 ZQ2A6F6N6I3文档编码:CT6R3O9S10C7 HS10R3Y6N10C10 ZQ2A6F6N6I3文档编码:CT6R3O9S10C7 HS10R3Y6N10C10 ZQ2A6F6N6I3文档编码:CT6R3O9S10C7 HS10R3Y6N1
14、0C10 ZQ2A6F6N6I3文档编码:CT6R3O9S10C7 HS10R3Y6N10C10 ZQ2A6F6N6I3文档编码:CT6R3O9S10C7 HS10R3Y6N10C10 ZQ2A6F6N6I3文档编码:CT6R3O9S10C7 HS10R3Y6N10C10 ZQ2A6F6N6I3文档编码:CT6R3O9S10C7 HS10R3Y6N10C10 ZQ2A6F6N6I3文档编码:CT6R3O9S10C7 HS10R3Y6N10C10 ZQ2A6F6N6I3文档编码:CT6R3O9S10C7 HS10R3Y6N10C10 ZQ2A6F6N6I3文档编码:CT6R3O9S10C7 HS
15、10R3Y6N10C10 ZQ2A6F6N6I3文档编码:CT6R3O9S10C7 HS10R3Y6N10C10 ZQ2A6F6N6I3文档编码:CT6R3O9S10C7 HS10R3Y6N10C10 ZQ2A6F6N6I3文档编码:CT6R3O9S10C7 HS10R3Y6N10C10 ZQ2A6F6N6I3文档编码:CT6R3O9S10C7 HS10R3Y6N10C10 ZQ2A6F6N6I3文档编码:CT6R3O9S10C7 HS10R3Y6N10C10 ZQ2A6F6N6I3文档编码:CT6R3O9S10C7 HS10R3Y6N10C10 ZQ2A6F6N6I3文档编码:CT6R3O9
16、S10C7 HS10R3Y6N10C10 ZQ2A6F6N6I3文档编码:CT6R3O9S10C7 HS10R3Y6N10C10 ZQ2A6F6N6I3文档编码:CT6R3O9S10C7 HS10R3Y6N10C10 ZQ2A6F6N6I3文档编码:CT6R3O9S10C7 HS10R3Y6N10C10 ZQ2A6F6N6I3文档编码:CT6R3O9S10C7 HS10R3Y6N10C10 ZQ2A6F6N6I3文档编码:CT6R3O9S10C7 HS10R3Y6N10C10 ZQ2A6F6N6I3文档编码:CT6R3O9S10C7 HS10R3Y6N10C10 ZQ2A6F6N6I3文档编码
17、:CT6R3O9S10C7 HS10R3Y6N10C10 ZQ2A6F6N6I3单模光纤的三维模场分布上面这些公式与电磁场与电磁波中公式完全相同,求解很困难,一般用数值法,如果只求各种模式的截止条件,只需令W20,求解满足边界条件的U,则相对简单一些、222221222()()()()11.()()()()vvvvvvvJ uKwJ uKwkkuwuJ uwKwuJ uwKw本征方程就是反映导波模涉及到的参数u、w 与 之间相互关系的方程,对于弱导光纤(n1 n2)则可得到本征方程22()()11()()vvvvJuKwvuJuwKwuw当 W2=0,对应包层中导波模与辐射模的转折点或临界点,
18、可以在此条件下求解纤芯内的归一化相位常数U。导波模一共可以分成4 种模式即,TE0n、TM0n、EHmn、Hemn。在电磁波课程中我们已经得到了这些模的截止波长,下面直接写出结果。上面这些式子中,uxy表示 x 阶贝塞尔函数的第y 个零点,下面表 5、1 就是几个低阶贝塞尔函数的零点位置。HE11模对应 0 阶贝塞尔函数的第零个零点Jm(U)的第n个根umnn m 0 1 2 3 1 2、40483 3、83171 5、13562 6、38016 文档编码:CT6R3O9S10C7 HS10R3Y6N10C10 ZQ2A6F6N6I3文档编码:CT6R3O9S10C7 HS10R3Y6N10C
19、10 ZQ2A6F6N6I3文档编码:CT6R3O9S10C7 HS10R3Y6N10C10 ZQ2A6F6N6I3文档编码:CT6R3O9S10C7 HS10R3Y6N10C10 ZQ2A6F6N6I3文档编码:CT6R3O9S10C7 HS10R3Y6N10C10 ZQ2A6F6N6I3文档编码:CT6R3O9S10C7 HS10R3Y6N10C10 ZQ2A6F6N6I3文档编码:CT6R3O9S10C7 HS10R3Y6N10C10 ZQ2A6F6N6I3文档编码:CT6R3O9S10C7 HS10R3Y6N10C10 ZQ2A6F6N6I3文档编码:CT6R3O9S10C7 HS10
20、R3Y6N10C10 ZQ2A6F6N6I3文档编码:CT6R3O9S10C7 HS10R3Y6N10C10 ZQ2A6F6N6I3文档编码:CT6R3O9S10C7 HS10R3Y6N10C10 ZQ2A6F6N6I3文档编码:CT6R3O9S10C7 HS10R3Y6N10C10 ZQ2A6F6N6I3文档编码:CT6R3O9S10C7 HS10R3Y6N10C10 ZQ2A6F6N6I3文档编码:CT6R3O9S10C7 HS10R3Y6N10C10 ZQ2A6F6N6I3文档编码:CT6R3O9S10C7 HS10R3Y6N10C10 ZQ2A6F6N6I3文档编码:CT6R3O9S1
21、0C7 HS10R3Y6N10C10 ZQ2A6F6N6I3文档编码:CT6R3O9S10C7 HS10R3Y6N10C10 ZQ2A6F6N6I3文档编码:CT6R3O9S10C7 HS10R3Y6N10C10 ZQ2A6F6N6I3文档编码:CT6R3O9S10C7 HS10R3Y6N10C10 ZQ2A6F6N6I3文档编码:CT6R3O9S10C7 HS10R3Y6N10C10 ZQ2A6F6N6I3文档编码:CT6R3O9S10C7 HS10R3Y6N10C10 ZQ2A6F6N6I3文档编码:CT6R3O9S10C7 HS10R3Y6N10C10 ZQ2A6F6N6I3文档编码:C
22、T6R3O9S10C7 HS10R3Y6N10C10 ZQ2A6F6N6I3文档编码:CT6R3O9S10C7 HS10R3Y6N10C10 ZQ2A6F6N6I3文档编码:CT6R3O9S10C7 HS10R3Y6N10C10 ZQ2A6F6N6I3文档编码:CT6R3O9S10C7 HS10R3Y6N10C10 ZQ2A6F6N6I3文档编码:CT6R3O9S10C7 HS10R3Y6N10C10 ZQ2A6F6N6I3文档编码:CT6R3O9S10C7 HS10R3Y6N10C10 ZQ2A6F6N6I3文档编码:CT6R3O9S10C7 HS10R3Y6N10C10 ZQ2A6F6N6
23、I3文档编码:CT6R3O9S10C7 HS10R3Y6N10C10 ZQ2A6F6N6I3文档编码:CT6R3O9S10C7 HS10R3Y6N10C10 ZQ2A6F6N6I3文档编码:CT6R3O9S10C7 HS10R3Y6N10C10 ZQ2A6F6N6I3文档编码:CT6R3O9S10C7 HS10R3Y6N10C10 ZQ2A6F6N6I3文档编码:CT6R3O9S10C7 HS10R3Y6N10C10 ZQ2A6F6N6I3文档编码:CT6R3O9S10C7 HS10R3Y6N10C10 ZQ2A6F6N6I3文档编码:CT6R3O9S10C7 HS10R3Y6N10C10 Z
24、Q2A6F6N6I3文档编码:CT6R3O9S10C7 HS10R3Y6N10C10 ZQ2A6F6N6I3文档编码:CT6R3O9S10C7 HS10R3Y6N10C10 ZQ2A6F6N6I3文档编码:CT6R3O9S10C7 HS10R3Y6N10C10 ZQ2A6F6N6I3文档编码:CT6R3O9S10C7 HS10R3Y6N10C10 ZQ2A6F6N6I3文档编码:CT6R3O9S10C7 HS10R3Y6N10C10 ZQ2A6F6N6I3文档编码:CT6R3O9S10C7 HS10R3Y6N10C10 ZQ2A6F6N6I3文档编码:CT6R3O9S10C7 HS10R3Y6
25、N10C10 ZQ2A6F6N6I3文档编码:CT6R3O9S10C7 HS10R3Y6N10C10 ZQ2A6F6N6I3文档编码:CT6R3O9S10C7 HS10R3Y6N10C10 ZQ2A6F6N6I3文档编码:CT6R3O9S10C7 HS10R3Y6N10C10 ZQ2A6F6N6I3文档编码:CT6R3O9S10C7 HS10R3Y6N10C10 ZQ2A6F6N6I3文档编码:CT6R3O9S10C7 HS10R3Y6N10C10 ZQ2A6F6N6I3单模光纤的三维模场分布2 5、52008 7、01559 8、41724 9、76102 3 8、65373 10、1734
26、7 11、61984 13、01520 4 11、79153 12、32369 14、79596 16、22347 5 14、930492 16、63 17、95982 14、40942 定义另一个重要的特征参量,V,称为光纤的归一化频率,就是一个无量纲的参数。当W20时,相应的 U 记为 Uc,V 记为 Vc,Vc称之为归一化截止频率。显然,此时 Uc Vc 且:212221)(2nnaVcc这样,光纤中任意一个模式的传播条件就是:212221)(2nnaVVcc光纤中单模传播的条件就是:405.20V3MATLAB 语言3、1 主程序1、运行框位置大小抬头默认文本框绘图相框位置背景颜色运行
27、框位置大小gcc=figure(Position,10,50,1100,660);设置程序抬头set(gcc,Menubar,none,Name,单模光钎的三维模场分布,NumberTitle,off);文档编码:CT6R3O9S10C7 HS10R3Y6N10C10 ZQ2A6F6N6I3文档编码:CT6R3O9S10C7 HS10R3Y6N10C10 ZQ2A6F6N6I3文档编码:CT6R3O9S10C7 HS10R3Y6N10C10 ZQ2A6F6N6I3文档编码:CT6R3O9S10C7 HS10R3Y6N10C10 ZQ2A6F6N6I3文档编码:CT6R3O9S10C7 HS10
28、R3Y6N10C10 ZQ2A6F6N6I3文档编码:CT6R3O9S10C7 HS10R3Y6N10C10 ZQ2A6F6N6I3文档编码:CT6R3O9S10C7 HS10R3Y6N10C10 ZQ2A6F6N6I3文档编码:CT6R3O9S10C7 HS10R3Y6N10C10 ZQ2A6F6N6I3文档编码:CT6R3O9S10C7 HS10R3Y6N10C10 ZQ2A6F6N6I3文档编码:CT6R3O9S10C7 HS10R3Y6N10C10 ZQ2A6F6N6I3文档编码:CT6R3O9S10C7 HS10R3Y6N10C10 ZQ2A6F6N6I3文档编码:CT6R3O9S1
29、0C7 HS10R3Y6N10C10 ZQ2A6F6N6I3文档编码:CT6R3O9S10C7 HS10R3Y6N10C10 ZQ2A6F6N6I3文档编码:CT6R3O9S10C7 HS10R3Y6N10C10 ZQ2A6F6N6I3文档编码:CT6R3O9S10C7 HS10R3Y6N10C10 ZQ2A6F6N6I3文档编码:CT6R3O9S10C7 HS10R3Y6N10C10 ZQ2A6F6N6I3文档编码:CT6R3O9S10C7 HS10R3Y6N10C10 ZQ2A6F6N6I3文档编码:CT6R3O9S10C7 HS10R3Y6N10C10 ZQ2A6F6N6I3文档编码:C
30、T6R3O9S10C7 HS10R3Y6N10C10 ZQ2A6F6N6I3文档编码:CT6R3O9S10C7 HS10R3Y6N10C10 ZQ2A6F6N6I3文档编码:CT6R3O9S10C7 HS10R3Y6N10C10 ZQ2A6F6N6I3文档编码:CT6R3O9S10C7 HS10R3Y6N10C10 ZQ2A6F6N6I3文档编码:CT6R3O9S10C7 HS10R3Y6N10C10 ZQ2A6F6N6I3文档编码:CT6R3O9S10C7 HS10R3Y6N10C10 ZQ2A6F6N6I3文档编码:CT6R3O9S10C7 HS10R3Y6N10C10 ZQ2A6F6N6
31、I3文档编码:CT6R3O9S10C7 HS10R3Y6N10C10 ZQ2A6F6N6I3文档编码:CT6R3O9S10C7 HS10R3Y6N10C10 ZQ2A6F6N6I3文档编码:CT6R3O9S10C7 HS10R3Y6N10C10 ZQ2A6F6N6I3文档编码:CT6R3O9S10C7 HS10R3Y6N10C10 ZQ2A6F6N6I3文档编码:CT6R3O9S10C7 HS10R3Y6N10C10 ZQ2A6F6N6I3文档编码:CT6R3O9S10C7 HS10R3Y6N10C10 ZQ2A6F6N6I3文档编码:CT6R3O9S10C7 HS10R3Y6N10C10 Z
32、Q2A6F6N6I3文档编码:CT6R3O9S10C7 HS10R3Y6N10C10 ZQ2A6F6N6I3文档编码:CT6R3O9S10C7 HS10R3Y6N10C10 ZQ2A6F6N6I3文档编码:CT6R3O9S10C7 HS10R3Y6N10C10 ZQ2A6F6N6I3文档编码:CT6R3O9S10C7 HS10R3Y6N10C10 ZQ2A6F6N6I3文档编码:CT6R3O9S10C7 HS10R3Y6N10C10 ZQ2A6F6N6I3文档编码:CT6R3O9S10C7 HS10R3Y6N10C10 ZQ2A6F6N6I3文档编码:CT6R3O9S10C7 HS10R3Y6
33、N10C10 ZQ2A6F6N6I3文档编码:CT6R3O9S10C7 HS10R3Y6N10C10 ZQ2A6F6N6I3文档编码:CT6R3O9S10C7 HS10R3Y6N10C10 ZQ2A6F6N6I3文档编码:CT6R3O9S10C7 HS10R3Y6N10C10 ZQ2A6F6N6I3文档编码:CT6R3O9S10C7 HS10R3Y6N10C10 ZQ2A6F6N6I3文档编码:CT6R3O9S10C7 HS10R3Y6N10C10 ZQ2A6F6N6I3文档编码:CT6R3O9S10C7 HS10R3Y6N10C10 ZQ2A6F6N6I3文档编码:CT6R3O9S10C7
34、HS10R3Y6N10C10 ZQ2A6F6N6I3文档编码:CT6R3O9S10C7 HS10R3Y6N10C10 ZQ2A6F6N6I3文档编码:CT6R3O9S10C7 HS10R3Y6N10C10 ZQ2A6F6N6I3单模光纤的三维模场分布uicontrol(gcc,Style,text,Units,normalized,Position,0、01,0、35,0、05,0、6,String,单模光钎的三维模场分布,Fontsize,24,Horizontal,center,Back,0、5 0、8 0、9);设置交互区域框uicontrol(gcc,Style,Frame,Units
35、,normalized,Position,0、15,0、015,0、8,0、24,Back,1,1,1);设置绘图框b=axes(Position,0、15,0、3,0、8,0、68);设置程序背景颜色set(gcc,color,0、5 0、8 0、9);2、视图缩放功能通过改变坐标轴的值改变视图大小uicontrol(gcc,Style,text,Units,normalized,Fontsize,15,Position,0、04,0、21,0、075,0、04,、String,同比例缩放 ,Fontsize,12,Horizontal,left,Back,1 1 0、4);COM=j=ge
36、t(hdxyz,Value);,f=5*j;,g=1*j;,set(b,xlim,-f,f,ylim,-f,f,zlim,0,g);hdxyz=uicontrol(gcc,Style,slider,Units,normalized,Position,0、015,0、18,0、12,0、04,、Min,0,Max,2,Value,1,Call,COM);uicontrol(gcc,Style,text,Units,normalized,Fontsize,15,Position,0、043,0、13,0、07,0、04,、String,z 方向缩放 ,Fontsize,12,Horizontal,
37、left,Back,1 1 0、4);COM0=l=get(hdz,Value);,set(b,zlim,0,l);hdz=uicontrol(gcc,Style,slider,Units,normalized,Position,0、015,0、1,0、12,0、04,、Min,0,Max,2,Value,1,Call,COM0);uicontrol(gcc,Style,text,Units,normalized,Fontsize,15,Position,0、04,0、05,0、075,0、04,、String,xy方向缩放 ,Fontsize,12,Horizontal,left,Back,
38、1 1 0、4);COM1=k=get(hdxy,Value);,set(b,xlim,-k,k,ylim,-k,k);hdxy=uicontrol(gcc,Style,slider,Units,normalized,Position,0、015,0、02,0、12,0、04,、Min,2,Max,10,Value,5,Call,COM1);3、加设菜单更改图像背景颜色截图运行程序建立程序使用说明hsz=uimenu(gcc,Label,设置 );hview=uimenu(hsz,Label,转换视角 ,Separator,on);uimenu(hview,Label,侧视图 ,Acceler
39、ator,z,Call,view(90,0);uimenu(hview,Label,俯视图 ,Accelerator,x,Call,view(0,90);uimenu(hview,Label,原视图 ,Accelerator,c,Call,view(-37、5,30);建立旋转动画COM=for el=-10:1:150,view(-37、5,el);,grid off;,drawnow;,grid on;,end;hxz=uimenu(hview,Label,旋转动画 ,Accelerator,v,Call,COM);建立更改绘图图像的背景颜色菜单文档编码:CT6R3O9S10C7 HS10
40、R3Y6N10C10 ZQ2A6F6N6I3文档编码:CT6R3O9S10C7 HS10R3Y6N10C10 ZQ2A6F6N6I3文档编码:CT6R3O9S10C7 HS10R3Y6N10C10 ZQ2A6F6N6I3文档编码:CT6R3O9S10C7 HS10R3Y6N10C10 ZQ2A6F6N6I3文档编码:CT6R3O9S10C7 HS10R3Y6N10C10 ZQ2A6F6N6I3文档编码:CT6R3O9S10C7 HS10R3Y6N10C10 ZQ2A6F6N6I3文档编码:CT6R3O9S10C7 HS10R3Y6N10C10 ZQ2A6F6N6I3文档编码:CT6R3O9S1
41、0C7 HS10R3Y6N10C10 ZQ2A6F6N6I3文档编码:CT6R3O9S10C7 HS10R3Y6N10C10 ZQ2A6F6N6I3文档编码:CT6R3O9S10C7 HS10R3Y6N10C10 ZQ2A6F6N6I3文档编码:CT6R3O9S10C7 HS10R3Y6N10C10 ZQ2A6F6N6I3文档编码:CT6R3O9S10C7 HS10R3Y6N10C10 ZQ2A6F6N6I3文档编码:CT6R3O9S10C7 HS10R3Y6N10C10 ZQ2A6F6N6I3文档编码:CT6R3O9S10C7 HS10R3Y6N10C10 ZQ2A6F6N6I3文档编码:C
42、T6R3O9S10C7 HS10R3Y6N10C10 ZQ2A6F6N6I3文档编码:CT6R3O9S10C7 HS10R3Y6N10C10 ZQ2A6F6N6I3文档编码:CT6R3O9S10C7 HS10R3Y6N10C10 ZQ2A6F6N6I3文档编码:CT6R3O9S10C7 HS10R3Y6N10C10 ZQ2A6F6N6I3文档编码:CT6R3O9S10C7 HS10R3Y6N10C10 ZQ2A6F6N6I3文档编码:CT6R3O9S10C7 HS10R3Y6N10C10 ZQ2A6F6N6I3文档编码:CT6R3O9S10C7 HS10R3Y6N10C10 ZQ2A6F6N6
43、I3文档编码:CT6R3O9S10C7 HS10R3Y6N10C10 ZQ2A6F6N6I3文档编码:CT6R3O9S10C7 HS10R3Y6N10C10 ZQ2A6F6N6I3文档编码:CT6R3O9S10C7 HS10R3Y6N10C10 ZQ2A6F6N6I3文档编码:CT6R3O9S10C7 HS10R3Y6N10C10 ZQ2A6F6N6I3文档编码:CT6R3O9S10C7 HS10R3Y6N10C10 ZQ2A6F6N6I3文档编码:CT6R3O9S10C7 HS10R3Y6N10C10 ZQ2A6F6N6I3文档编码:CT6R3O9S10C7 HS10R3Y6N10C10 Z
44、Q2A6F6N6I3文档编码:CT6R3O9S10C7 HS10R3Y6N10C10 ZQ2A6F6N6I3文档编码:CT6R3O9S10C7 HS10R3Y6N10C10 ZQ2A6F6N6I3文档编码:CT6R3O9S10C7 HS10R3Y6N10C10 ZQ2A6F6N6I3文档编码:CT6R3O9S10C7 HS10R3Y6N10C10 ZQ2A6F6N6I3文档编码:CT6R3O9S10C7 HS10R3Y6N10C10 ZQ2A6F6N6I3文档编码:CT6R3O9S10C7 HS10R3Y6N10C10 ZQ2A6F6N6I3文档编码:CT6R3O9S10C7 HS10R3Y6
45、N10C10 ZQ2A6F6N6I3文档编码:CT6R3O9S10C7 HS10R3Y6N10C10 ZQ2A6F6N6I3文档编码:CT6R3O9S10C7 HS10R3Y6N10C10 ZQ2A6F6N6I3文档编码:CT6R3O9S10C7 HS10R3Y6N10C10 ZQ2A6F6N6I3文档编码:CT6R3O9S10C7 HS10R3Y6N10C10 ZQ2A6F6N6I3文档编码:CT6R3O9S10C7 HS10R3Y6N10C10 ZQ2A6F6N6I3文档编码:CT6R3O9S10C7 HS10R3Y6N10C10 ZQ2A6F6N6I3文档编码:CT6R3O9S10C7
46、HS10R3Y6N10C10 ZQ2A6F6N6I3文档编码:CT6R3O9S10C7 HS10R3Y6N10C10 ZQ2A6F6N6I3文档编码:CT6R3O9S10C7 HS10R3Y6N10C10 ZQ2A6F6N6I3文档编码:CT6R3O9S10C7 HS10R3Y6N10C10 ZQ2A6F6N6I3文档编码:CT6R3O9S10C7 HS10R3Y6N10C10 ZQ2A6F6N6I3文档编码:CT6R3O9S10C7 HS10R3Y6N10C10 ZQ2A6F6N6I3文档编码:CT6R3O9S10C7 HS10R3Y6N10C10 ZQ2A6F6N6I3单模光纤的三维模场分
47、布htbjs=uimenu(hsz,Label,图像背景颜色,Separator,on);uimenu(htbjs,Label,草绿色 ,Call,set(gca,Color,0、7 0、9 0、4);uimenu(hzbc,Label,天青色 ,Call,set(gca,Color,0、5 0、8 0、9);uimenu(hzbc,Label,橙红色 ,Call,set(gca,Color,0、9 0、4 0、3);uimenu(hzbc,Label,取消颜色 ,Call,set(gca,Color,1 1 1);建立截图菜单COM1=saveas(gcc,Mypictures,jpg);h
48、SPC=uimenu(gcc,Label,文件 );uimenu(hSPC,Label,运行程序截图,Call,COM1);uimenu(hSPC,Label,打开程序路径,Call,winopen(pwd););uimenu(hSPC,Label,打开程序截图,Call,b=strcat(pwd,Mypic、jpg);,winopen(b);建立程序使用说明菜单COM2=单模光纤的三维模场分布、doc);,winopen(a);hhelp=uimenu(gcc,Label,帮助 );uimenu(hhelp,Label,程序使用说明,Call,COM2);4、滑动条滑动条主程序hsli1=u
49、icontrol(gcc,Style,slider,Units,normalized,Position,0、2,0、14,0、4,0、04,Min,0、1,Max,2、1845,Value,1、6453,CallBack,set(azmcur,String,num2str(get(hsli1,Value);set(gcc,Position,10,50,1100,660););标记滑动条最小值azmmin=uicontrol(gcc,Style,text,Units,normalized,Fontsize,12,Position,0、155,0、14,0、045,0、04,String,num2
50、str(get(hsli1,Min),Back,1,1,1);标记滑动条最大值azmmax=uicontrol(gcc,Style,text,Units,normalized,Fontsize,12,Position,0、61,0、14,0、045,0、04,String,num2str(get(hsli1,Max),Back,1,1,1);设置输出值位置uicontrol(gcc,Style,text,Units,normalized,Position,0、25,0、2,0、04,0、04,String,U=,Fontsize,15,Horizontal,left,Back,1,1,1);滑