Info

This question is closed. Reopen it to edit or answer.

How to compare initial digits for three numbers in row of matrix.

1 view (last 30 days)
Hi guys, I have rows of numbers with the following format(for example) case1 A=[803.445,803.534, 803.5212] as can be seen here, the all first digits of the third number are equal (8,8,8) case 2 A=[803.445,803.534, 522.345], as can be seen here, the first digits of the third is different.(8,8,5) I want to write command to compare the value and doing something When the case is achieved and something else when the case is achieved
  1 Comment
John D'Errico
John D'Errico on 9 Jan 2018
You just asked this question. You got multiple responses. Stop asking the same question multiple times.

Answers (0)

This question is closed.

Tags

Community Treasure Hunt

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

Start Hunting!