Community Profile

# Doheon Lee

Last seen: 3 días ago Active since 2012

#### Content Feed

View by

Question

I am using MATLAB 2021b installed in a Intel Mac (the latest release of Mac Pro, not Macbook Pro). I have the following problem...

alrededor de 2 meses ago | 2 answers | 2

### 2

Question

How to find the first date of each month in a datetime array?
I have a datetime array as below, and I like to find the first date of each month in the array. d = [ '14-Jan-2018' '1...

3 meses ago | 2 answers | 0

### 2

Question

How to deal with asset data having zeros in part when backtesting with 'runBacktest'?
When backtesting with the functions 'backtestStrategy', 'backtestEngine', and 'runBacktest', I have an issue with an asset data ...

5 meses ago | 0 answers | 0

### 0

Question

how to create a timetable from a datetime array and a matrix?
I like to create a timetable from a datetime array and a matrix. d = datetime('2021-01-01'):caldays(1):datetime('2021-01-10');...

5 meses ago | 1 answer | 0

### 1

Question

In Backtesting, where does the input argument 'current_weights' in a rebalancing function come from?
The following code is from the MATLAB documents for 'backtestStrategy' from here. Please note that I added few lines to the ori...

5 meses ago | 1 answer | 0

### 1

Question

In table, how to count a number of specific values by year?
I have a following table. Date Value win_repeat ___________ _____ __________ 20-Nov-2018...

5 meses ago | 2 answers | 0

### 2

Question

Hi MATLAB Community, I am strugling with symbolic expressions. In the following codes, the upper code (phi_1) outputs a sym...

7 meses ago | 1 answer | 0

### 1

Question

In table, how to select values in one column based on values in another column?
As given in the title, I like to call values in one table based on values in anothe column. I have a follwoing table. T = tabl...

8 meses ago | 1 answer | 0

### 1

Question

Indexing dates yearly and quarterly.
I have many tables, in which the first column is date and the second column in data. And I want to separte these data yearly a...

casi 2 años ago | 1 answer | 0

### 1

Question

Repeat Expression in a 'for' loop after try/catch
I have try/catch lines inside a 'for' loop as below. What I want is to repeat index 'i' if an error is encountered. However, 'i'...

casi 2 años ago | 1 answer | 0

### 1

Question

I have a structure data as below, i.e., result.data result.data ans = d2: [1 x 1 frame] d3: [1 x 1 signal] I ca...

más de 6 años ago | 0 answers | 0