Posted by: daurasurwal October 27, 2011
Matlab Help
Login in to Rate this Post:     0       ?        
I have to join two tables using matlab code.


Table A                                                                                                          Table B

Time                          BPM                                                                                    Time                     Velocity                            Acceleration          BBB
101                              78                                                                                          100                        1                                     1.2                             2
102                               46                                                                                          100.9                     2                                    1.5                              3
103                               32                                                                                           101.2                    3                                     1.6                             4
104                                43                                                                                           102.1                    4                                     1.8                              5
105                                100                                                                                          103.5                   5.5                                   2                               6
106                                102

I need to join table B with Table A with refrence to time. Since the time is not same interval, each data in table has to be interpolated to match with time of table A.  The final table is Table A with with new columns with  interpoltaed Velocity, acceleration, BBB corresponding to time in table B.

Please help, hoe to do it using Matlab codes?

Thanks
Read Full Discussion Thread for this article