Projection of Ax on By where norm(x)=norm(y)=1 and A,B are matrices.
5 次查看(过去 30 天)
显示 更早的评论
I know how to project a vector x on vector y. But I would like to know if there is a function that could help me by projecting
on
where A and B are matrices and ∀
.
In other words, how can I get vectors of norm 1.
0 个评论
回答(1 个)
Torsten
2023-5-17
移动:Torsten
2023-5-17
The projection of A*x on B*y is
dot(A*x,B*y)/dot(B*y,B*y)*B*y
I don't know where you want norm = 1 come into play here.
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Quadratic Programming and Cone Programming 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!