using some old code from professor....
2 次查看(过去 30 天)
显示 更早的评论
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
0 个评论
回答(2 个)
Star Strider
2012-7-14
编辑:Star Strider
2012-7-14
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.
0 个评论
Daniel Shub
2012-7-15
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.
0 个评论
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Matrices and Arrays 的更多信息
产品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!