필터 지우기
필터 지우기

Please help! How to express p as the projection of b onto the Col A according to the theory. I know that the component of b orthogonal to ColA is z=b-p(accodfing to the theory )

조회 수: 1 (최근 30일)
function [p,z]=proj(A,b)
format
A=shrink(A);
m=size(A,1);
p=[];
z=[];
boolean = true
if ~isequal(size(A,1),size(b,1))
disp("No solution: dimensions of A and b disagree")
display(p)
display(z)
return;
end
y=[A,b];
if ~isequal(rank(y),size(y,2))
disp('b is in Col A')
p=???
z=b-p
return;
end
  댓글 수: 5
Walter Roberson
Walter Roberson 2021년 4월 9일
Please remember that the volunteers do not have a version of MATLAB that can execute pictures of code.
Tianlan Yang
Tianlan Yang 2021년 4월 9일
Hi, I just want to know how to express the orthogonal projection of one vector to ColA. Thank you.

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

답변 (0개)

카테고리

Help CenterFile Exchange에서 Image Processing Toolbox에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by