Create a 34 element column vector, PiVec, where every element is the irrational number pi

1 visualización (últimos 30 días)
Using the zeros() or ones() command.

Respuestas (1)

madhan ravi
madhan ravi el 21 de Sept. de 2019
Use those commands and add/multiply with which number you want the elements to be.
doc ones
doc zeros

Categorías

Más información sobre MATLAB en Help Center y File Exchange.

Community Treasure Hunt

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

Start Hunting!

Translated by