multiplay without * using for loop
4 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
Abdulaziz Fallatah
am 16 Nov. 2019
Kommentiert: Star Strider
am 16 Nov. 2019
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.
0 Kommentare
Akzeptierte Antwort
Star Strider
am 16 Nov. 2019
2 Kommentare
Star Strider
am 16 Nov. 2019
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.
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu Loops and Conditional Statements finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!