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

조회 수: 1 (최근 30일)
Using the zeros() or ones() command.

답변 (1개)

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

카테고리

Help CenterFile Exchange에서 MATLAB에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by