Community Profile

# Sameer

Aktiv seit 2014

#### Statistics

Abzeichen anzeigen

#### Content Feed

Anzeigen nach

Frage

Cholesky decomposition explanation simple terms
Could someone explain to me what Cholesky decomposition is in layman terms? Like the simple intuition behind it. Thanks.

fast 9 Jahre vor | 0 Antworten | 0

### 0

Antworten

Frage

Rows columns (nodes) that do not meet fmincon constraints
How can we output to the screen the columns that are unable to meet the constraints of fmincon, using "disp()"?

fast 9 Jahre vor | 1 Antwort | 0

### 1

Antwort

Frage

how to pinpoint the maximum scalar in a matrix?
how do we extract the maximum number from a matrix, and tell the screen which column or row this number is in?

fast 9 Jahre vor | 2 Antworten | 0

### 2

Antworten

Frage

tolerance for fmincon function?
Hello: http://www.mathworks.com/matlabcentral/answers/131835-constraints-not-meeting-the-parameters this is where my main ...

fast 9 Jahre vor | 0 Antworten | 0

### 0

Antworten

Frage

Constraints not meeting the parameters?
Hello: <</matlabcentral/answers/uploaded_files/13476/Capture%204.PNG>> This is what my code looks like for the the linear ...

fast 9 Jahre vor | 1 Antwort | 0

### 1

Antwort

Frage

how to make reference to a line in matlab?
can you make a reference to a certain line in MATLAB that will allow you to use it in a loop? I am trying to use multiple lin...

fast 9 Jahre vor | 1 Antwort | 0

### 1

Antwort

Frage

errors in the loop iteration
<</matlabcentral/answers/uploaded_files/13464/capture%202.PNG>> How come it is giving me the following errors in the loop? ...

fast 9 Jahre vor | 0 Antworten | 0

### 0

Antworten

Frage

inner matrix dimensions must agree error in the function?
function [f] = objfun(W,VCVMatx) %function for varience of the portfolio with swtN stocks f =W*VCVMatx*W'; this is m...

fast 9 Jahre vor | 1 Antwort | 0

### 1

Antwort

Frage

using linear equality constraint within the loop
My assignment is to optimize a portfolio given a set of stock. I already have one linear equality constraint that makes certa...

fast 9 Jahre vor | 0 Antworten | 0

### 0

Antworten

Frage

bold 1 in matlab
My professor said that a bold 1 will sum of the entries of a vector to make it equal to a certain number. However, I do not know...

fast 9 Jahre vor | 1 Antwort | 0

### 1

Antwort

Frage

how to use multiple linear equality constraints
how can i use multiple linear equality constraints in one fmincon function?

fast 9 Jahre vor | 1 Antwort | 0

### 1

Antwort

Frage

how to make vector sum to one?
I'm using fmincon to minimize the varience of a portfolio. As such, how would I be able to use TWO linear equality constraints? ...

fast 9 Jahre vor | 1 Antwort | 0

### 1

Antwort

Frage

how to use two linear equality constraints
how can i use two (more than one for each type of constraint) for a specific function?

fast 9 Jahre vor | 1 Antwort | 0

### 1

Antwort

Frage

not enough input arguments error? (fmincon)
Hello: I tried running fmincon, but in the main program it says the function does not have enough input arguments. f = W...

fast 9 Jahre vor | 0 Antworten | 0

### 0

Antworten

Frage

Aeq must have two columns error???
this is my Aeq and beq: swtOther_Aeq = [ 1 0 1 0 0 0 1 0 0 0 ]; swtOther_beq = [ 0.22 ]; yet matlab is telling me Aeq n...

fast 9 Jahre vor | 1 Antwort | 0

### 1

Antwort

Frage

how to create surface plot with NX3 matrix?
how do I create a surface (surf) plot with a NX3 Matrix? also how do i add a colorbar to this plot? Thanks.

fast 9 Jahre vor | 1 Antwort | 0

### 1

Antwort

Frage

varience of portfolio without financial toolbox
how do i find the variance of a portfolio with N (variable number of assets)? the number of stocks will change depending on n...

fast 9 Jahre vor | 1 Antwort | 0

### 1

Antwort

Frage

Linear Constrained optimization help
function [ h ] = LinConOp( x ) x0 = [-1,1]; lb = swtMinWt1; ub = swtMaxWt1; Aeq = swt_Aeq; beq = swt_be...

fast 9 Jahre vor | 1 Antwort | 0

### 1

Antwort

Frage

global variable not working.
function [f] = objfun(n) global f; f = var(n); end How is the global variable not working

fast 9 Jahre vor | 1 Antwort | 0

### 1

Antwort

Frage

variance of portfolio as objective function
how would be able to set up the variance of a portfolio as an seperate objective function? I have the data read in from excel...

fast 9 Jahre vor | 2 Antworten | 0

### 2

Antworten

Frage

Which function will tell me how many rows and columns in matrix?
How would I be able to write row(A) and it would output the number of rows in matrix A? What function should I use and write?...

fast 9 Jahre vor | 1 Antwort | 0

### 1

Antwort

Frage

How to display numbers in the vector in the title for MATLAB?
my vector looks like this : swtCI = [.99 .95 .50 ]' this will be in the loop (shown below): <</matlabcentral/answe...

fast 9 Jahre vor | 0 Antworten | 0

### 0

Antworten

Frage

Attempted to access B(25,1); index must be a positive integer or logical.
Why cant i display a negative number in matlab??? it isnt letting me?? <</matlabcentral/answers/uploaded_files/12628/loop%20p...

fast 9 Jahre vor | 0 Antworten | 0

### 0

Antworten

Frage

Attempted to access B(25,1); index must be a positive integer or logical.
rowsCI = rows(swtCI); B = sort(PQMatx(:,3)); h=1; while h<=rowsCI; UB=(1-swtCI(h,1)); UBB=UB/2; UBBB=1-UBB; ...

fast 9 Jahre vor | 1 Antwort | 0

### 1

Antwort

Frage

how to create confidence intervals in a while loop without stat toolbox?
how to create confidence intervals in a while loop without stat toolbox? using fitdist and paraci requires the toolbox, I ass...

fast 9 Jahre vor | 0 Antworten | 0

### 0

Antworten

Frage

how to find the biggest % values in a histogram?
how do you find the biggest % values in a histogram? I am building a confidence interval and I need that upper and lower rang...

fast 9 Jahre vor | 0 Antworten | 0

### 0

Antworten

Frage

how to output a title associated with number in vector
'Probability greater than swtNPVProb(i,1)' this is a do-loop sequence. swtNPVProb is a vector. how do i get the title to...

fast 9 Jahre vor | 0 Antworten | 0

### 0

Antworten

Frage

how to say a number in the title
'Probability greater than swtNPVProb(i,1)' i is the loop variable. how do i get it to say the number associated with the vari...

fast 9 Jahre vor | 3 Antworten | 0

### 3

Antworten

Frage

how to report a number to the screen (from a switch)
instead of saying "Probability greater than swtNPVProb(1,1)" etc. how do i get it to say the actual number? and if i change ...

fast 9 Jahre vor | 0 Antworten | 0

### 0

Antworten

Frage

if statements concerning vectors
"if only 2 probabilties are desired, then entries 3 to 10 of swtNPVProb (a 10X1 vector) should be set to NaN" How do we do th...

fast 9 Jahre vor | 1 Antwort | 0

Antwort