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

📄 exa1_8.m

📁 有关matlab r2007的实用教程
💻 M
字号:
 u='If a woodchuck could chuck wood,';
disp(u)
i=find(u>='a' & u<= 'z');     %  find is a very powerful function!
u(i)=setstr(u(i)-('a'-'A'))

v=['Character strings having more than'
   'one row must have the same number '
   'of column just like matrices!     '];
disp(v)
i=find(v>='a' & v<='z');     %  here i is a single index vector into v,
v(i)=setstr(v(i)-('a'-'A'))     %  and matrix keeps the same orientation.

⌨️ 快捷键说明

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