fliplr
Flip array left to right
Syntax
B = fliplr(A)
Description
B = fliplr(
returns A
)A
with its columns flipped in the left-right direction (that is, about a vertical axis).
B = fliplr (a) 返回 A, 其列在左右方向 (即关于垂直轴) 反转。
If A
is a row vector, then fliplr(A)
returns a vector of the same length with the order of its elements reversed. If A
is a column vector, then fliplr(A)
simply returns A
. For multidimensional arrays, fliplr
operates on the planes formed by the first and second dimensions.
如果 a 是行向量, 则 fliplr (a) 返回与其元素的顺序反转的相同长度的向量。如果 a 是列向量, 则 fliplr (a) 只是返回 a。对于多维数组, fliplr 在由第一个和第二个维度形成的平面上运行。
Flip Row Vector
Create a row vector.