Help with Mathematica Code: Matching Two Lists

  • Thread starter Thread starter umangdighe
  • Start date Start date
  • Tags Tags
    Mathematica
AI Thread Summary
The discussion revolves around writing Mathematica code to match two lists: one for time (t) and another for temperature (T). The user seeks to correspond values from these lists, where each temperature value corresponds to a specific time value. A suggestion is made to combine the lists into a 2D list format, allowing for easy access to corresponding elements. The user is looking for further assistance and clarification on this approach. The conversation emphasizes the need for effective data organization in Mathematica for accurate calculations.
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
 
Mathematics 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?
 
Thread 'Video on imaginary numbers and some queries'
Hi, I was watching the following video. I found some points confusing. Could you please help me to understand the gaps? Thanks, in advance! Question 1: Around 4:22, the video says the following. So for those mathematicians, negative numbers didn't exist. You could subtract, that is find the difference between two positive quantities, but you couldn't have a negative answer or negative coefficients. Mathematicians were so averse to negative numbers that there was no single quadratic...
Insights auto threads is broken atm, so I'm manually creating these for new Insight articles. In Dirac’s Principles of Quantum Mechanics published in 1930 he introduced a “convenient notation” he referred to as a “delta function” which he treated as a continuum analog to the discrete Kronecker delta. The Kronecker delta is simply the indexed components of the identity operator in matrix algebra Source: https://www.physicsforums.com/insights/what-exactly-is-diracs-delta-function/ by...
Thread 'Unit Circle Double Angle Derivations'
Here I made a terrible mistake of assuming this to be an equilateral triangle and set 2sinx=1 => x=pi/6. Although this did derive the double angle formulas it also led into a terrible mess trying to find all the combinations of sides. I must have been tired and just assumed 6x=180 and 2sinx=1. By that time, I was so mindset that I nearly scolded a person for even saying 90-x. I wonder if this is a case of biased observation that seeks to dis credit me like Jesus of Nazareth since in reality...
Back
Top