simplification and preallocation of a symbolic value in matlab script
1 次查看(过去 30 天)
显示 更早的评论
clc
syms AX0
OG=5;
for z=1:4;
AL(z)=(AP19.*BLOKS(z)-AP20).*(AP16.*BLOKS(z)-AP17)+(AP21.*BLOKS(z)-AP22).*(BLOKS(z)-AP5*AP6*AX0);
end
After running codes, I got value of BLOKS as below which makes my program complicated further. I want to simplify this values and same way value of AL is very complicated to handle further. I also want preallocation of AL.
plz help
17800/4357 - (18430*AX0)/4357
442/1843 - AX0
9328132096000000/8992587776000001 - (649674899429785690307*AX0)/6025033809920000670
4443206611847967/9223372036854775808
0 个评论
采纳的回答
更多回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Symbolic Math Toolbox 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!