Info

Diese Frage ist geschlossen. Öffnen Sie sie erneut, um sie zu bearbeiten oder zu beantworten.

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

1 Ansicht (letzte 30 Tage)
Hussein Ali
Hussein Ali am 9 Jan. 2018
Kommentiert: John D'Errico am 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 Kommentar
John D'Errico
John D'Errico am 9 Jan. 2018
You just asked this question. You got multiple responses. Stop asking the same question multiple times.

Antworten (0)

Diese Frage ist geschlossen.

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by