Borrar filtros
Borrar filtros

How to write equation a for X and Y

2 visualizaciones (últimos 30 días)
Elysi Cochin
Elysi Cochin el 3 de Mzo. de 2018
Respondida: Image Analyst el 3 de Mzo. de 2018
How to write equation a for X and Y using the below image (how to obtain X and Y)
  1 comentario
Rik
Rik el 3 de Mzo. de 2018
I don't understand the constraints of your question, nor what makes this a Matlab question. You have a direct equation to obtain X and Y, so what is your problem?

Iniciar sesión para comentar.

Respuesta aceptada

Image Analyst
Image Analyst el 3 de Mzo. de 2018
Try this:
xy = [xj-xi; yj-yi];
rotationMatrix = [cos(theta), sin(theta); sin(theta), -cos(theta)]
XY = rotationMatrix * xy;
X = XY(1);
Y = XY(2);

Más respuestas (0)

Categorías

Más información sobre Mathematics and Optimization en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by