Mostrar comentarios más antiguos
VAR_START =
9 12 14 17 24 31 34 37 40 43 46 49 52 55 58 61 64
>> NVAR = size(VAR_START)
NVAR =
1 17
What is the function of 'size' here???? why is it giving 1 17...???? I am srry bt i cannot understand!!!
1 comentario
Oleg Komarov
el 31 de Mayo de 2012
For future reference whenver you don't know wha rt a function does, doc size, or use F1
Respuesta aceptada
Más respuestas (1)
Honglei Chen
el 31 de Mayo de 2012
1 voto
Because VAR_START is a 1x17 vector, i.e., number of rows is 1 and number of columns is 17
Categorías
Más información sobre Creating and Concatenating Matrices en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!