multiplying a number with the output of a variable

1 Ansicht (letzte 30 Tage)
amna chaudhary
amna chaudhary am 14 Apr. 2018
Kommentiert: amna chaudhary am 14 Apr. 2018
I have a variable which contains the product of some values, I want to multiply that product with another number. How can i do it please?
  2 Kommentare
John D'Errico
John D'Errico am 14 Apr. 2018
x*5
There. I multiplied x by 5. What is the question here?
amna chaudhary
amna chaudhary am 14 Apr. 2018
It was giving me a wrong answer but i just figured out that a loop in my code was wrong. thanks a lot :)

Melden Sie sich an, um zu kommentieren.

Antworten (0)

Kategorien

Mehr zu Loops and Conditional Statements finden Sie in Help Center und File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by