photo

Zhipeng


2019 年からアクティブ

Followers: 0   Following: 0

統計

MATLAB Answers

2 質問
0 回答

ランク
293,968
of 301,552

評判
0

コントリビューション
2 質問
0 回答

回答採用率
100.0%

獲得投票数
0

ランク
 of 21,321

評判
N/A

平均評価
0.00

コントリビューション
0 ファイル

ダウンロード
0

ALL TIME ダウンロード
0

ランク

of 175,320

コントリビューション
0 問題
0 解答

スコア
0

バッジ数
0

コントリビューション
0 投稿

コントリビューション
0 パブリック チャネル

平均評価

コントリビューション
0 ハイライト

平均いいねの数

  • Thankful Level 2
  • Thankful Level 1

バッジを表示

Feeds

表示方法

質問


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年 前 | 1 件の回答 | 0

1

回答

質問


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年 前 | 1 件の回答 | 0

1

回答