MATLAB map and reduce: functional programming
16 ビュー (過去 30 日間)
古いコメントを表示
What is the MATLAB equivalent of python's MAP and REDUCE?
0 件のコメント
採用された回答
Bjorn Gustavsson
2021 年 3 月 14 日
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
0 件のコメント
その他の回答 (0 件)
参考
カテゴリ
Help Center および File Exchange で Call Python from MATLAB についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!