Comparison among numbers, pls help!

12 Ansichten (letzte 30 Tage)
Alcide Bertocco
Alcide Bertocco am 14 Mai 2021
Bearbeitet: Adam Danz am 14 Mai 2021
Good morning guys,
I have a strange issue with my matlab code.
I have two Matrix and I need to compare a specic row of the first matrix with a specific of the second one.
I know they are equal but I need matlab check it for me!
In the first step i defined the two matrixs and than I asked to check the equality. This second step is shwn in the figure below and I have already checkd they are numbers and not strings.
How it is possible ? How can I correct this problem?
TY in advance
  2 Kommentare
Atsushi Ueno
Atsushi Ueno am 14 Mai 2021
format long
You can see the comparing is more accurate.
Alcide Bertocco
Alcide Bertocco am 14 Mai 2021
Ty very much, I will try

Melden Sie sich an, um zu kommentieren.

Akzeptierte Antwort

Adam Danz
Adam Danz am 14 Mai 2021
Bearbeitet: Adam Danz am 14 Mai 2021

Weitere Antworten (0)

Community Treasure Hunt

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

Start Hunting!

Translated by