Evaluation of function handler

3 Ansichten (letzte 30 Tage)
mosayyeb
mosayyeb am 4 Dez. 2014
Beantwortet: Andrei Bobrov am 18 Okt. 2019
I have function handler with e.g. 2 variable (F=@(x,y) x+y. If I want to add value to one of variables (e.g. y=2), and I need explicit form of function handle (e.i. F=@(x) x+2). what should I do?

Antworten (1)

Andrei Bobrov
Andrei Bobrov am 18 Okt. 2019
F = F(x,y)x + y;
FF = @(x)F(x,2);

Kategorien

Mehr zu Graphics Object Programming 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!

Translated by