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

📄 07-13.txt

📁 《MATLAB简明教程》俺买的最新版的MATLAB教材
💻 TXT
字号:
例7-13  使用simple函数进行符号函数的简化。
解:在命令窗口中输入如下命令,并按Enter键确认。
>> s=2*cos(x)^2-sin(x)^2 ;
定义表达式 后,先使用 命令对其进行简化。
>> simple(s)
 simplify:
 3*cos(x)^2-1

radsimp:
 2*cos(x)^2-sin(x)^2
combine(trig):
3/2*cos(2*x)+1/2
factor:
2*cos(x)^2-sin(x)^2
expand:
 2*cos(x)^2-sin(x)^2
combine:
3/2*cos(2*x)+1/2
convert(exp):
 
2*(1/2*exp(i*x)+1/2/exp(i*x))^2+1/4*(exp(i*x)-1/exp(i*x))^2
convert(sincos):
 2*cos(x)^2-sin(x)^2
convert(tan):
 2*(1-tan(1/2*x)^2)^2/(1+tan(1/2*x)^2)^2-4*tan(1/2*x)^2/(1+tan(1/2*x)^2)^2
collect(x):
2*cos(x)^2-sin(x)^2
mwcos2sin:
2-3*sin(x)^2
ans =
3*cos(x)^2-1
>>

⌨️ 快捷键说明

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