Navigation

Operators and Keywords

Function List:

C++ API

shiftdim.m File Reference


Functions

 if (nargin==1) n=0
 while (n< nd &&orig_dims(n+1)==1) n++

Variables

 function [y, ns]
endif nd = ndims (x)
 orig_dims = size (x)

Function Documentation

if ( nargin  = =1  )  [pure virtual]

while (  ) 


Variable Documentation

function[y, ns]

Initial value:

 shiftdim (x, n)

  if (nargin < 1 || nargin > 2)
    print_usage ()

endif nd = ndims (x)

orig_dims = size (x)