MATLAB Answers

I need to arrange the elements as shown in the figure. Can anyone suggest an algorithm for this arrangement of elements?

1 ビュー (過去 30 日間)
S Priya
S Priya 2021 年 8 月 25 日
回答済み: darova 2021 年 8 月 25 日
I am currently working in FE analysis. I need to arrange the elements as shown in the figure. Can anyone suggest an algorithm for this arrangement of elements?

回答 (1 件)

darova
darova 2021 年 8 月 25 日
Use flipud
A = reshape(1:12,[3 4]);
A'
ans = 4×3
1 2 3 4 5 6 7 8 9 10 11 12
flipud(A')
ans = 4×3
10 11 12 7 8 9 4 5 6 1 2 3

Community Treasure Hunt

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

Start Hunting!

Translated by