Filter löschen
Filter löschen

Find distance between point (1,3,1) and plane 3(x-2)+2(y-1)-3(z-1)=0

3 Ansichten (letzte 30 Tage)
can't seem to find the commands for this.

Akzeptierte Antwort

Andrei Bobrov
Andrei Bobrov am 6 Aug. 2012
fp = @(x)(x(:).' - [2, 1, 1])*[3;2;-3]; % your plane
x0 = [1,3,1]; % your point
d = fp(x0)/norm([3;2;-3]) ; % your distance

Weitere Antworten (0)

Kategorien

Mehr zu Creating and Concatenating Matrices finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by