MATLAB map and reduce: functional programming

 Respuesta aceptada

Bjorn Gustavsson
Bjorn Gustavsson el 14 de Mzo. de 2021

0 votos

You could get parts of the way with cellfun and arrayfun, typically in combination with anonymous functions (fcn = @(x) sin(x)). Then there are at least 2 submissions on the file exchange with functional programming tools: functional-programming-constructs and functional-library. Loren also published a series of posts on this: introduction-to-functional-programming-with-anonymous-functions-part-1, should give some good information.
HTH

Más respuestas (0)

Categorías

Más información sobre Performance and Memory en Centro de ayuda y File Exchange.

Community Treasure Hunt

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

Start Hunting!

Translated by