⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 ft_example5.m

📁 用matlab做的Frequency domain INterferomEter Simulation SoftwarE,在国外网站下的,还在研究中,不会用,有会用的回复我
💻 M
字号:
% Example file for using SimTools with Finesseclear all;% name of kat file which contains 'blocks'inname='testconsts.kat';% read in block from testblock.katblock=FT_read_blocks_from_file(inname);myblock=FT_copy_block(block,'constants');disp('----------------------------------------------------------');% print reflectivies r1=FT_read_kat_constant(myblock,'Rm1');r2=FT_read_kat_constant(myblock,'Rm2');disp(sprintf('Reflectivities of m1 and m2: %f %f',r1,r2));% now we change the reflectivity for one of mmyblock=FT_write_kat_constant(myblock,'Rm1',0.7);%to check we print the block againdisp('----------------------------------------------------------');disp('block of constants after changing Rm1:');FT_print_block(myblock,'constants');disp('----------------------------------------------------------');disp('creating a tmp block from lines 1-4 of the constants');newblock=FT_create_new_block('tmp');[newblock]=FT_copy_lines_block_to_block(myblock,newblock,1:4);FT_print_block(newblock,'tmp');

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -