GeneralizedLucas.m

GeneralizedLucas(n,a,b) returns the generalized Lucas number with index n and parameters a and b.

이 제출물을 팔로우합니다

For fixed integers a and b such that D = a^2 + 4*b is nonnegative, the sequence V_n = GeneralizedLucas(n,a,b) satisfies the recurrence
V_n = V_{n-1} + V_{n-2} and the initial conditions V_0 = 2 and V_1 = a. When a=b=1, this is the Lucas sequence.

인용 양식

David Terr (2026). GeneralizedLucas.m (https://kr.mathworks.com/matlabcentral/fileexchange/6086-generalizedlucas-m), MATLAB Central File Exchange. 검색 날짜: .

카테고리

Help CenterMATLAB Answers에서 Creating and Concatenating Matrices에 대해 자세히 알아보기

일반 정보

MATLAB 릴리스 호환 정보

  • 모든 릴리스와 호환

플랫폼 호환성

  • Windows
  • macOS
  • Linux
버전 퍼블리시됨 릴리스 정보 Action
1.0.0.0