How to find and copy from data1.dat to data3.dat The searching interval is found in data2.mat

1 view (last 30 days)
How to find and copy from data1.dat to data3.dat The searching interval is found in data2.mat
I need to find in a database the time and to copy some of the rows in another files. INPUT1: data1.mat Col1=Time0 (datenum format "01-Mar-2000 15:45:17") Col2=Temp1 Col3=Temp2 INPUT2: data2.mat Col1=Time1 (datenum format "01-Mar-2000 15:45:17") Col2=Time2 (datenum format "01-Mar-2000 15:45:17") INPUT3: data3.mat like INPUT1
Questions: 1. I want to find: the "Time1" from the "data2.mat" to fit with the "Time0" in the "data1.mat" 2. And find "Time2: from the "data2.mat" to fit with the "Time0" in the "data1.mat" 3. Copy from Time1 to Time2 from data1.mat in the data3.mat all the row.
  4 Comments
Walter Roberson
Walter Roberson on 9 Mar 2012
Jan is indicating that he does not accept email questions.
I know that you emailed this question to at least one person, as you sent it to me.
Jan
Jan on 9 Mar 2012
I got an email from you, which contains a copy of this question and the hint "The question there is the the list of questions".
Please think twice before you send an email: We have 27'967 questions in this forum today. Imagine my personal opinion about this forum, if all of them had send me a copy of their questions by email.
I'd appreciate to be contacted by email only for personal message. And here "personal" mean "concerning my person". Thanks.

Sign in to comment.

Answers (0)

Products

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!