matlab之flipud()函數


此函數實現矩陣的上下翻轉。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


免責聲明!

本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。



 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM