Orthogonal lines - MATLAB Cody - MATLAB Central

Problem 45278. Orthogonal lines

Difficulty:Rate

Check whether two given lines are orthogonal or not.

Two lines are orthogonal if they create a right angle at their intersections.

  • p=[x1 y1; x2 y2]
  • q=[x3 y3; x4 y4]

here (x1,y1) and (x2,y2) form a line.

Solution Stats

48.24% Correct | 51.76% Incorrect
Last Solution submitted on Jun 14, 2024

Problem Comments

Solution Comments

Show comments
PIVlab surpasses 100K all-time File Exchange downloads
During the past twelve months, PIVlab, a MATLAB Community Toolbox for particle...
4
8

Problem Recent Solvers34

Suggested Problems

More from this Author165

Problem Tags

Community Treasure Hunt

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

Start Hunting!