Find distance between point (1,3,1) and plane 3(x-2)+2(y-1)-3(z-1)=0
3 visualizzazioni (ultimi 30 giorni)
Mostra commenti meno recenti
can't seem to find the commands for this.
0 Commenti
Risposta accettata
Andrei Bobrov
il 6 Ago 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
0 Commenti
Più risposte (0)
Vedere anche
Categorie
Scopri di più su Creating and Concatenating Matrices in Help Center e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!