Undefined function 'tr' for input arguments of type 'double

조회 수: 1 (최근 30일)
Noor Sidek
Noor Sidek 2014년 6월 30일
댓글: Noor Sidek 2014년 6월 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

채택된 답변

C.J. Harris
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 CenterFile Exchange에서 Verification, Validation, and Test에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by