flip

バージョン 1.4.0.0 (1.03 KB) 作成者: Marco Borges
Flip vectors and matrices in all directions
ダウンロード: 609
更新 2014/7/29

ライセンスの表示

Flip flips vectors and matrices in all directions
unlike fliplr and flipud functions, FLIP don't preserve row nor columns.
Return x = [ x[N],x[N-1],...,x[1] ] for N length column or row vector;
Return X = [ X[M,N],X[M,N-1],...X[M,1]; ]
[ X[M-1,N],X[M-1,N-1],...X[M-1,1]; ]
... .. ...
[ X[1,N], X[1,N-1], ... X[1,1] ] for M,N matrix;

引用

Marco Borges (2024). flip (https://www.mathworks.com/matlabcentral/fileexchange/47279-flip), MATLAB Central File Exchange. 取得済み .

MATLAB リリースの互換性
作成: R2012b
すべてのリリースと互換性あり
プラットフォームの互換性
Windows macOS Linux
カテゴリ
Help Center および MATLAB AnswersArithmetic Operations についてさらに検索

Community Treasure Hunt

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

Start Hunting!
バージョン 公開済み リリース ノート
1.4.0.0

Fix documentation

1.3.0.0

use get values indices to perform flip instead of loop

1.2.0.0

use same condition for row and column vector

1.1.0.0

comment

1.0.0.0