Comparison among numbers, pls help!

조회 수: 5 (최근 30일)
Alcide Bertocco
Alcide Bertocco 2021년 5월 14일
편집: Adam Danz 2021년 5월 14일
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
Atsushi Ueno
Atsushi Ueno 2021년 5월 14일
format long
You can see the comparing is more accurate.
Alcide Bertocco
Alcide Bertocco 2021년 5월 14일
Ty very much, I will try

댓글을 달려면 로그인하십시오.

채택된 답변

Adam Danz
Adam Danz 2021년 5월 14일
편집: Adam Danz 2021년 5월 14일

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 NaNs에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by