如何将计算结果化最简?
用MATLAB编了一个积分的程序 可结果算出来是很长的一串数字表达式 并不是一个结果 所以无法画图 望指教下计算结果之一如下(38554775380509335030602471650690101/1038459371706965525706099265844019200*pi^(1/2)*2295337490773478^(1/2)*erf(2010216202199773/77018745751209294954496*2295337490773478^(1/2))+38554775380509335030602471650690101/1038459371706965525706099265844019200*pi^(1/2)*2295337490773478^(1/2)*erf(2211908448460067/77018745751209294954496*2295337490773478^(1/2)))/(-327846310760989986949451387252285634312698170285078346704407889903844646924268717584704873940205903628587213/11198723710889021052787211402842221390608227486173247674499945504818959355900804726904387466358035578880*exp(-4040969179586478646684201251529/2584320267034241205318579126272)+606278592553304433004624229016662914321408481465960702807645511087785649161943456839833214454747456745843357/751533626487626632924633790972587848760218415650662358626333110890306888036674701908383679483125984970219192320*pi^(1/2)*2295337490773478^(1/2)*erf(2010216202199773/77018745751209294954496*2295337490773478^(1/2))+207134619894957491035198532540353841849838364281612897522350292558760239074779870731065315461052693584662733/11198723710889021052787211402842221390608227486173247674499945504818959355900804726904387466358035578880*exp(-4892538984369020872103693644489/2584320267034241205318579126272)+606278592553304433004624229016662914321408481465960702807645511087785649161943456839833214454747456745843357/751533626487626632924633790972587848760218415650662358626333110890306888036674701908383679483125984970219192320*pi^(1/2)*2295337490773478^(1/2)*erf(2211908448460067/77018745751209294954496*2295337490773478^(1/2)))
而这个表达式明明就是个未算完的式子如何让他直接显示最终结果 望解答下 help simple
help simplify 首先谢谢楼上的回答了我的问题
可用了SIMPLIFY 之后结果仍然是一串式子依然无法显示最终结果 help vpa 问题解决了 多谢了 假设楼主的结果为XXX, 我直接复制至m档
aa=sym(XXX), bb=(XXX)
都有结果
aa =
6650487521775456*2^(-47)
bb =
47.2546
页:
[1]