Anonymous Functions in another anonymous function
19 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
Andy Tran
am 6 Jun. 2020
Beantwortet: madhan ravi
am 6 Jun. 2020
I'm working with function handle and i want to generate a function by combining others functions like below:
f1 = @(x) x(1)/(1+x(2));
f2 = @(x) x(2)/(1+x(1));
f3 = @(x) f1 + f2
Of course it doesn't work, can somebody show me the way how to do it?
Many thanks!
0 Kommentare
Akzeptierte Antwort
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu Function Handles finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!