arogilvie

44 Reputation

2 Badges

16 years, 184 days

MaplePrimes Activity


These are questions asked by arogilvie

Last week I asked about manipulating a Matrix into the form:

pts := [[x1,y1],[x2,y2]...[xn,yn]]

I was directed to use the zip function, which after some trial and error I have "successfully" done. The problem I am having (I think) is that I am using Maple9. Using the zip function as in the example:

I have two column matrices that I have imported into Maple from Excel (an 'x' and 'y' matrix). The algorithm I am using (that attempts to fit a circle to the data) requires the points to be in an array of the following format:

pts:=[[x1,y1],[x2,y2]...];

How can I run a loop, or other application, to pair the respective pointsto each other in an array such as the one above?

Thanks for any help.

Page 1 of 1