Community Profile

photo

Andy


Last seen: 3 months ago Active since 2017

Statistics

All
  • First Review
  • First Submission
  • Thankful Level 2
  • First Answer

View badges

Content Feed

View by

Question


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 ...

8 months ago | 0 answers | 0

0

answers

Answered
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 ...

1 year ago | 0

Answered
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...

1 year ago | 0

Question


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. ...

1 year ago | 1 answer | 0

1

answer

Question


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...

1 year ago | 1 answer | 0

1

answer

Question


declare global var by string name
within a function: function DoSomeWork(globalVarName, var2, var3, etc) global globalvarName ??? // so something with gl...

1 year ago | 1 answer | 0

1

answer

Question


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...

2 years ago | 1 answer | 0

1

answer

Question


state machine programming - helper tools
Hi, Are there any predefined classes/objects/functions/docs to make state machines in matlab easier to develop? thanks

2 years ago | 0 answers | 0

0

answers

Answered
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...

2 years ago | 0

Question


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...

2 years ago | 0 answers | 0

0

answers

Question


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...

3 years ago | 1 answer | 0

1

answer

Answered
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...

3 years ago | 0

Question


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 ...

3 years ago | 1 answer | 0

1

answer

Answered
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...

3 years ago | 0

Question


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...

3 years ago | 1 answer | 0

1

answer

Question


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

3 years ago | 2 answers | 0

2

answers

Answered
Replace NaN's in table with zero
so, in other words: mainTTable{:,:}(ismissing(mainTTable)) = 0;

3 years ago | 0

Answered
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-...

3 years ago | 0

Question


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 ...

3 years ago | 2 answers | 0

2

answers

Question


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...

3 years ago | 1 answer | 0

1

answer

Question


function to import varying size text file automatically ? - one step beyond the Import Data Wizard
Hello, The Import Data Wizard is a great little tool to use on one file, say "Customers_1.txt" ... then the user gets present...

3 years ago | 0 answers | 0

0

answers

Question


table / timetable - removing zero columns
My answer is: function pTable = aRemoveZeroTableColumns(primersTable) % % % pTable = primersTable; i...

3 years ago | 1 answer | 0

1

answer

Answered
Removing columns containing zeros
If you've got a table w/ various variable names that you want to keep, you might do: function pTable = aRemoveZeroTableColu...

3 years ago | 0

Question


Matlab Production Server: accessing environment/persistent variables on a matlab server
Use-case: Persistent & changing data (clients can change it during a call) across function calls made by clients towards a m...

3 years ago | 0 answers | 0

0

answers

Question


Matlab prodution server mSq = client.CreateProxy<MagicSquare> Error: "Unable to cast object of type <XYZ>.ABC_Proxy to ABC"
The dot-net example of deploying a package on a production server and consuming a function are very useful. Nonetheless, there m...

3 years ago | 0 answers | 0

0

answers

Question


cannot resolve dependency to assembly 'Google.ProtocolBuffers, Version 2.3.0.277, Culture=neutral, PublicKeyToken=17b... because it has not been preloaded.
Hi guys, Am trying to import the .NET assembly, path: C:\Program Files\MATLAB\MATLAB Production Server\R2018a\client\dotne...

3 years ago | 0 answers | 0

0

answers

Answered
IQFeed: plot return from array of cells?
Right ... many issues with using the IQFeed API ... such as: 1) Examples from the DOCs not working: Trial>> timeseries(c,se...

3 years ago | 0

Question


IQFeed: plot return from array of cells?
Hi, Just testing the IQFeed API and glad to see some examples on the docs. However, I can see following: 1) goog = history(c...

3 years ago | 3 answers | 0

3

answers

Question


pandas reshaping and pivoting equivalent
What is the equivalent to Pandas reshaping & pivoting? It can be referenced at: <https://pandas.pydata.org/pandas-docs/stabl...

3 years ago | 0 answers | 0

0

answers

Question


can a timetable column reference a function handle automatically and dynamically add current value based on a set of computations?
I know we can always add a new column referencing a function, such as: timeTable.Data = functionOf(timeTable.ExistingVar); ...

3 years ago | 0 answers | 0

0

answers

Load more