Use function lu() and luinc() in single precision
조회 수: 8 (최근 30일)
이전 댓글 표시
Hi All,
Is there any way to call function lu() or luinc() in single precision? I think that single precision is enough for my problems, but MATLAB uses double precision as default. In advance, thanks for your comments.
Evan
댓글 수: 0
답변 (1개)
Walter Roberson
2015년 9월 10일
some_single_data = single(rand(20,20));
[L, U, p] = lu(some_single_data);
class() of each of the outputs will report single . I do not know if double precision is used internally.
댓글 수: 0
참고 항목
카테고리
Help Center 및 File Exchange에서 Numbers and Precision에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!