例1.70.txt

来自「matlab在控制系统中的应用(内附使用方法及每章内容、程序)」· 文本 代码 · 共 18 行

TXT
18
字号
 例1.70 
function[output,output2]=function—example(input1,input2)  %    函数题头
   %This is function to exchange two matrices                     %    HI行
   %input1,input2 are input variables                           %    帮助信息
   %output1,output2 are output variables                        %    帮助信息
   output1=input2;                                          %     函数体
   output2=input1;                                          %     函数体
   %The end of this example function
[a,b]=function-example(a,b)
a=
         8       1      6
         3       5      7
         4       9      2
b=
         1       1      1
         1       2      3
         1       3      6

⌨️ 快捷键说明

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