Rat or Sym for a more exact answer?
6 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
Jesse Ghashti
el 13 de En. de 2021
Respondida: SaiDileep Kola
el 15 de En. de 2021
Hello,
I am new to Matlab and am trying to figure out which is more accurate:
If I am inverting a Matrix and want to express it in the most accurate fraction form, does the format sym or the format rat work better?
When I invert both, my inverse matrix shows up as fractions (which is what I need), but the matrices are different, assuming something to do with roundoff. Which is a more standard solution? T
Thank you!
0 comentarios
Respuesta aceptada
SaiDileep Kola
el 15 de En. de 2021
'sym' is to represent as symbolic constant and 'rat' does the approximation, if you dont want to approximate in the between and deviate from the actual result use rat at the end, for more detailed explaination refer the doument here.
0 comentarios
Más respuestas (0)
Ver también
Categorías
Más información sobre Calculus en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!