How to properly write sum of function handle?

后端 未结 0 1295
北恋
北恋 2020-12-30 23:56

I want to write function that calculates Bezier curve in general. My code:

function b = bezier(pts)
b = 0;
for i = 0:length(pts)-1
    b =@(t) b + pts(i+1,:)*         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题