Community Profile

photo

Peta


LTH

Last seen: 1 year ago Active since 2014

Followers: 0   Following: 0

Message

Statistics

  • Thankful Level 3
  • Knowledgeable Level 1
  • First Answer

View badges

Feeds

View by

Question


error LNK2019: unresolved external symbol when trying to MEX a C++ file containing CUDA
I’m trying to mex a C++ file that uses CUDA. I have included the folder containing |cublas.h| etc when calling mex and I’ve lin...

7 years ago | 1 answer | 0

1

answer

Question


Generate large nchoosek in batches?
I would like to generate all possible combinations of a binary vector, I’ve tried using |nchoosek| and it does what I want it ...

7 years ago | 2 answers | 0

2

answers

Question


Using imagesc to plot two matrices on top of each other with different colormaps?
I have two images: |orgImage|, which is a |1298x320| matrix of values that I wish to show in gray scale. And |ChemMap|,...

7 years ago | 1 answer | 0

1

answer

Answered
How to add matrix of different orders
If this dynamically changes over time I would calculate the difference in the width of the matrices like this first: sizedi...

8 years ago | 0

Answered
display the value from a vector
This is what I usually do: % Find the index of the minimum value in a and store it in the variable pos. [~,pos] = min(...

8 years ago | 0

| accepted

Question


Figure out which parts of a batch calculation with structfun produces a warning?
If I use a command that performs calculations on several cells or arrays or fields of a structure at the same time and some of t...

8 years ago | 0 answers | 0

0

answers

Question


Using arrayfun on the indices of a cell array to calculate all cells in one call?
I have two cell arrays. One called |Xcell| which is of |size 25x9| where each cell element is a design matrix for example of |si...

8 years ago | 1 answer | 0

1

answer

Question


Logical indexing two dimensions. How do I avoid a nested for loop?
I have a matrix |X| with doubles of |size = 450 8156| and another matrix |C| with logical values with |size = 64 8156| where |...

8 years ago | 3 answers | 0

3

answers

Question


How do I use @mldivide together with pagefun on the GPU?
I need to solve a lot of batches of xA = B problems and I'm experimenting with different solutions to see which type is fastest....

8 years ago | 1 answer | 0

1

answer

Question


Apply an operation/function to each 2D slice of a 3D matrix when the size of the slice varies?
I have a matrix |X| of dimensions |1000,75| representing |1000| observations of |75| variables. And I also have a matrix. |P|, o...

8 years ago | 0 answers | 0

0

answers

Question


Generate a large power set in batches?
Say I want to generate the power set of a number and store as logical combinations using this formula for example: idx = de...

8 years ago | 1 answer | 0

1

answer

Question


Generate all possible combinations of a few variables of a maximum length using certain mathematical operators/functions?
I’m trying to do something that shouldn’t be impossible but is a bit cumbersome and tricky for me to figure out how to write: ...

8 years ago | 2 answers | 0

2

answers

Question


Generating all possible pairs of polynomial interaction combinations?
I have a matrix |X| where column one represents a time series, lets call it “ |a| ”, and column two represents another time seri...

8 years ago | 1 answer | 0

1

answer

Question


Generate all possible combinations of a few numbers when the internal order doesn’t matter and the length varies?
Say I have three numbers: 1, 2 and 3 that I want to generate all possible combinations from, but the order in which they occur d...

8 years ago | 1 answer | 0

1

answer

Question


Final delay states for use in closed loop simulation – how do I get them if I have several external predictors?
I have trained a |NARXNET| to the point where I’m satisfied with its performance, but almost every time I convert the net into c...

8 years ago | 1 answer | 0

1

answer

Question


Can this silly accumarray for-loop be removed by a vectorization?
I have a matrix |A| where some of the values in column 1 are duplicates. Where a duplicate exists in column 1 (representing a t...

8 years ago | 3 answers | 2

3

answers

Answered
Error when running compiled application: Undefined function ’parallel.internal.gpu.ptxExpr’
I managed to solve this myself after a while. Hidden deep within the parallel computing toolbox folder in the Matlab root there ...

8 years ago | 0

| accepted

Question


Error when running compiled application: Undefined function ’parallel.internal.gpu.ptxExpr’
I’m trying to use the |Application Compiler| to deploy my Matlab program. The packaging appears to be successful but when I run ...

8 years ago | 1 answer | 0

1

answer

Question


Can A = A + B'*B be sped up somehow? It is seriously bottlenecking my for-loop
I have a script where a very large matrix |A| (square, up to about |10000 x 10000| values) is initialized outside of a |for-loop...

8 years ago | 5 answers | 3

5

answers

Question


Calculate C = A \ B{i} for each cell in B when B is a cell array?
I have code segment that’s slowing my script down which I suspect should be possible to vectorize or speed up in some way. I wa...

8 years ago | 1 answer | 0

1

answer

Question


Is it possible to solve Ax=b with mapreduce ?
I’m trying to solve some really large linear regression problems with the |mldivide| command. When I try to do the calculation w...

8 years ago | 1 answer | 0

1

answer

Question


Is it possible to divide a LU factorization into several smaller parts to reduce memory usage?
I’m trying to speed up a script I have by doing a LU factorization on the GPU rather than on the CPU. The LU function is nativel...

8 years ago | 0 answers | 0

0

answers

Question


Is it possible to adapt a vector autoregressive model’s parameters continuously without the need to rerun vgxvarx?
Is it possible to first estimate a VAR model's parameters using |vgxvarx| and then somehow continuously adjust the model paramet...

8 years ago | 1 answer | 0

1

answer

Question


Problem with vector autoregressive model (vgxvarx) - "Covariance is not positive-definite."
Hi. I have a dataset of 27 different variables measured during the same time period with the same lengths that I am trying to...

8 years ago | 2 answers | 0

2

answers

Question


Problem getting adapt to work with my existing NARXNET: “Number of inputs does not match net.numInputs”
I have a narxnet batch trained on historical data that I now want to implement in an “online situation” where I continuously fee...

9 years ago | 2 answers | 0

2

answers

Question


How do I force the next loop iteration if error occurs within the loop?
I have a loop that is supposed to run a very long time that starts with a webread command. Sometimes there is something wrong wi...

9 years ago | 2 answers | 1

2

answers

Answered
Good performance, poor output with NARNET
I’m having exactly the same problem with my narnet closed loop predictions. If I train narnets on for example the simplenar_data...

9 years ago | 0

Question


Switching an existing batch trained NAR network to continuous incremental training with adapt?
I have a NAR network that has been batch trained on a large set of historical data with Levenberg-Marquardt training. I have twe...

9 years ago | 2 answers | 0

2

answers

Question


Implementing initial weights and significant feedback delays in a NARNET
Hi. I’m trying to understand the concepts behind finding training strategies for NARNETs that can make as good predictions as po...

9 years ago | 2 answers | 1

2

answers

Question


Visualize 3D matrix structure as a wireframe rubik's cube??
I want to visualize certain choices of addresses within a 3-dimensional matrix. I have a 1440x181x180 matrix and I would like to...

9 years ago | 0 answers | 0

0

answers

Load more