MATLAB warning with Trapz

조회 수: 8 (최근 30일)
keerthi appala
keerthi appala 2020년 9월 5일
댓글: Star Strider 2020년 9월 5일
hi i have used the following code
norm_ms_all = ms' / trapz(trapz(ms').
Matlab has issued a warning "Instead of using transpose ('), consider using a different DIMENSION input argument to TRAPZ".
How to correct this?
Thanks in advance

답변 (1개)

Star Strider
Star Strider 2020년 9월 5일
The dim (dimension) argument is the last argumen to trapz. See Integrate Matrix with Nonuniform Spacing for an illustration. .
  댓글 수: 2
keerthi appala
keerthi appala 2020년 9월 5일
Thank you.I'll check the link
Star Strider
Star Strider 2020년 9월 5일
My pleasure!

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

카테고리

Help CenterFile Exchange에서 Numerical Integration and Differentiation에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by