Properties
Similar Topics
Statistics
Comments
4
Participants
4
Subscribers
4
Votes
1
Views
712
Share
Two lists to a list of points
Answered
Hi
Normally I make a list of points from the spreadsheet.
But how can I make a list of points from two lists defined as l1={1,2,3,4} and l2={5,6,7,8}?
I want a result as l3={{1,5},{2,6},{3,6},{4,8}}, and the aim is do linear regression on the points.
And I want to do it by use of commands in the inputline.
Regards
Olav
 GeoGebra
 Help
 Partners

Contact us
 Feedback & Questions
 This email address is being protected from spambots. You need JavaScript enabled to view it.
 +43 677 6137 2693
© 2020 International GeoGebra Institute
You can create a sequence: Sequence(l1(n) l2(n), n, 1, 4)
This takes every nth number from 1 to 4 of the lists l1 and l2 to form the coordinates.More generally you can use the length of l1 and l2 instead of the end number of course
chris
Try
Comments have been locked on this page!