Home > freetb4matlab > nnet > vec2ind.m

vec2ind

PURPOSE ^

% @code{vec2ind} convert vectors to indices

SYNOPSIS ^

function [ind]=vec2ind(vector)

DESCRIPTION ^

% -*- texinfo -*-
% @deftypefn {Function File} {@var{ind}} = vec2ind (@var{vector})
% @code{vec2ind} convert vectors to indices
%
%
% @example
% EXAMPLE 1
% vec = [1 2 3; 4 5 6; 7 8 9];
%
% ind = vec2ind(vec)
% The prompt output will be:
% ans = 
%    1 2 3 1 2 3 1 2 3
% @end example
%
% @end deftypefn

CROSS-REFERENCE INFORMATION ^

This function calls: This function is called by:
Generated on Fri 22-May-2009 15:13:00 by m2html © 2003