For clarity, the original answer only deals with 2d vectors, but I may not know the size of mine.
Function with multiple inputs to function with vector input
6 次查看(过去 30 天)
显示 更早的评论
f = @(z1, z2, ..., zn) ...
and I would need to unwrap a vector z = [z1, z2, ..., zn] instead:
f = @(z) ...
How can this be done?
采纳的回答
更多回答(0 个)
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!