Replacing elements in an array

조회 수: 71 (최근 30일)
Vadim Tambovtsev
Vadim Tambovtsev 2016년 9월 26일
편집: michio 2016년 9월 26일
Didn't find a relevant answer.
Suppose we have an array
R=[1 2 1 2 2 2]';
How to replace "2" with "4" ?
Thank you.

채택된 답변

michio
michio 2016년 9월 26일
편집: michio 2016년 9월 26일

추가 답변 (0개)

제품

Community Treasure Hunt

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

Start Hunting!

Translated by