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

1 visualizzazione (ultimi 30 giorni)
Using the zeros() or ones() command.

Risposte (1)

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

Categorie

Scopri di più su MATLAB in Help Center e File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by