필터 지우기
필터 지우기

Finding Annual Amplidute for each of multiple years

조회 수: 2 (최근 30일)
Robert
Robert 2016년 6월 22일
답변: Andrei Bobrov 2016년 6월 22일
I have 12 years of monthly temperature data (144 points). I want to find the annual amplitude, the max value minus the min value each year. This would be easy with only 1 years data but I can;t figure it out with multiple years.
The results should be 12 numbers, 1 amplitude per year.
Thanks in advance for any advice
  댓글 수: 2
KSSV
KSSV 2016년 6월 22일
When it is easy for 1 year data.....run the same code for each year for 12 times..you will get for each year..
Andrei Bobrov
Andrei Bobrov 2016년 6월 22일
please attach file with your data

댓글을 달려면 로그인하십시오.

답변 (1개)

Andrei Bobrov
Andrei Bobrov 2016년 6월 22일
diff(reshape(yourdata,2,[]))'

카테고리

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

태그

제품

Community Treasure Hunt

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

Start Hunting!

Translated by