12.07.2015 Views

Learning Guide Learning Guide

Learning Guide Learning Guide

Learning Guide Learning Guide

SHOW MORE
SHOW LESS
  • No tags were found...

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

convert( L[[1..-1],[1,3]], listlist );7.1 Reading Files • 271[[0, 0], [1, 0.8414709848], [2, 0.9092974268],[3, 0.1411200081], [4, −0.7568024953],[5, −0.9589242747], [6, −0.2794154982]]The plot command can plot lists directly.> plot(%);0.80.60.40.2–0.2 0–0.4–0.6–0.81 2 3 4 5 6To select the second column of numbers, you can use the fact thatL[5,2] is the second number in the fifth sublist,> L[5,2];−0.6536436209So, you need the following data.> L[ 1..-1, 2 ];⎡⎤10.5403023059−0.4161468365−0.9899924966⎢ −0.6536436209⎥⎣ 0.2836621855 ⎦0.9601702867Convert this data to a list, and then find the mean.> convert(L[1..-1,2],list);

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!