Info

La pregunta está cerrada. Vuélvala a abrir para editarla o responderla.

12 different coordinates for 12 equations, how to do it quickly?

1 visualización (últimos 30 días)
Ruslan Khoguev
Ruslan Khoguev el 4 de Dic. de 2018
Cerrada: MATLAB Answer Bot el 20 de Ag. de 2021
I have 12 different coordinates: (x,y)= (1,1) , (-1,1) , (-1,-1) etc
I need to plug one coordinate into 12 different equations, for example:
x+y=w
2x+2y=w+m
3x+3y=v+m
and so on. I need to do this for all 12 different coordinates. How can I do this quickly without having to set up 12*12 = 144 equations?
...
  7 comentarios
Ruslan Khoguev
Ruslan Khoguev el 14 de Dic. de 2018
Could you show an example of this? I am new to MATLAB
Walter Roberson
Walter Roberson el 14 de Dic. de 2018
[eta, xi] = ndgrid(-1:1, -1:2);
N3=a*(xi-1).^2.*(eta-1).*(xi+1)/8;

Respuestas (0)

La pregunta está cerrada.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by