Writing a matlab function- get number of rows
1 Ansicht (letzte 30 Tage)
Ältere Kommentare anzeigen
I'm new to Matlab.
I'm writing a matlab function to which I have given the arguments: Params, X,Y
All 3 are vectors.
I want to find out how many rows vector X has.
What is the corresponding matlab command/inbuilt function?
I was thinking of using :
MStruct = get(DMObj)
PropertyValue = get(DMObj, 'NRows')
Any better suggestions please?
0 Kommentare
Antworten (3)
Shalini
am 5 Mär. 2012
2 Kommentare
Walter Roberson
am 5 Mär. 2012
Declaration of variables was addressed in your topic
http://www.mathworks.com/matlabcentral/answers/31248-variable-declaration-in-matlab
Siehe auch
Kategorien
Mehr zu Get Started with MATLAB finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!