How to write a function handle in vectorized form and avoid an error due to lengthy equation
Ältere Kommentare anzeigen
I want to write an objective function f(x) which is very much lengthy as shown below that appears the Error message '' output truncated text exceeds maximum line length''. There are questions:
(1) How can we put them into a function handle in vectorized form (applicable in ga);
(2) How to avoid the error due to lengthyy equation.
Please advise/help
Akzeptierte Antwort
Weitere Antworten (0)
Kategorien
Mehr zu Get Started with Optimization Toolbox 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!