photo

Jalali


West Virginia University

Active since 2012

Followers: 0   Following: 0

Message

Statistics

  • Thankful Level 1

View badges

Feeds

View by

Question


Problem in using 'break' and 'while'
I have problem in the while loop below. Looks like the break doesn't work, because sometimes R<=0.3 and s becomes one or bigger....

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

1

answer

Question


Question on error variance in multiple linear regression
I'm trying to generate a regression line through simulation for my research purpose, here I'm explaining the simplified idea. ...

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

1

answer

Question


Creating a N-Dimentional matrix from a 2 Dimentional matrix
Let's assume I have a as [1 2;3 4]. I need to create b to be 2-by-2-by-100 as follows: b(:,:,1)=[1 2;3 4] . . b(:,:,100)=[1 ...

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

1

answer

Question


Non-negativity for unconstrained nonlinear multivariable function
I don't have any constraint for my nonlinear problem, so I am using either fminsearch or fminunc. If I want to get only positive...

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

3

answers

Question


Change a 4-D matrix
I have A(p,s,d,f). How can I change it to A(p,s,f,d)? Thanks,

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

1

answer

Question


Plot lables with hold on
plot(R, ':.b') %blue xlabel('Time') ylabel('Dollar') hold all plot(L, '-.g') %green plot(D, '--r') %red I'm ...

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

1

answer

Question


Use of variables in a new function
I already have some variables calculated in Matlab. I am going to run a function in which a couple of those variables are used. ...

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

0

answers

Answered
Non-negativity for unconstrained nonlinear multivariable function
Thanks! How do you define non-negativity for constraints in fmincon? Would you give me a simple example?

mer än 12 år ago | 0