Undefined function 'tr' for input arguments of type 'double
조회 수: 1 (최근 30일)
이전 댓글 표시
Hi there,
I'm trying to replicate the ivtar model by Kremers et al (2013). I tried running the programme using their data and got stuck when I run:
>> yt = tr(y,largeT,t); Undefined function 'tr' for input arguments of type 'double'
I have checked all the directories, data, etc but this problem still persist.
Thanks.
Noor
댓글 수: 0
채택된 답변
C.J. Harris
2014년 6월 30일
The error is pretty self-explanatory, you are missing the function 'tr'. The function needs to be on your path (if it exists), otherwise you'll have to write it, or ask the original author to provide it.
추가 답변 (0개)
참고 항목
카테고리
Help Center 및 File Exchange에서 Verification, Validation, and Test에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!