photo

Zhipeng


Active since 2019

Followers: 0   Following: 0

Message

Statistics

MATLAB Answers

2 Questions
0 Answers

RANK
84,643
of 301,432

REPUTATION
0

CONTRIBUTIONS
2 Questions
0 Answers

ANSWER ACCEPTANCE
100.0%

VOTES RECEIVED
0

RANK
 of 21,280

REPUTATION
N/A

AVERAGE RATING
0.00

CONTRIBUTIONS
0 Files

DOWNLOADS
0

ALL TIME DOWNLOADS
0

RANK

of 174,555

CONTRIBUTIONS
0 Problems
0 Solutions

SCORE
0

NUMBER OF BADGES
0

CONTRIBUTIONS
0 Posts

CONTRIBUTIONS
0 Public Channels

AVERAGE RATING

CONTRIBUTIONS
0 Discussions

AVERAGE NO. OF LIKES

  • Thankful Level 2
  • Thankful Level 1

View badges

Feeds

View by

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...

7 years ago | 1 answer | 0

1

answer

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...

7 years ago | 1 answer | 0

1

answer