Hi, I want to compare the speed of a truncated SVD code with Lanczos Bidiagonalization method. In my search I realized that MATLAB SVDS code has two referrences to two of the works on Lanczos Bidiagonalization method. Can anyone tell me if SVDS uses Lanczos Bidiagonalization method? I need to be sure to start comparing my code with it.

 채택된 답변

Bruno Luong
Bruno Luong 2018년 10월 12일

0 개 추천

svds is a MATFILE and it calls different methods depending on your inputs. You might step over and see if matlab.internal.math.LanczosBD is invoked.

댓글 수: 4

Thanks, but would you please explain how?
Bruno Luong
Bruno Luong 2018년 10월 12일
편집: Bruno Luong 2018년 10월 12일
In command windows, type
edit svds
The search for "matlab.internal.math.LanczosBD" (there should be 2 instances)
then put a break point by clicking on "-" at left margin next to the line number.
Run your code that calls svds().
Thanks for the answer.
If you type "edit svds", some papers are cited just after the help section.

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

추가 답변 (0개)

카테고리

도움말 센터File Exchange에서 Linear Algebra에 대해 자세히 알아보기

제품

릴리스

R2016b

Community Treasure Hunt

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

Start Hunting!

Translated by