フィルターのクリア

Matching matrix

1 回表示 (過去 30 日間)
Mate 2u
Mate 2u 2012 年 2 月 10 日
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 件)

カテゴリ

Help Center および File ExchangeTransaction Cost Analysis についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by