How to merge variables and keeping the highest value only?

조회 수: 4 (최근 30일)
hithere
hithere 2014년 11월 2일
답변: Azzi Abdelmalek 2014년 11월 2일
Lets say I have
A = 1 3 6 8
4 6 7 9
5 8 8 12
B = 4 1 9 5
5 2 2 4
4 5 2 14
How do i merge them together, but only keeping the highest value. Meaning, it will generate a third variable and get this:
C = 4 3 9 8
5 6 7 9
5 8 8 14

채택된 답변

Azzi Abdelmalek
Azzi Abdelmalek 2014년 11월 2일

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Simulink에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by