Detect pair of equal values in a Matrix - MATLAB Cody - MATLAB Central

Problem 42844. Detect pair of equal values in a Matrix

Difficulty:Rate

A 2D matrix of 2 rows and N columns with random integer numbers.

    A = [3 1 2 4 6 6 7;
         7 3 2 1 5 2 4]

in this Matrix, 3rd column has a pair of the same number.

Function return will be true/false.

Solution Stats

80.58% Correct | 19.42% Incorrect
Last Solution submitted on Nov 28, 2024

Problem Comments

Solution Comments

Show comments
LLMs with MATLAB updated to support the latest OpenAI Models
Large Languge model with MATLAB, a free add-on that lets you access...
2
4

Problem Recent Solvers70

Suggested Problems

More from this Author3

Problem Tags

Community Treasure Hunt

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

Start Hunting!
Go to top of page