How to mutiply 3 user inputs.

1 vue (au cours des 30 derniers jours)
Corey Wood
Corey Wood le 23 Sep 2020
Commenté : Rik le 23 Sep 2020
I am brand new at using MatLab, I want to mutiply 3 user inputs together, like for the volume of a cube. But I have no idea what to even do. After 4 hours of trying to figure it out, I am ready to give up.
  1 commentaire
Rik
Rik le 23 Sep 2020
Have you tried Matlab Onramp? It will teach you the Matlab basics. It is provided by Mathworks for free. I think that is a better use of your time than having your questions answered one at a time. If you have trouble finding Onramp, let me know and I'll post a link (it should be the top Google search result).

Connectez-vous pour commenter.

Réponses (1)

madhan ravi
madhan ravi le 23 Sep 2020
I = input('Number ?')
I .^ 3 % ?
  1 commentaire
madhan ravi
madhan ravi le 23 Sep 2020
doc prod % put them in a vector before using prod()

Connectez-vous pour commenter.

Catégories

En savoir plus sur Shifting and Sorting Matrices dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by