フィルターのクリア

Vector mirror?

65 ビュー (過去 30 日間)
Steve
Steve 2011 年 10 月 8 日
Hello Experts,
Given, for example, vector x = [4,-3,5,6].
I want it to be mirrored - x = [6,5,-3,4]
How can I do it in Matlab?
Thanks in advance!

採用された回答

Andrei Bobrov
Andrei Bobrov 2011 年 10 月 8 日
doc fliplr
x(end:-1:1)
or
fliplr(x)
  1 件のコメント
Steve
Steve 2011 年 10 月 8 日
Thank you Andrei!
It is a very simple and brilliant solution!
I am inviting you to share knowledge and learn on my blog: shareinfoblog.blogspot.com.

サインインしてコメントする。

その他の回答 (0 件)

カテゴリ

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

タグ

製品

Community Treasure Hunt

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

Start Hunting!

Translated by