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 - The Fusion of Science and Community**

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

Loading...

Similar Threads - Mathematica List lists | Date |
---|---|

Mathematica How to append functions to a list of functions? | Oct 8, 2017 |

Mathematica: supply list of list to Intersection? | Jun 9, 2015 |

Mathematica: Getting part of a list, lithin a loop. | Dec 6, 2014 |

Matrix to list mathematica | Sep 21, 2014 |

[Mathematica] list plot | Nov 30, 2013 |

**Physics Forums - The Fusion of Science and Community**