Feeds
提问
timerange subscript within a timetable
End goal: timeTableTT14to22 = timeTableTT(hours(14) <= timeofday(timeTableTT.Date) & timeofday(timeTableTT.Date) <= hours(22), ...
4 days 前 | 0 个回答 | 0
0
个回答提问
using a MATLABEngine obj to dynamically construct a timetable with dates "yyyy-MM-dd" as keys and multiple double value columns
Hi Experts, 1) Looking for a best practice/way to dynamically build a timetable (through a for loop that would add multiple lin...
14 days 前 | 0 个回答 | 0
0
个回答提问
NuGet - mathworks.prodserver.dotnetclient library
Hi All, Curious to understand if any of you are using: https://www.nuget.org/packages/mathworks.prodserver.dotnetclient/2023....
15 days 前 | 0 个回答 | 0
0
个回答提问
backtestStrategy: rebalance function keeps track of past & current open position
Hi All, backtestStrategy provides a great workflow for defining a strategy, which includes the rebalancing function. As part ...
25 days 前 | 1 个回答 | 0
1
个回答提问
call Matlab code from c# / .NET threads: multi-thread scalability: is MathWorks.MATLAB.Engine best option?
Hi Experts, Typically NET & Matlab synergies is a common topic of interest. Having said that, just simply calling a function h...
2 months 前 | 1 个回答 | 0
1
个回答提问
excel-like formula column
matrix of two columns representing in the morning and in the day. can we have a 3rd column that would compute the average of f...
4 months 前 | 1 个回答 | 0
1
个回答提问
Index a Y = MxN, with X=Mx5 (where elements in X are column IDs for values to extract from Y)
Having a Y = MxN matrix of data, and a X = Mx5 (or other fixed nr. < than N) matrix obtained as: [~, X] = maxk(Z,5,2); % where ...
4 months 前 | 1 个回答 | 0
1
个回答已回答
riskfolio-lib / PyPortfolioOpt like functionality
thanks @Steven Lord! Let's get deeper into it then: Riskfolio-lib: https://riskfolio-lib.readthedocs.io/en/latest/index.html ...
riskfolio-lib / PyPortfolioOpt like functionality
thanks @Steven Lord! Let's get deeper into it then: Riskfolio-lib: https://riskfolio-lib.readthedocs.io/en/latest/index.html ...
1 year 前 | 0
提问
riskfolio-lib / PyPortfolioOpt like functionality
Hi All, Is there any functionality equivalent to python's riskfolio-lib/PyPortfolioOpt libraries, or what's the closest? than...
1 year 前 | 2 个回答 | 0
2
个回答提问
work with dxFeed data feed?
It would be great if someone presents an example of working with dxFeed datafeed.
1 year 前 | 0 个回答 | 0
0
个回答提问
rowfun (or other function?) to access multiple rows in a table (as in current + previous 5 rows)
Following the excel typical example, where a new column can be a formula accessing current row + values in row(s) above / below ...
3 years 前 | 0 个回答 | 0
0
个回答已回答
Error in ibtws connecting (Trading Toolbox)
Guys, one question ... Why do you still have Interactive Brokers as a supported broker and data source in the DOCs ... if it ...
Error in ibtws connecting (Trading Toolbox)
Guys, one question ... Why do you still have Interactive Brokers as a supported broker and data source in the DOCs ... if it ...
4 years 前 | 0
已回答
How to fix a simple callback function with a tcpip object?
Should we specify a function: function dispcallback(obj,event) callbackTime = datestr(datenum(event.Data.AbsTime)); f...
How to fix a simple callback function with a tcpip object?
Should we specify a function: function dispcallback(obj,event) callbackTime = datestr(datenum(event.Data.AbsTime)); f...
4 years 前 | 0
提问
can a struct function access struct elements ?
myStruct.va1 = 1 myStruct.val2 = 2 myStruct.mySum = @(x,y) x + y nonetheless, x & y are specific inputs into the function. ...
4 years 前 | 1 个回答 | 0
1
个回答提问
dynamic java path vs static java path
So, docs say one can add file javaclasspath.txt under the 'prefdir' folder, and its contents are loaded statically upon Matlab's...
4 years 前 | 1 个回答 | 0
1
个回答提问
declare global var by string name
within a function: function DoSomeWork(globalVarName, var2, var3, etc) global globalvarName ??? // so something with gl...
4 years 前 | 1 个回答 | 0
1
个回答提问
converting a table (having as first col a datetime col) col into a datetime (having both date & time in its composition)
Oftentimes a datetable has 2 adjacent columns: a datetime with a date and a string with a time. If one wants to concatenate the...
4 years 前 | 1 个回答 | 0
1
个回答提问
state machine programming - helper tools
Hi, Are there any predefined classes/objects/functions/docs to make state machines in matlab easier to develop? thanks
4 years 前 | 1 个回答 | 0
1
个回答已回答
Field List of IQFeed Realtime Data
Matlab doesn't have a robust IQFeed library ... multiple cases opened, with a couple of conclusions: 1) IQFeed might sporadic...
Field List of IQFeed Realtime Data
Matlab doesn't have a robust IQFeed library ... multiple cases opened, with a couple of conclusions: 1) IQFeed might sporadic...
5 years 前 | 0
提问
programming generic state machines (that would handle a custom data science App): regular .m code vs Simulink / Stateflow?
Usually, one would use Simulink/Stateflow for HDL/Bio/Automotive/Embedded-FPGA/C++/etc. scope ... which a highly focused applic...
5 years 前 | 0 个回答 | 0
0
个回答提问
can I increase maximum possible array used memory?
I get: >> memory Maximum possible array: 6209 MB (6.510e+09 bytes) * Memory available for all arrays: 6...
5 years 前 | 1 个回答 | 0
1
个回答已回答
nchoosek with range of k values and ordered sequential value sets
A modified version of an nchoosek sub-function might do the trick: function P = combsCont(v,m) %COMBS All possible comb...
nchoosek with range of k values and ordered sequential value sets
A modified version of an nchoosek sub-function might do the trick: function P = combsCont(v,m) %COMBS All possible comb...
5 years 前 | 0
| 已接受
提问
nchoosek with range of k values and ordered sequential value sets
The below: function cnkMatAll = NChooseKRange(nVect, kRange) % NChooseKRange % % Combinations of N taken as k ...
5 years 前 | 1 个回答 | 0
1
个回答已回答
is there an alternative to nchoosek which is too slow?
not if some sort of (in-memory?) compression is applied ... if that's even possible. but looking at the brutal return of say n...
is there an alternative to nchoosek which is too slow?
not if some sort of (in-memory?) compression is applied ... if that's even possible. but looking at the brutal return of say n...
5 years 前 | 0
提问
how can we estimate memory requirements for nchoosek?
nchoosek is a memory intensive command ... to the point it can easily kneel down your system ... or get something back as the be...
5 years 前 | 1 个回答 | 0
1
个回答提问
is there an alternative to nchoosek which is too slow?
Try cnk = nchoosek(1:40, 10) and you'll see how slow it is. Is there an alternative? Thanks
5 years 前 | 2 个回答 | 0
2
个回答已回答
Replace NaN's in table with zero
so, in other words: mainTTable{:,:}(ismissing(mainTTable)) = 0;
Replace NaN's in table with zero
so, in other words: mainTTable{:,:}(ismissing(mainTTable)) = 0;
5 years 前 | 0
已回答
having a 2 months timetable with 10 minute data points, is it possible to extract first half of each day using subscripting?
that's the Pandas equivalent: https://stackoverflow.com/questions/19179214/selecting-data-between-specific-hours-in-a-pandas-...
having a 2 months timetable with 10 minute data points, is it possible to extract first half of each day using subscripting?
that's the Pandas equivalent: https://stackoverflow.com/questions/19179214/selecting-data-between-specific-hours-in-a-pandas-...
6 years 前 | 0
提问
having a 2 months timetable with 10 minute data points, is it possible to extract first half of each day using subscripting?
having a timetable, one can do sub-scripting once on the hole interval. can one take a sub-script of the daily data of such a ...
6 years 前 | 2 个回答 | 0
2
个回答提问
Classification Learner App - generate a more generic function for your model training that could take varying size of prediction tables? One step beyond the default function generation
This is a question with an answer, that could easily translate into a feature implementation. When one generates a function fro...
6 years 前 | 1 个回答 | 0