exa1_7.m

来自「有关matlab r2007的实用教程」· M 代码 · 共 18 行

M
18
字号
t='How about this character string?'
u=t(16:24)
u=t(24:-1:16)
u=t(16:24)' 
v='I can''t find the manual!'

u='If a woodchuck could chuck wood,';
v='how much wood would a woodchuck chuck?';
w=[u  v]

disp(u)

v=['Character strings having more than'
   'one row must have the same number '
   'of column just like matrices!     ']


⌨️ 快捷键说明

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