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

4 views (last 30 days)
How do I create the following matrix with only using reshape and/or repmat?
  5 Comments

Sign in to comment.

Answers (1)

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

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by