Function with multiple inputs to function with vector input

In this answer, I found my problem and a partial answer. However, In my case, I have a
f = @(z1, z2, ..., zn) ...
and I would need to unwrap a vector z = [z1, z2, ..., zn] instead:
f = @(z) ...
How can this be done?

2 comentarios

For clarity, the original answer only deals with 2d vectors, but I may not know the size of mine.
Please show the function.

Iniciar sesión para comentar.

 Respuesta aceptada

Más respuestas (0)

Categorías

Más información sobre MATLAB en Centro de ayuda y File Exchange.

Productos

Versión

R2022a

Preguntada:

el 3 de Nov. de 2022

Respondida:

el 3 de Nov. de 2022

Community Treasure Hunt

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

Start Hunting!

Translated by