How to create a vector of length m+1?

4 vues (au cours des 30 derniers jours)
Elena
Elena le 13 Jan 2015
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

Réponses (1)

A Jenkins
A Jenkins le 13 Jan 2015
zeros(1,m+1)

Catégories

En savoir plus sur Modeling dans Help Center et File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by