how to solve matrix equation

조회 수: 2 (최근 30일)
zhang
zhang 2012년 6월 16일
I'd like to estimate the parameters of the following equation: Ax + By + Cz + D = 0.
There are thousands of instance of [x y z]. So we can have:
x_1 y_1 z_1 1 A 0
x_2 y_2 z_2 1 * B = 0
... C 0
x_n y_n z_n 1 D 0
How to solve it?
I'm using mldivide to compute it. However give me all zeros.
How to avoid the zeros answer?

채택된 답변

zhang
zhang 2012년 6월 16일
please check the following link:
[U S V] = svd(A); x = V(:,end)

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Operating on Diagonal Matrices에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by