看板 Mathematica 關於我們 聯絡資訊
果然你是問相對最低點 = = 我的一行寫法是 (*生出測資*) data= MapThread[List, {Range[20], RandomInteger[{1,10},20]]} (*選擇*) choice= ReplaceList[data,{___,x_List,y_List,z_List,___} /;Last@x > Last@y && Last@y < Last@z -> y] ___ 是三個底線 _ ,等於BlankNullSequence -- ※ 發信站: 批踢踢實業坊(ptt.cc) ◆ From: 140.112.213.88
candy88257:我在研究一下,感謝!!! 11/07 16:36