How to create a vector of length m+1?

조회 수: 2 (최근 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에서 Elementary Math에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by