Use reshape and/or remap to create matrix where every other row is negative

2 ビュー (過去 30 日間)
Maximilian Vorbrodt
Maximilian Vorbrodt 2021 年 1 月 23 日
回答済み: Reshma Nerella 2021 年 1 月 29 日
How do I create the following matrix with only using reshape and/or repmat?
  5 件のコメント
Jan
Jan 2021 年 1 月 24 日
Do you mean "repmat" oder "remap"?
Maximilian Vorbrodt
Maximilian Vorbrodt 2021 年 1 月 24 日
編集済み: Maximilian Vorbrodt 2021 年 1 月 24 日
Sorry it is meant to say "repmat". @Jan

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

回答 (1 件)

Reshma Nerella
Reshma Nerella 2021 年 1 月 29 日
Hi,
Refer to the documentation and examples of repmat and reshape.

カテゴリ

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

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by