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!