?? exm0422_2.m
字號:
%exm0422_2.m
clear
C_str=char('這是','元胞數組創建算例 1'); %產生字符串
R=reshape(1:9,3,3); %產生 實數陣R
Cn=[1+2i]; %產生復數標量
S_sym=sym('sin(-3*t)*exp(-t)'); %產生符號函數量
A(1,1)={C_str};A(1,2)={R};A(2,1)={Cn};A(2,2)={S_sym};
C=cell(2); %預設 空元胞數組
C(:,1)={char('Another','text string');10:-1:1} %對第一列元胞賦值
A_C=[A;C] %分號利用來分隔"行"
cellplot(A_C,'legend')
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -