Community Profile # Martin

Active since 2013

#### Statistics

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

mer än 9 år ago | 3 answers | 0

### 3

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

mer än 9 år ago | 1 answer | 0

### 1

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

nästan 10 år ago | 1 answer | 0

### 1

Norminv in Matlab 2012
Brilliant, thanks!

nästan 10 år 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...

nästan 10 år ago | 2 answers | 0

### 2

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

ungefär 10 år ago | 1 answer | 0

### 1

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

ungefär 10 år ago | 11 answers | 2

### 11

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

ungefär 10 år ago | 1 answer | 0

### 1

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

ungefär 10 år ago | 3 answers | 0

### 3

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

ungefär 10 år ago | 2 answers | 3

### 2

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

ungefär 10 år ago | 0 answers | 0

### 0

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

ungefär 10 år ago | 1 answer | 0

### 1

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

ungefär 10 år ago | 1 answer | 0

### 1

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

ungefär 10 år ago | 1 answer | 0

### 1

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

ungefär 10 år ago | 1 answer | 0

### 1

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

ungefär 10 år ago | 1 answer | 0

### 1

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

mer än 10 år ago | 1 answer | 0

### 1

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

mer än 10 år ago | 2 answers | 0

### 2

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

mer än 10 år ago | 3 answers | 0

### 3

Line of code instead of "ans"

mer än 10 år 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...

mer än 10 år ago | 3 answers | 0

### 3

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

mer än 10 år 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)^...

mer än 10 år ago | 2 answers | 0

### 2

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

mer än 10 år ago | 0

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

mer än 10 år 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...

mer än 10 år ago | 2 answers | 0