Code the function in Matlab
显示 更早的评论
I want to code this function in matlab ( ∑_{ i=1}^{n} f(x_{i})-y_{i} ), x_{i}=(x_{1},x_{2},...,x_{n}) and y_{i}=(y_{1},y_{2},...y_{n}). So, how can I write the code. Is there anyone who can help me? Thanks in advance.
Best regars, John
2 个评论
James Tursa
2015-6-7
Do you know how to write a loop? Do you know how to use indexes with variables? Do you know how to call a function? What is f? What have you done so far?
John Gebre
2015-6-7
采纳的回答
更多回答(0 个)
类别
在 帮助中心 和 File Exchange 中查找有关 Programming 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!