MATLAB Answers


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

Asked by Manasa Tarigoppula on 21 Sep 2019
Latest activity Commented on by David Hill on 21 Sep 2019
Using the zeros() or ones() command.

1 Answer

Answer by 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


Sign in to comment.