Could someone please optimize this code? My code:

if (x === 0) {
y = y +
2;
console.log(y);
}
else {
y = y +
3;
console.log(y);
}

回答 (0 件)

カテゴリ

ヘルプ センター および File ExchangeDeployment, Integration, and Supported Hardware についてさらに検索

タグ

質問済み:

2021 年 1 月 8 日

Community Treasure Hunt

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

Start Hunting!

Translated by