How to create a vector of length m+1?

How can i do in order to create a vector of length m+1? In R i can write return(vector(mode="numeric",length=m+1)) Is there a similar way to write this command in Matlab? Thank you

回答 (1 件)

A Jenkins
A Jenkins 2015 年 1 月 13 日

0 投票

zeros(1,m+1)

カテゴリ

ヘルプ センター および File ExchangeElementary Math についてさらに検索

タグ

質問済み:

2015 年 1 月 13 日

回答済み:

2015 年 1 月 13 日

Community Treasure Hunt

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

Start Hunting!

Translated by