How to create a vector of length m+1?

9 次查看(过去 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 CenterFile Exchange 中查找有关 Statistics 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