How to delete a row from a Financial Time Series?
古いコメントを表示
Hi,
This seems like such a simple action, but I can't find an answer. How do I delete rows from a fints object?
With a matrix I just use: mat1(3:4,:)=[];
But, that doesn't work with fints. I suppose one could do this with the data table app, but I need a command line option.
Thanks in advance!
1 件のコメント
Azzi Abdelmalek
2015 年 3 月 3 日
Can you give a short example?
採用された回答
その他の回答 (2 件)
Shoaibur Rahman
2015 年 3 月 3 日
This works here, delete rows 2 from 4:
A = [1 2 3; 4 5 6; 7 8 9; 2 4 6; 1 3 5];
A(2:4,:)=[]
When using your code, do you get any error message?
PNWmatlab
2015 年 3 月 3 日
カテゴリ
ヘルプ センター および File Exchange で MATLAB についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!