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!