Domanda


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

quasi 6 anni fa | 2 risposte | 0

2

risposte

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

quasi 6 anni fa | 0

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

circa 6 anni fa | 0

Domanda


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

circa 6 anni fa | 2 risposte | 0

2

risposte

Domanda


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

circa 6 anni fa | 1 risposta | 0

1

risposta

Domanda


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

circa 6 anni fa | 0 risposte | 0

0

risposte

Domanda


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

circa 6 anni fa | 1 risposta | 0

1

risposta

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

circa 6 anni fa | 0

Domanda


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

oltre 6 anni fa | 0 risposte | 0

0

risposte

Domanda


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

oltre 6 anni fa | 0 risposte | 0

0

risposte

Domanda


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

oltre 6 anni fa | 0 risposte | 0

0

risposte

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

oltre 6 anni fa | 0

Domanda


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

oltre 6 anni fa | 3 risposte | 0

3

risposte

Domanda


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

oltre 6 anni fa | 0 risposte | 0

0

risposte

Domanda


can a timetable column reference a function handle automatically and dynamically add current value based on a set of computations?
Reviving this question. Adding data: can always be done through adding a new column by referencing a function, such as: timeTa...

oltre 6 anni fa | 1 risposta | 0

1

risposta

Domanda


Removing weekends and holidays from a TimeTable
How can one remove weekends and holidays entries from a TimeTable? Thanks!

oltre 6 anni fa | 2 risposte | 0

2

risposte

Domanda


assign content into an empty timetable based on timerange variable
Say you've got an empty timetable: t = timetable(); t.Data = 0; and you're given a timerange var: tr and you need to...

oltre 6 anni fa | 1 risposta | 0

1

risposta

Risposto
calculating the difference between 2 dates
there's something better now since 2014 release I believe: w = between(startRange,endRange,'weeks') y = between(startRange...

oltre 6 anni fa | 1

Domanda


extract start and end of a timerange
Working with timerange objects is great! One can keep a table in one piece and operate on subscripts of that table with a set of...

oltre 6 anni fa | 1 risposta | 0

1

risposta

Risposto
How can I increase GUI slider steps?
this ('SliderStep' property) doesn't exist in slider object of the gui designer.

oltre 6 anni fa | 1

Domanda


app designer Slider object properties does not contain a 'SliderStep' property
Hello Team, As of 2017b, an app designer slider object has following properties: Show all properties BeingDe...

oltre 6 anni fa | 1 risposta | 0

1

risposta

Domanda


A,B,C same size matrixes. A & C are double elements, B is with logical elements.How do I simply set A with values found in C only for true (or false) positions in B?
Setup: if true A = zeros(4,4); C = [1,2,3,0; 5,0,6,4; 9,7,0,4; 2,0,5,6]; B = false(4,4); B(2,4) = 1; B(3,2)...

quasi 7 anni fa | 1 risposta | 0

1

risposta

Risposto
using a matrix as an index to another matrix
I could do this: clc; a = [1 4 3 2; 6 8 7 9] [b,i] = sort(a,2,'descend') b = ...

oltre 7 anni fa | 0

Domanda


using a matrix as an index to another matrix
Simple case: >> x = [ 10 8 ; 4 3 ] x = 10 8 4 3 >> [y,i] = sort(x,2 ) y...

oltre 7 anni fa | 2 risposte | 0

2

risposte

Risposto
keeping track of the original indices of an array after sorting
and B = A(I), according to documentation, isn't it? I get following: >> x = [ 1 3 2 7; 4 3 2 1] x = 1 3 ...

oltre 7 anni fa | 1

Risposto
for an existing financial time-series object, is there a simple way to add columns?
digging a bit more, it seems fts behave a lot like structures ... so: >> class(dt) ans = fints >> *dt.MA10* = fts2ma...

oltre 7 anni fa | 0

| accettato

Risposto
financial time series object - how to delete a column?
This was a funny one ... managed to understand why Time appears in the structure in the first place. Quote from <fints> definiti...

oltre 7 anni fa | 0

Domanda


financial time series object - how to delete a column?
One might have: dt = desc: (none) freq: Daily (1) 'dates: (2715)' 'times: (2715)' 'Open: (2715)...

oltre 7 anni fa | 2 risposte | 0

2

risposte

Risposto
for an existing financial time-series object, is there a simple way to add columns?
I'll just give a partial answer I've found. For an object such as: dt = desc: (none) freq: Daily (1) '...

oltre 7 anni fa | 0

Domanda


financial time series obiect: get a column by name string?
Say, I have a fts object of type: dt = desc: (none) freq: Daily (1) 'dates: (2715)' 'times: (2715...

oltre 7 anni fa | 1 risposta | 0

1

risposta

Carica altro