convert formula into coding form
Show older comments
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 Comments
Syakira Akmal
on 11 Apr 2017
Rik
on 11 Apr 2017
What do you actually mean with this syntax? (And I would advise using sqrt instead of ^(1/2).)
Accepted Answer
More Answers (0)
Categories
Find more on Object Analysis in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!