convert formula into coding form
Mostrar comentarios más antiguos
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 comentarios
Syakira Akmal
el 11 de Abr. de 2017
Rik
el 11 de Abr. de 2017
What do you actually mean with this syntax? (And I would advise using sqrt instead of ^(1/2).)
Respuesta aceptada
Más respuestas (0)
Categorías
Más información sobre Object Analysis en Centro de ayuda y File Exchange.
Productos
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!