How to write a function handle in vectorized form and avoid an error due to lengthy equation
Show older comments
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
Accepted Answer
More Answers (0)
Categories
Find more on Mathematics in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!