Community Profile

photo

Martin


Active since 2013

Statistics

  • Thankful Level 3

View badges

Content Feed

View by

Question


matlabpool open n; doesn't work.
Hi, I'd like to open matlabpool with a variable number of cores, to use the maximum number of cores available. So n would equ...

8 years ago | 3 answers | 0

3

answers

Question


Choose between for and parfor.
Hi, I want to run many simulations. For this I wrote "for" loop. I used parallel computing, using parfor instead; It works we...

8 years ago | 1 answer | 0

1

answer

Question


Sparse Array - Special Command?
Hi, I'm dealing with a sparse array. Given 2 arrays "col" and "val", I want to create a one-rowed sparse array of value val(i...

8 years ago | 1 answer | 0

1

answer

Answered
Norminv in Matlab 2012
Brilliant, thanks!

8 years ago | 0

Question


Norminv in Matlab 2012
Hi, Is there an equivalent of norminv for Matlab 2012? It doesn't seem to work in this version. I just need the inverse of th...

8 years ago | 2 answers | 0

2

answers

Question


multiply lines of a matrix by a line
Hi, given a matrix A = (Aij) and an horizontal array b = (bj), with B and A of the same width, is there a command that retur...

9 years ago | 1 answer | 0

1

answer

Question


"XXX" requires more input arguments to run
Hi, I have this message error when I accidentally pressed F5 on a child function. This is totally normal but I can't suppres...

9 years ago | 11 answers | 2

11

answers

Question


Problem decimals operations Matlab
Hi! I have a small problem on Matlab, while adding simple decimal numbers. It turns out that a small residual number appears...

9 years ago | 1 answer | 0

1

answer

Question


First non-zeros of a sparse array
Hi, I'm searching for the fastest way to get the index of the first non zero element of a sparse array. Only nonzeros have been ...

9 years ago | 3 answers | 0

3

answers

Question


Fastest way to fill in an array
Hi, I have written the following program, 3 ways to create the same array: number = 1e5; tic A = []; for i = ...

9 years ago | 2 answers | 3

2

answers

Question


A few questions on memory management of sparse matrices...
Hi, I have a bit of trouble with the space used by sparse matrices. I use two ways of creating the same matrix, say P: ...

9 years ago | 0 answers | 0

0

answers

Question


Decomposition in any base Matlab
Hi, I would like to know if there was a Matlab builtin function that decompose any integer in a chosen base, it would be somethi...

9 years ago | 1 answer | 0

1

answer

Question


How to deal with a huge matrix?
Hi! I'm dealing with a huge matrix: to give a little context if it makes sense, it is a transition matrix of a MDP, I thus ha...

9 years ago | 1 answer | 0

1

answer

Question


Preprocessor in Matlab 2013
Hi, I would like to know if there was a preprocessor in Matlab (R2013a). It would consist for example to automatically suppre...

9 years ago | 1 answer | 0

1

answer

Question


Memory used vs RAM
Hi! I'm using large arrays and the "Memory used by Matlab" is slightly bigger than the RAM of my PC (4100 MB vs 3900). The p...

9 years ago | 1 answer | 0

1

answer

Question


Time for Matrix Initializing
Hi! I create a cell of 700 elements, each of which is a sparse matrix 2000 * 2000 (most of the values will be zero). When I ...

9 years ago | 1 answer | 0

1

answer

Question


Argmin with several minimums
Hi, I would like to find a function returning, given an array Data of doubles, an array containing all the indices of Data's ...

9 years ago | 1 answer | 0

1

answer

Question


How test the presence of a toolbox
Hi! I would like in my program to test if the user has a statistical toolbox (Statistics_Toolbox). If so, it would use a prec...

9 years ago | 2 answers | 0

2

answers

Question


Equivalent of beta functions
Hi! I'd like to use the Matlab functions betapdf and betacdf, but I do not have access to the statistical toolbox of Matlab. ...

9 years ago | 3 answers | 0

3

answers

Answered
Line of code instead of "ans"
Thanks for your answers.

9 years ago | 0

Question


Line of code instead of "ans"
Hello, I begin by an example. A = [2 4]; A(1) I'd like to know if there's a setting in the Matlab Preferences which re...

9 years ago | 3 answers | 0

3

answers

Answered
Integral of the beta function
Ok that's great it works! I used a simple integration by parts and it killed dramatically the difficulties on the edge of the in...

9 years ago | 0

Question


Integral of the beta function
Hi! I'm trying to compute the integral of the beta function, which is, up to a constant multiplier, x^(1-alpha) * (1-x)^...

9 years ago | 2 answers | 0

2

answers

Answered
Display Matrix when member of a class
Thank you! :)

9 years ago | 0

Answered
Looking through a Matlab Class
Ok, thank you. It seems that there is no other solution :). Another question, which may appear a bit silly : If I create a...

9 years ago | 0

Question


Display Matrix when member of a class
Hi! I have a class containing two propoerties : InitialData is just an array, whereas Final is a 2*2 matrix. How can I ask Ma...

9 years ago | 2 answers | 0

2

answers

Question


Looking through a Matlab Class
Hi! I would like to execute some actions on every object of my class, say "Island". Is there a command in Matlab allowing...

9 years ago | 2 answers | 0

2

answers