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

조회 수: 2 (최근 30일)
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 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