Question: Matlab Question Is vector perpendicular to plane? A function is needed to determine if a given 3D vector is perpendicular to a plane. The plane

Matlab Question

Matlab Question Is vector perpendicular to plane? A function is needed to

determine if a given 3D vector is perpendicular to a plane. The

Is vector perpendicular to plane? A function is needed to determine if a given 3D vector is perpendicular to a plane. The plane is described by two vectors. Each vectors is described by a 2 x 3 matrix [x1,y1,z1; x2, y2, z2] that contains the coordinates of the starting poin [x1,y1,z1] and end points [x2, y2, z2]. Write a logical function isPerpendicular with three inputs: the two vectors defining the plane and the third vector that needs to be tested for being perpendicular to a plane Example 1 >>isPerpendicular(a, b, c) isPerpendicular- logical Example 2 >>isPerpendicular(a, b, c) isPerpendicular logical Example 3 >> a=[1,0,0; 0,0,0]; >>isPerpendicular(a, isPerpendicular b=[0,1,0; b, c) 0,0,0]; c=[0,0,-1; 0,0,0]; logical

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!