作业帮 > 英语 > 作业

matlab 如何提取系数

来源:学生作业帮 编辑:作业帮 分类:英语作业 时间:2024/07/08 19:31:45
matlab 如何提取系数
如表达式
I1是关于U2 I2的表达式,如何提取I1中含有U2的式子,I1中含有I2的式子
I1 =
- I2*((C1*w*i - (C3*U2*w*((U2 - I2*(R1 + L1*w*i))/U2 - 1)*i)/(U2 - I2*(R1 + L1*w*i)))*(R1 + L1*w*i) - 1) + U2*(C1*w*i - (C3*U2*w*((U2 - I2*(R1 + L1*w*i))/U2 - 1)*i)/(U2 - I2*(R1 + L1*w*i)));
collect
Collect coefficients
Syntax
R = collect(S)
R = collect(S,v)
Description
For each polynomial in the array S of polynomials,collect(S) collects terms containing the variable v (or x,if v is not specified).The result is an array containing the collected polynomials.