s=12345678901234567890用matlab如何因式分解查阅了很多资料,都没弄出来
望采纳
s = vpa(12345678901234567890); factors = factor(s)
执行上面的代码后,变量 factors 中将包含数字 12345678901234567890 的质因数,即 2、3、5、7、11、13、17、19、61 和 241。
factor(sym('12345678901234567890'))