MATLAB warning with Trapz
조회 수: 8 (최근 30일)
이전 댓글 표시
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
댓글 수: 0
답변 (1개)
Star Strider
2020년 9월 5일
The dim (dimension) argument is the last argumen to trapz. See Integrate Matrix with Nonuniform Spacing for an illustration. .
참고 항목
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!