Subtract function from array
이전 댓글 표시
Hi, I have a list of x/y coordinates. Is there an easy way to subtract a function (y = f(x)) from all y data? Thanks a lot!
Jacob
채택된 답변
추가 답변 (2개)
Walter Roberson
2012년 1월 16일
arrayfun(@(x, y) y - f(x), x, y)
카테고리
도움말 센터 및 File Exchange에서 Image Arithmetic에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!