Computing pseudo-inverse and norms using pinv

조회 수: 3 (최근 30일)
bigdog
bigdog 2015년 2월 4일
답변: Bjorn Gustavsson 2015년 2월 4일
I need to compute the pseudo-inverse as well as the norms using pinv of m = [ones(1000,1), repmat([2,0]', 500, 1)];
I've looked into it and it says I should use the equation x=pinv(m)*b, but I haven't defined b. Where have I gone wrong?

답변 (1개)

Bjorn Gustavsson
Bjorn Gustavsson 2015년 2월 4일
Well I have no idea why you should use the equation
x=pinv(m)*b
to get the pseudoinverse and the norms (whatever norms is supposed to include).
The pseudoinverse you get from the pinv function alone.
HTH

카테고리

Help CenterFile Exchange에서 Linear Algebra에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by