MATLAB 函数式编程是怎么样的体验

如果不把传递函数句柄这种基本操作算作“函数式编程”的话,那 MATLAB 基本用不到什么函数编程。这里有几篇文章介绍的:Introduction to Functional Programming with Anonymous Functions, Part 1 " Loren on the Art of MATLABIntroduction to Functional Programming with Anonymous Functions, Part 2 " Loren on the Art of MATLABIntroduction to Functional Programming with Anonymous Functions, Part 3 " Loren on the Art of MATLAB文章的演示的意义的比较大,个人感觉实用性不高,应该不太会有人在实际应用中使用类似的写法。而且在 MATLAB 里用函数式编程性能是个很大的问题。


    推荐阅读