symbolic, Newton Polynoms, avoid multiplication, latex
1 visualización (últimos 30 días)
Mostrar comentarios más antiguos
Hi I have the following code
C=[0.46 -0.12]
X=[3 2]
syms x
new=C(1)+C(2)*(x-X(1))
latex(new)
that should be a Interpolation polynom using Newtons diveded difference. However Matlab alway performs the multiplation operation. resulting in
41/50 - (3*x)/25
what sort of function could I use which would work later with the latex command. I obtain
\frac{41}{50} - \frac{3\, x}{25}
but I want of course
0.46- 0.12(x-3)
0 comentarios
Respuestas (0)
Ver también
Categorías
Más información sobre Symbolic Math Toolbox 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!