I'm getting equation in very long form, there are big numbers that are left undivided, how do i get them in a simpler term?

2 vues (au cours des 30 derniers jours)
root(z^5 - (110641566850204558710322674623436416308237*z^4)/56273926637118816003144160544915628125000 + (23897303543479682720741969094123968048419*z^3)/18007656523878021121006131374373001000000 - (1194901859668228155693750015947733560675359*z^2)/3601531304775604224201226274874600200000000 + (2951313139652747544205977391944158937088*z)/175856020740996300009825501702861337890625 - 1051669155854612622380644549826806022144/4396400518524907500245637542571533447265625, z, 1)
root(z^5 - (110641566850204558710322674623436416308237*z^4)/56273926637118816003144160544915628125000 + (23897303543479682720741969094123968048419*z^3)/18007656523878021121006131374373001000000 - (1194901859668228155693750015947733560675359*z^2)/3601531304775604224201226274874600200000000 + (2951313139652747544205977391944158937088*z)/175856020740996300009825501702861337890625 - 1051669155854612622380644549826806022144/4396400518524907500245637542571533447265625, z, 2)
root(z^5 - (110641566850204558710322674623436416308237*z^4)/56273926637118816003144160544915628125000 + (23897303543479682720741969094123968048419*z^3)/18007656523878021121006131374373001000000 - (1194901859668228155693750015947733560675359*z^2)/3601531304775604224201226274874600200000000 + (2951313139652747544205977391944158937088*z)/175856020740996300009825501702861337890625 - 1051669155854612622380644549826806022144/4396400518524907500245637542571533447265625, z, 3)
root(z^5 - (110641566850204558710322674623436416308237*z^4)/56273926637118816003144160544915628125000 + (23897303543479682720741969094123968048419*z^3)/18007656523878021121006131374373001000000 - (1194901859668228155693750015947733560675359*z^2)/3601531304775604224201226274874600200000000 + (2951313139652747544205977391944158937088*z)/175856020740996300009825501702861337890625 - 1051669155854612622380644549826806022144/4396400518524907500245637542571533447265625, z, 4)
root(z^5 - (110641566850204558710322674623436416308237*z^4)/56273926637118816003144160544915628125000 + (23897303543479682720741969094123968048419*z^3)/18007656523878021121006131374373001000000 - (1194901859668228155693750015947733560675359*z^2)/3601531304775604224201226274874600200000000 + (2951313139652747544205977391944158937088*z)/175856020740996300009825501702861337890625 - 1051669155854612622380644549826806022144/4396400518524907500245637542571533447265625, z, 5)
%% this is what i am getting,but i need the coefficients to be in simpler form

Réponses (1)

Sabin
Sabin le 30 Jan 2023
Assuming that Symbolic Math Toolbox is used, it is possible to Simplify Symbolic Expressions.
For example:
syms x y
simplify((1 - x^2)/(1 - x))
will return x+1

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by