Unrecognized function or variable 'tradeoff'
Mostrar comentarios más antiguos
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
Respuesta aceptada
Más respuestas (1)
Luke Hill
el 5 de Mzo. de 2024
0 votos
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.
Categorías
Más información sobre Downloads en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!