Hello.
How to convert two lists like these:
a={2,3,4,5}
b={4,5,6,7}
to a set of data like this:
data={{2,4},{3,5},{4,6},{5,7}}
How to do this? :/
thanks.
Printable View
Hello.
How to convert two lists like these:
a={2,3,4,5}
b={4,5,6,7}
to a set of data like this:
data={{2,4},{3,5},{4,6},{5,7}}
How to do this? :/
thanks.
If you've already assigned the variables a and b, try this command:
Otherwise, go withCode:Thread[a,b]
Cheers.Code:Thread[{2,3,4,5},{4,5,6,7}]
Yeah, you're right. You'd have to include those. Anyway. You're welcome. Have a good one!