roundcfrac.m

버전 1.0.0.0 (752 Bytes) 작성자: David Terr
Computes the "round continued fraction" of a given complex number.
다운로드 수: 2K
업데이트 날짜: 2004/7/30

라이선스 없음

This function computes the "round continued fraction" of a given complex number, defined similarly to the ordinary continued fraction except one rounds the quotient at each step instead of using the floor. This allows generalization to complex numbers, whose remainders after rounding lie in the square [-1/2, 1/2) + [-1/2, 1/2) i.
Coefficients are returned as a column vector.

인용 양식

David Terr (2024). roundcfrac.m (https://www.mathworks.com/matlabcentral/fileexchange/5153-roundcfrac-m), MATLAB Central File Exchange. 검색됨 .

MATLAB 릴리스 호환 정보
개발 환경: R12
모든 릴리스와 호환
플랫폼 호환성
Windows macOS Linux
카테고리
Help CenterMATLAB Answers에서 Elementary Math에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!
버전 게시됨 릴리스 정보
1.0.0.0

I added two columns to the result, the second and third being the numerators and denominators of the round rational convergents of x respectively, both possibly negated.