Info

This question is closed. Reopen it to edit or answer.

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

1 view (last 30 days)
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 Comments
Walter Roberson
Walter Roberson on 14 Dec 2018
[eta, xi] = ndgrid(-1:1, -1:2);
N3=a*(xi-1).^2.*(eta-1).*(xi+1)/8;

Answers (0)

This question is closed.

Community Treasure Hunt

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

Start Hunting!