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

1 次查看(过去 30 天)
How do I create the following matrix with only using reshape and/or repmat?
  5 个评论

请先登录,再进行评论。

回答(1 个)

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

类别

Help CenterFile Exchange 中查找有关 Matrix Indexing 的更多信息

标签

Community Treasure Hunt

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

Start Hunting!

Translated by