I am dealing with a set of data where I have values C(x,t) for a discrete set of x and t values.(adsbygoogle = window.adsbygoogle || []).push({});

Say:

x={1,5}

t={1,3,7}

C={{C(1,1),C(1,3),C(1,7)},{C(5,1),C(5,3),C(5,7)}}.

How do I combine this to a list that looks like:

{{{1,1,C(1,1)},{1,3,C(1,3)},{1,7,C(1,7)},{5,1,C(5,1)},{5,3,C(5,3)},{5,7,C(5,7)}} so that I can make a 3D plot and do a 3D curve fitting?

Sue

**Physics Forums | Science Articles, Homework Help, Discussion**

The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

# Mathematica: Make a 3D List from two 1D lists and a tables

**Physics Forums | Science Articles, Homework Help, Discussion**