CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > General Forums > Structural Mechanics

Sort Matrix Array in ANSYS Mechanical APDL

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   January 9, 2016, 11:02
Default Sort Matrix Array in ANSYS Mechanical APDL
  #1
New Member
 
esehov
Join Date: Jan 2016
Posts: 1
Rep Power: 0
esehov11 is on a distinguished road
I have an array in ANSYS Mechanical APDL that looks like:

A = [1 4
2 8
3 2
4 10
5 11]

I want to sort matrix A with respect to the second column in A so a matrix B is obtained:

B = [5 11
4 10
2 8
1 4
3 2]
esehov11 is offline   Reply With Quote

Reply

Tags
ansys, apdl, array, matrix, sort


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
ANSYS Mechanical APDL mechanicaldesign ANSYS 2 December 30, 2018 03:44
2-way FSI in Ansys CFX 15 LucasGasparino CFX 3 August 6, 2015 04:17
Output Stiffness Matrix ANSYS Workbench USER1234 ANSYS 1 July 13, 2015 22:45
How to simulate force being loaded on composites with ANSYS Mechanical APDL? ajn46 Structural Mechanics 0 May 23, 2015 11:01
Mechanical APDL installation error... please help.... Alvan86 ANSYS 1 April 25, 2011 07:19


All times are GMT -4. The time now is 15:19.