about save factor a constant problem!!

조회 수: 1 (최근 30일)
tony kevine
tony kevine 2015년 2월 26일
댓글: Star Strider 2015년 2월 27일
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

채택된 답변

Star Strider
Star Strider 2015년 2월 26일
편집: Star Strider 2015년 2월 26일
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
tony kevine
tony kevine 2015년 2월 27일
thanks very much!!
Star Strider
Star Strider 2015년 2월 27일
My pleasure!

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Loops and Conditional Statements에 대해 자세히 알아보기

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by