본문 바로가기

매스매티카 기초

강의26] 리스트 다루기5: 수학적 디지털 툴(매스매티카) Mathematica Insert Delete Count Partition

수학적 디지털 툴 매스매티카의 다음과 같은 명령어에 대해서 알아보자.

Insert, Delete, Count, Partition

강의노트 다운로드: Note26-리스트다루기5.nb.pdf


연습문제: 다음의 결과를 예상하여라.

#1: Insert[{1,2,3,4},{2,4},3][[3]]

#2: Count[Flatten[Insert[{1,2,3,4},{2,4},3]],4]

#3: Partition[Table[Length[Range[i]],{i,20}],5]