Skip to content

SakNgoi

สักงอย ดอท คอม

  • Home
  • รับงาน
  • เกี่ยวกับ Sak Ngoi
  • Home
  • รับงาน
  • เกี่ยวกับ Sak Ngoi
SakNgoi

Matlab sortrows ในแบบของ Mathematica

SortRows[ls_, elem_] := ls[[Ordering[ls[[All, elem]]]]]

SortRows จะเหมือน Sort ถ้า elem = 1

sortrows(A,[1 7]) = SortRows[A,{1,7}]

Share this post!

  • Facebook
  • Twitter

Like this:

Like Loading...

Related

Author BrightPosted on July 26, 2012Categories MathematicaTags Mathematica, MATLAB, Ordering, Sort, sortrows

Post navigation

Previous Previous post: “3 11 13 18 27 36 82 231” ใช้เลข 8 ตัวนี้ ทำให้ได้88
Next Next post: โชว์ว่าโปรแกรมมันคำนวณถึงไหนแล้วด้วย ProgressIndicator

ค้นหา

Follow me on Twitter

My Tweets

สถิติจำนวนเยี่ยมชมเว็บ

  • 79,634 ครั้ง

โพสท์เก่า ๆ

โพสท์ที่ถูกอ่านมากที่สุดในช่วง 48 ชม.

  • มาลองทำ Molecular Dynamics Simulation ของโปรตีนกันครับ 1
  • RLongLexTo แบ่งคำภาษาไทยใน R
  • การติดตั้ง TeX Live บน Windows 10
  • การ copy ลิงค์จาก google
  • Wolfram Mathematica Download Manager

ผู้มาเยือน

  • Home
  • รับงาน
  • เกี่ยวกับ Sak Ngoi
  • Home
  • รับงาน
  • เกี่ยวกับ Sak Ngoi
SakNgoi Proudly powered by WordPress
%d bloggers like this: