photo

Sameer


Active since 2014

Followers: 0   Following: 0

Message

Statistics

  • Thankful Level 1

View badges

Feeds

View by

Question


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

10 years ago | 0 answers | 0

0

answers

Question


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()"?

10 years ago | 1 answer | 0

1

answer

Question


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?

10 years ago | 2 answers | 0

2

answers

Question


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

10 years ago | 0 answers | 0

0

answers

Question


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

10 years ago | 1 answer | 0

1

answer

Question


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

10 years ago | 1 answer | 0

1

answer

Question


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

10 years ago | 0 answers | 0

0

answers

Question


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

10 years ago | 1 answer | 0

1

answer

Question


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

10 years ago | 0 answers | 0

0

answers

Question


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

10 years ago | 1 answer | 0

1

answer

Question


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

10 years ago | 1 answer | 0

1

answer

Question


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

10 years ago | 1 answer | 0

1

answer

Question


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

10 years ago | 1 answer | 0

1

answer

Question


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

10 years ago | 0 answers | 0

0

answers

Question


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

10 years ago | 1 answer | 0

1

answer

Question


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.

10 years ago | 1 answer | 0

1

answer

Question


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

10 years ago | 1 answer | 0

1

answer

Question


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

10 years ago | 1 answer | 0

1

answer

Question


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

10 years ago | 1 answer | 0

1

answer

Question


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

10 years ago | 3 answers | 0

3

answers

Question


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

10 years ago | 1 answer | 0

1

answer

Question


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

10 years ago | 0 answers | 0

0

answers

Question


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

10 years ago | 0 answers | 0

0

answers

Question


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

10 years ago | 1 answer | 0

1

answer

Question


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

10 years ago | 0 answers | 0

0

answers

Question


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

10 years ago | 0 answers | 0

0

answers

Question


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

10 years ago | 0 answers | 0

0

answers

Question


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

10 years ago | 3 answers | 0

3

answers

Question


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

10 years ago | 0 answers | 0

0

answers

Question


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

10 years ago | 1 answer | 0

1

answer

Load more