Info

Questa domanda è chiusa. Riaprila per modificarla o per rispondere.

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

1 visualizzazione (ultimi 30 giorni)
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 Commento
John D'Errico
John D'Errico il 9 Gen 2018
You just asked this question. You got multiple responses. Stop asking the same question multiple times.

Risposte (0)

Questa domanda è chiusa.

Tag

Community Treasure Hunt

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

Start Hunting!

Translated by