multiplay without * using for loop

4 ビュー (過去 30 日間)
Abdulaziz Fallatah
Abdulaziz Fallatah 2019 年 11 月 16 日
コメント済み: Star Strider 2019 年 11 月 16 日
Write a MATLAB program that prompts the user to enter 2 natural number ‘a’ and ‘b’ and compute a*b without using the * operator.
Write a MATLAB program that prompts the user to enter 2 natural number ‘a’ and ‘b’ and compute a^b without using the ^ operator.

採用された回答

Star Strider
Star Strider 2019 年 11 月 16 日
  2 件のコメント
Abdulaziz Fallatah
Abdulaziz Fallatah 2019 年 11 月 16 日
can you write the whole codes please ? thanks
Star Strider
Star Strider 2019 年 11 月 16 日
As always, my pleasure.
This looks very much like homework, so I will instead direct you to the Wikipedia article on Logarithm. See specifically the secion on Logarithmic identities.

サインインしてコメントする。

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeLoops and Conditional Statements についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by