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

1 vue (au cours des 30 derniers jours)
Noor Sidek
Noor Sidek le 30 Juin 2014
Commenté : Noor Sidek le 30 Juin 2014
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

Réponse acceptée

C.J. Harris
C.J. Harris le 30 Juin 2014
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.

Plus de réponses (0)

Catégories

En savoir plus sur Verification, Validation, and Test dans Help Center et File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by