convert formula into coding form
Afficher commentaires plus anciens
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 commentaires
Syakira Akmal
le 11 Avr 2017
Rik
le 11 Avr 2017
What do you actually mean with this syntax? (And I would advise using sqrt instead of ^(1/2).)
Réponse acceptée
Plus de réponses (0)
Catégories
En savoir plus sur Object Analysis dans Centre d'aide et File Exchange
Produits
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!