Info

Cette question est clôturée. Rouvrir pour modifier ou répondre.

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

1 vue (au cours des 30 derniers jours)
Hussein Ali
Hussein Ali le 9 Jan 2018
Commenté : John D'Errico le 9 Jan 2018
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 commentaire
John D'Errico
John D'Errico le 9 Jan 2018
You just asked this question. You got multiple responses. Stop asking the same question multiple times.

Réponses (0)

Cette question est clôturée.

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by