Any way to print numbers as factorial(n)?

1 visualización (últimos 30 días)
Carter Wunch
Carter Wunch el 29 de Abr. de 2021
Respondida: Walter Roberson el 29 de Abr. de 2021
For the taylor series function, is there any way to get the results printed as just a factorial and not a number (like 12! or factorial(12) instead of 479001600, or maybe 2*5! or 2*factorial(5) instead of 240)? It gets very confusing when it's a more complicated function than just cos(x) or e^x.

Respuestas (1)

Walter Roberson
Walter Roberson el 29 de Abr. de 2021
Not when you use the built-in taylor() function, not without post-processing. And post-processing would have a challenge to distinguish between (say) 4*3! compared to 4!

Categorías

Más información sobre Interpolation 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!

Translated by