convert formula into coding form
이전 댓글 표시
Hi, i have this kind of formula
dy=(X,Y+1)-(X,Y-1)
dx=(X+1,Y)-(X-1,Y)
(X,Y)=(dx^2+dy^2)^1/2
and i want to convert into coding form.Can anyone help me? and I just get confuse whether the formula need to be to a second derivation or just power of 2 the value?
댓글 수: 2
Syakira Akmal
2017년 4월 11일
Rik
2017년 4월 11일
What do you actually mean with this syntax? (And I would advise using sqrt instead of ^(1/2).)
채택된 답변
추가 답변 (0개)
카테고리
도움말 센터 및 File Exchange에서 Object Analysis에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!