Info

この質問は閉じられています。 編集または回答するには再度開いてください。

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

1 回表示 (過去 30 日間)
Ruslan Khoguev
Ruslan Khoguev 2018 年 12 月 4 日
閉鎖済み: MATLAB Answer Bot 2021 年 8 月 20 日
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 件のコメント
Ruslan Khoguev
Ruslan Khoguev 2018 年 12 月 14 日
Could you show an example of this? I am new to MATLAB
Walter Roberson
Walter Roberson 2018 年 12 月 14 日
[eta, xi] = ndgrid(-1:1, -1:2);
N3=a*(xi-1).^2.*(eta-1).*(xi+1)/8;

回答 (0 件)

この質問は閉じられています。

Community Treasure Hunt

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

Start Hunting!

Translated by