about save factor a constant problem!!
2 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
tony kevine
el 26 de Feb. de 2015
Comentada: Star Strider
el 27 de Feb. de 2015
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/147327/image.png)
there is a const(1/4),i want to take it out,but i am a new user in matlab.i can't.i used the command factor,but it doesn't work!!
can anyone help me
0 comentarios
Respuesta aceptada
Star Strider
el 26 de Feb. de 2015
Editada: Star Strider
el 26 de Feb. de 2015
One option is to use numden:
syms Zta
Q = [(1/4 + 1/4*Zta) (1/4 - 1/4*Xi)]/(1/4)
[N,D] = numden(Q)
produces:
N =
[ Zta + 1, 1 - Xi]
D =
[ 4, 4]
Another option is to simply divide whatever quantity you are referring to by (1/4).
Example:
syms Zta
Q = [(1/4 + 1/4*Zta) (1/4 - 1/4*Xi)]/(1/4)
produces:
Q =
[ Zta + 1, 1 - Xi]
2 comentarios
Más respuestas (0)
Ver también
Categorías
Más información sobre Numbers and Precision 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!