Info

Questa domanda è chiusa. Riaprila per modificarla o per rispondere.

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

1 visualizzazione (ultimi 30 giorni)
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 Commenti
Ruslan Khoguev
Ruslan Khoguev il 14 Dic 2018
Could you show an example of this? I am new to MATLAB
Walter Roberson
Walter Roberson il 14 Dic 2018
[eta, xi] = ndgrid(-1:1, -1:2);
N3=a*(xi-1).^2.*(eta-1).*(xi+1)/8;

Risposte (0)

Questa domanda è chiusa.

Community Treasure Hunt

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

Start Hunting!

Translated by