필터 지우기
필터 지우기

How to simplify a complex matrix

조회 수: 1 (최근 30일)
sakshi ahuja
sakshi ahuja 2016년 3월 28일
답변: Walter Roberson 2016년 3월 28일
I am having a polynomial matrix as an e.g.,
A= [1, 0; 0, ((2098771722748011756657413967615*z^2)/2535301200456458802993406410752 - (7700501052346207801164205137339*z)/5070602400912917605986812821504 - 10387006882955487611545293966533/20282409603651670423947251286016]

채택된 답변

Walter Roberson
Walter Roberson 2016년 3월 28일
When you enter numbers like that, they will be converted to double precision, which does not have enough precision for you. You need to change the numbers to symbolic.
syms z
A = [1, 0; 0, ((sym('2098771722748011756657413967615')*z^2) / sym('2535301200456458802993406410752') - (sym('7700501052346207801164205137339')*z) / sym('5070602400912917605986812821504') - sym('10387006882955487611545293966533/20282409603651670423947251286016')]

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Number Theory에 대해 자세히 알아보기

태그

제품

Community Treasure Hunt

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

Start Hunting!

Translated by