I keep getting this error when using trapz

조회 수: 3 (최근 30일)
caitlin Leonowicz
caitlin Leonowicz 2019년 4월 5일
답변: Walter Roberson 2019년 4월 5일
Hi this error message keeps popping up wheni use trapz and im not sure how to fix it
Error using trapz (line 47)
Dimension argument must be a positive integer scalar
within indexing range.
Error in Hw8_func_crl (line 27)
F= k_p*theta(j) + k_i*trapz(t,theta(j));

답변 (1개)

Walter Roberson
Walter Roberson 2019년 4월 5일

카테고리

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