필터 지우기
필터 지우기

subtract numbers in the row

조회 수: 2 (최근 30일)
Natalja
Natalja 2013년 6월 24일
I have a row of different numbers like x=[12; 15; 19; 29; 37; 58...] how can I better subtract one number from the other like 15-12, 19-15, 29-19....?

채택된 답변

Iain
Iain 2013년 6월 24일
diff(x)

추가 답변 (0개)

카테고리

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

태그

Community Treasure Hunt

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

Start Hunting!

Translated by