Code covered by the BSD License  

Highlights from
Mastering Mechanics 1: Using MATLAB 5

image thumbnail

Mastering Mechanics 1: Using MATLAB 5

by

 

20 Aug 2002 (Updated )

Companion Software

[num]=cols(m)
function [num]=cols(m)
%COLS Counts the number of columns in a matrix.
%   COLS(X) is the number of columns in matrix X.
%
%   See also ROWS.m

%   Details are to be found in Mastering Mechanics I, Douglas W. Hull,
%   Prentice Hall, 1998

%   Douglas W. Hull, 1998
%   Copyright (c) 1998-99 by Prentice Hall
%   Version 1.00

num=size(m,2);

Contact us