using some old code from professor....

1 visualización (últimos 30 días)
Mark
Mark el 14 de Jul. de 2012
n=length(leng); lngsum=flipx(cumsum( flipx(leng(:))));
This was originally coded in 1989 using matlab for DOS...
I get an error on the flipx function...
If it disappeared is the flipdim an updated version of this and how would
I accomplish the same thing...
Thanks
Mark

Respuestas (2)

Star Strider
Star Strider el 14 de Jul. de 2012
Editada: Star Strider el 14 de Jul. de 2012
My guess would be ‘fliplr’ (equivalent to flipdim(leng,2)) if ‘leng’ is a row vector, ‘flipud’ (equivalent to flipdim(leng,1)) if it's a column vector.

Daniel Shub
Daniel Shub el 15 de Jul. de 2012
I would contact TMW customer support directly. TMW does not make all its documentation freely available and easly searchable. Your 25 year old license may be out of date, but they might be willing to help.

Categorías

Más información sobre Matrices and Arrays en Help Center y File Exchange.

Productos

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by