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

5 views (last 30 days)
Maximilian Vorbrodt
Maximilian Vorbrodt on 23 Jan 2021
Answered: Reshma Nerella on 29 Jan 2021
How do I create the following matrix with only using reshape and/or repmat?

Sign in to comment.


Community Treasure Hunt

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

Start Hunting!

Translated by