Create a 34 element column vector, PiVec, where every element is the irrational number pi
    1 view (last 30 days)
  
       Show older comments
    
Using the zeros() or ones() command.
2 Comments
Answers (1)
  madhan ravi
      
      
 on 21 Sep 2019
        Use those commands and add/multiply with which number you want the elements to be.
doc ones
doc zeros
0 Comments
See Also
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!