0
Good evening. Could someone help me?
How to show the result of a substitution in Matlab other than in division form? Show decimal form number?
'res' is a variable that holds a polynomial expression
'subs was used to replace the expression x with 1
'valor0' receives the result of the substitution
the words to be replaced are:
(1993864719626009*x 5)/144115188075855872 + (4984661799068339*x 4)/144115188075855872 + (61595834957061*x 3)/36028797018963968 + (23355*x 2)/46837 + (46847*x)/46837 + 1
CODE LINE:
valor0=subs(res,x,1);
disp(valora0)
COMMAND WINDOW RESULT IS:
573384793757928688891/210935095747151921152
Your question does not pass the [mcve] test. Your code gives an error.
– Guto
As you have some questions that have been left outstanding, it is worth a brief explanation. It is good you do the [tour] on the website. When writing a question, whenever possible put everything you need to run the code (if possible simplify, see [mcve]), not just the part that is in trouble.
– Guto