What is the meaning of any_image(:,w:-1:1) in MATLAB

11 ビュー (過去 30 日間)
Mustafa Uysal
Mustafa Uysal 2019 年 11 月 12 日
コメント済み: Stephen23 2019 年 11 月 12 日
I have seen this line in a program, but couldn't understand what it means. As far as i know, the first part means 'for all rows' but i didn't understand
w:-1:1
this part.

採用された回答

Marcel Kreuzberg
Marcel Kreuzberg 2019 年 11 月 12 日
w:-1:1 start with w step -1 till 1
6:-1:1 -> 6 5 4 3 2 1

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeImages についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by