Community Profile

# Viswanath Hariharan

2017 이후 활성

배지보기

#### Content Feed

보기 기준

질문

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

4년 이하 전 | 답변 수: 0 | 0

### 0

답변

질문

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

4년 이하 전 | 답변 수: 2 | 0

### 2

답변

질문

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

4년 이하 전 | 답변 수: 2 | 0

### 2

답변

질문

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

4년 이하 전 | 답변 수: 1 | 0

### 1

답변

질문

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

4년 이하 전 | 답변 수: 1 | 1

### 1

답변

질문

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

약 4년 전 | 답변 수: 0 | 0

### 0

답변

질문

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

4년 이상 전 | 답변 수: 1 | 0

### 1

답변

질문

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

4년 이상 전 | 답변 수: 2 | 0

### 2

답변

질문

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

4년 이상 전 | 답변 수: 1 | 0

### 1

답변

질문

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

4년 이상 전 | 답변 수: 1 | 0

### 1

답변

질문

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

4년 이상 전 | 답변 수: 1 | 0

### 1

답변

질문

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

4년 이상 전 | 답변 수: 1 | 0

### 1

답변

질문

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

4년 이상 전 | 답변 수: 1 | 0

### 1

답변

질문

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

4년 이상 전 | 답변 수: 0 | 0

### 0

답변

질문

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

4년 이상 전 | 답변 수: 1 | 0

### 1

답변

질문

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

4년 이상 전 | 답변 수: 3 | 0

### 3

답변

질문

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

4년 이상 전 | 답변 수: 1 | 1

답변