How to create a vector of length m+1?

1 回表示 (過去 30 日間)
Elena
Elena 2015 年 1 月 13 日
回答済み: A Jenkins 2015 年 1 月 13 日
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 日
zeros(1,m+1)

カテゴリ

Help Center および File ExchangeStatistics and Machine Learning Toolbox についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by