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

3 ビュー (過去 30 日間)
Manasa Tarigoppula
Manasa Tarigoppula 2019 年 9 月 21 日
コメント済み: David Hill 2019 年 9 月 21 日
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 Center および File ExchangeMATLAB についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by