How to create a vector of length m+1?

4 visualizzazioni (ultimi 30 giorni)
Elena
Elena il 13 Gen 2015
Risposto: A Jenkins il 13 Gen 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

Risposte (1)

A Jenkins
A Jenkins il 13 Gen 2015
zeros(1,m+1)

Categorie

Scopri di più su Modeling in Help Center e File Exchange

Tag

Community Treasure Hunt

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

Start Hunting!

Translated by