Community Profile

photo

Viswanath Hariharan


Active since 2017

Followers: 0   Following: 0

Message

Statistics

  • Thankful Level 3

View badges

Feeds

View by

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

mer än 5 år ago | 0 answers | 0

0

answers

Question


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

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

2

answers

Question


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

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

2

answers

Question


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

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

1

answer

Question


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

nästan 6 år ago | 1 answer | 1

1

answer

Question


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

nästan 6 år ago | 0 answers | 0

0

answers

Question


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

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

1

answer

Question


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

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

2

answers

Question


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

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

1

answer

Question


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

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

1

answer

Question


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

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

1

answer

Question


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

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

1

answer

Question


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

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

1

answer

Question


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

mer än 6 år ago | 0 answers | 0

0

answers

Question


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

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

1

answer

Question


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

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

3

answers

Question


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

mer än 6 år ago | 1 answer | 1

1

answer