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

2 visualizaciones (últimos 30 días)
How do I create the following matrix with only using reshape and/or repmat?
  5 comentarios
Maximilian Vorbrodt
Maximilian Vorbrodt el 24 de En. de 2021
Editada: Maximilian Vorbrodt el 24 de En. de 2021
Sorry it is meant to say "repmat". @Jan

Iniciar sesión para comentar.

Respuestas (1)

Reshma Nerella
Reshma Nerella el 29 de En. de 2021
Hi,
Refer to the documentation and examples of repmat and reshape.

Categorías

Más información sobre Logical en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by