**Statistics**

**MATLAB Answers**

**17** Questions

**0** Answers

RANK**18,001**

of 293,982

REPUTATION**2**

CONTRIBUTIONS

**17** Questions

**0** Answers

ANSWER ACCEPTANCE **
52.94%
**

VOTES RECEIVED**2**

RANK

of 20,065

REPUTATION**N/A**

AVERAGE RATING**0.00**

CONTRIBUTIONS**0** Files

DOWNLOADS **0**

ALL TIME DOWNLOADS**0**

RANK

of 150,317

CONTRIBUTIONS

**0** Problems

**0** Solutions

SCORE**0**

NUMBER OF BADGES**0**

CONTRIBUTIONS**0 Posts**

CONTRIBUTIONS**0** Public Channels

AVERAGE RATING

CONTRIBUTIONS**0** Highlights

AVERAGE NO. OF LIKES

**Feeds**

Question

Why is the following code working fine when executed with a for loop but showing an error when it comes to parfor?

The following code shows an "Index exceeds matrix dimensions error when run with parfor but runs okay when executed with just a ...

6 years ago | 0 answers | 0

### 0

answersQuestion

How to pass more parameters than the existing ones to output function of fmincon?

<https://www.mathworks.com/help/optim/ug/output-functions.html#brjhnpn Output Functions of Fmincon> The above link is to the ...

6 years ago | 2 answers | 0

### 2

answersQuestion

Why does fmincon's constrviolation converge at a specific value?

This is kind of a general doubt. I am performing non linear optimization with a bunch of non linear inequality constraints, line...

6 years ago | 2 answers | 0

### 2

answersQuestion

What do the fields in the output structure of fmincon mean?

When we solve an optimization problem and obtain the output structure, it has fields such as funcCount, constrviolation, stepsiz...

6 years ago | 1 answer | 0

### 1

answerQuestion

Why is lambda as an output of fmincon empty?

I am using fmincon to perform convex, non linear programming, constrained optimization. I don't have any non linear equality con...

6 years ago | 1 answer | 1

### 1

answerQuestion

How to formulate a non convex equality constraint for fmincon?

I have an equality constraint that needs to be formulated into fmincon. v'*Mp*v - v'*Mn*v - Pf = 0. where Pf is a scalar ...

6 years ago | 0 answers | 0

### 0

answersQuestion

How to use limited number of MDCS licenses to maximize usage?

Based on a few questions I've asked here, I can use 16 licenses to make 9 nodes consisting of 12 cores each to communicate with ...

6 years ago | 1 answer | 0

### 1

answerQuestion

How to calculate all the square roots of a matrix?

I have a matrix [5/8 3/8; 3/8 5/8] and it has more than one square root. If I perform sqrtm on it, it returns only one square ro...

6 years ago | 2 answers | 0

### 2

answersQuestion

Effective but stingy installation of MDCS

If there are 3 nodes and 12 cores each, mdcs has to be installed in all 36 cores right? Now for the nodes to communicate wit...

7 years ago | 1 answer | 0

### 1

answerQuestion

Basic questions on MDCS

I have a few basic questions about MDCS. I did read the documentation but it didn't answer my doubts. 1. What is the purpose ...

7 years ago | 1 answer | 0

### 1

answerQuestion

How to empty 1 cell of a cell variable which is part of a file?

I used matfile to create a 'writable' object consisting of variables in the file. I tried removing an element in one of the vari...

7 years ago | 1 answer | 0

### 1

answerQuestion

How to save into a particular variable space in .mat file?

Say A = cell(100,1) existing as a variable in the .mat file. I want to add 100 more elements to A from my main program i.e. the ...

7 years ago | 1 answer | 0

### 1

answerQuestion

How to read/extract a part of a cell array from a .mat file?

I was wondering if it's possible to read or extract a part of a cell array from a .mat file. For example : say A = cell(100,1)...

7 years ago | 1 answer | 0

### 1

answerQuestion

How to check for number of vacant workers available in a parallel pool?

I have a branch and bound algorithm that needs to be executed in parallel. The main 'if' condition that I need to implement requ...

7 years ago | 1 answer | 0

### 1

answerQuestion

What happens if the number of workers vacant are less than the minimum value in the specified range of SPMD?

spmd (m,n) <statements> end If n workers aren't available, it is mentioned in the document that the statement wou...

7 years ago | 1 answer | 0

### 1

answerQuestion

Can a worker/slave be used as a master node?

I am using the parallel computing toolbox. I have a general question though. I am trying to implement a Branch and Bounds algori...

7 years ago | 3 answers | 0

### 3

answersQuestion

How to store and retrieve multiple data sent from worker nodes to client node in MATLAB?

q = parallel.pool.DataQueue; parfor i = 1:20 data = ['test - ', num2str(i)]; send(q,data); end Th...

7 years ago | 1 answer | 1