Feeds
질문
Serious problems in MATLAB 2021b running in Mac. Please help.
I am using MATLAB 2021b installed in a Intel Mac (the latest release of Mac Pro, not Macbook Pro). I have the following problem...
대략 3년 전 | 답변 수: 3 | 4
3
답변질문
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년 전 | 답변 수: 2 | 0
2
답변질문
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 ...
3년 초과 전 | 답변 수: 0 | 0
0
답변질문
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');...
3년 초과 전 | 답변 수: 1 | 0
1
답변질문
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...
3년 초과 전 | 답변 수: 1 | 0
1
답변질문
In table, how to count a number of specific values by year?
I have a following table. Date Value win_repeat ___________ _____ __________ 20-Nov-2018...
3년 초과 전 | 답변 수: 2 | 0
2
답변질문
Please help with unexpected outputs from symbolic expressions.
Hi MATLAB Community, I am strugling with symbolic expressions. In the following codes, the upper code (phi_1) outputs a sym...
3년 초과 전 | 답변 수: 1 | 0
1
답변질문
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...
3년 초과 전 | 답변 수: 1 | 0
1
답변질문
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...
거의 5년 전 | 답변 수: 1 | 0
1
답변질문
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'...
거의 5년 전 | 답변 수: 1 | 0
1
답변질문
Access to object or struct data
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...
9년 초과 전 | 답변 수: 0 | 0
0
답변질문
How can I use the variable name in the WORK PLACE inside a function?
Maybe be my question is a bit ambiguous. I want to use one of variable names in the workplace inside a function. For example...
대략 12년 전 | 답변 수: 1 | 0