此函数实现矩阵的上下翻转。fliplw()实现左右旋转。

举例:

a =[1 2;3 4;5 6]

 flipud(a)的结果:

5 6
3 4
1 2

 fliplr(a)的结果:

2 1
4 3
6 5

单词flip在牛津词典中的第一条意思就是:

1.(使)快速翻转,迅速翻动 
to turn over into a different position with a sudden quick movement; to make sth do this

flipud=flip up and down

fliplw=flip left and write

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-12-15
  • 2021-12-12
猜你喜欢
  • 2021-12-03
  • 2021-12-22
  • 2021-12-12
  • 2021-12-09
  • 2021-09-13
  • 2021-05-21
  • 2022-01-07
相关资源
相似解决方案