Unrecognized function or variable 'tradeoff'
Ältere Kommentare anzeigen
I am trying to execute a code on Matlab from a known script and i am receiving this answer:
Unrecognized function or variable 'tradeoff'.
The scrip was made to a version of matlab in 2017, and using a open-source toolbox for MATLAB called MTEX
The script:
% Use trade-off curve to find cutoff between well-constrained and poorly-constrained grains
knee = tradeOff(fraction);
xlabel('Number of grains (cumulative)')
ylabel('Indexed fraction')
I tried to change for different forms like "TradeOff" "Tradeoff" "tradeoff" "tradeOff
If someone could help me I would really appreciate it
Thank you
Akzeptierte Antwort
Weitere Antworten (1)
Luke Hill
am 5 Mär. 2024
0 Stimmen
The tradeOff function is a script used in the paper of Cross et al. (2017) - you can download it from the supporting information section of their publication. Store the tradeOff.m script in the same folder as your matlab project and then the code "knee = tradeOff(fraction)" should work automatically.
Kategorien
Mehr zu Downloads finden Sie in Hilfe-Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!