Matching matrix
2 visualizzazioni (ultimi 30 giorni)
Mostra commenti meno recenti
I have two matrixes, one is is a 37000x4 matrix (example below
'01/02/2012 00:00:01' 'BEST_BID' 4.25000000000000 90
'01/02/2012 00:00:01' 'BEST_ASK' 4.26000000000000 90
'01/02/2012 00:00:01' 'BEST_BID' 4.25000000000000 90
'01/02/2012 00:00:01' 'BEST_ASK' 4.26000000000000 90
'01/02/2012 00:00:16' 'BEST_BID' 4.24000000000000 90
'01/02/2012 00:00:16' 'BEST_ASK' 4.26000000000000 90
AND ANOTHER MATRIX OF 15000X4 BELOW EXAMPLE
'01/02/2012 00:00:23' 'TRADE' 4.25000000000000 0
'01/02/2012 00:00:38' 'TRADE' 4.25000000000000 0
'01/02/2012 00:00:53' 'TRADE' 4.25000000000000 0
'01/02/2012 00:01:08' 'TRADE' 4.25000000000000 0
'01/02/2012 00:01:23' 'TRADE' 4.25000000000000 0
I want to set up a N X 8 matrix which has all the original 37000x 4 elements but also adds the second matrix to first BUT for every time gap it maintains the price before t+1. I hope this is understandable
0 Commenti
Risposte (0)
Vedere anche
Categorie
Scopri di più su Transaction Cost Analysis in Help Center e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!