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 Center および File ExchangeVerification, Validation, and Test についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by