photo

Zhipeng


Actif depuis 2019

Followers: 0   Following: 0

Message

Statistiques

MATLAB Answers

2 Questions
0 Réponses

RANG
293 961
of 301 545

RÉPUTATION
0

CONTRIBUTIONS
2 Questions
0 Réponses

ACCEPTATION DE VOS RÉPONSES
100.0%

VOTES REÇUS
0

RANG
 of 21 319

RÉPUTATION
N/A

CLASSEMENT MOYEN
0.00

CONTRIBUTIONS
0 Fichier

TÉLÉCHARGEMENTS
0

ALL TIME TÉLÉCHARGEMENTS
0

RANG

of 175 285

CONTRIBUTIONS
0 Problèmes
0 Solutions

SCORE
0

NOMBRE DE BADGES
0

CONTRIBUTIONS
0 Publications

CONTRIBUTIONS
0 Public Chaîne

CLASSEMENT MOYEN

CONTRIBUTIONS
0 Point fort

NOMBRE MOYEN DE LIKES

  • Thankful Level 2
  • Thankful Level 1

Afficher les badges

Feeds

Afficher par

Question


Why this x == g gave me logic 0?
g = 0.1; x = 0.102; x = x - 0.001; x = x - 0.001; x == g This is a simple code and I didn't know why matlab give me logic 0...

environ 7 ans il y a | 1 réponse | 0

1

réponse

Question


Can anybody help this loop question?
Temp = 20; g = 0.1; x = 0.11; while(Temp > 0 && x ~= g) Temp = Temp -1 x = x -0.001 if(x==g) print('l...

environ 7 ans il y a | 1 réponse | 0

1

réponse