Help with Mathematica Code: Matching Two Lists

  • Context: Mathematica 
  • Thread starter Thread starter umangdighe
  • Start date Start date
  • Tags Tags
    Mathematica
Join the discussion
Ask a follow-up here, or get your own question answered by working scientists, mathematicians and engineers — people, not an autocomplete.
Real named experts · corrections over time · the nuance an AI answer skips
3 replies · 3K views
umangdighe
Messages
3
Reaction score
0
Hi guys,

I am writing a code for mathematica...

I have two lists for t(time) and T(temperature) such that t=(t1,t2,t3...tn) and T=(T1,T2,T3,T4,T5...Tn)
I have a formula that needs me to correspond the values in the two lists...which means... T1 is the value recorded at t1...

any suggestions ?


thanks
 
Physics news on Phys.org
tn=Tn where n=1,2,3,4......
 
Put them together into a single 2D list, i.e.
Data={t,T}

Then tn will be Data[[ 1,n]] , and Tn will be Data[[2,n]] .

Is this what you're trying to do?