sum two functions together

Hi,
I wanna sum two (or more) functions together, like image below.
What efficient way do you recommend?
Thank you.

4 comentarios

KSSV
KSSV el 28 de Jun. de 2019
USe Sum.
Amir
Amir el 28 de Jun. de 2019
Editada: Amir el 28 de Jun. de 2019
Each function define in its domain!
First function: from a to d,
Second function: from c to f,
Third function: from b to e.
Torsten
Torsten el 28 de Jun. de 2019
fun1 = @(x)...;
fun2 = @(x)...;
fun3 = @(x)...;
fun_sum = @(x) fun1(x) + fun2(x) + fun3(x);
Amir
Amir el 28 de Jun. de 2019
Thank you Torsten, It worked well.

Iniciar sesión para comentar.

Respuestas (0)

Categorías

Más información sobre Just for fun en Centro de ayuda y File Exchange.

Preguntada:

el 28 de Jun. de 2019

Comentada:

el 28 de Jun. de 2019

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by