extract part of fints

조회 수: 2 (최근 30일)
Tintin Milou
Tintin Milou 2015년 3월 6일
Hi,
I have a fints object called x1, containing a column of dates and one column of values. I want to extract the following dates:
tmp=x1('03/31/1995::06/30/2014');
However, I can't be sure that x1 actually contains data from 1995q1 to 2014q2. So I want to do the following:
If x1 covers a longer time period, then only extract 1995q1 - 2014q2. If x1 covers a shorter time period, then replace all the missing values by 0.
Any ideas? Thanks!

답변 (0개)

카테고리

Help CenterFile Exchange에서 MATLAB에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by