Too many output arguments error using fmincon177 (9/12/2012 8:26:11 PM) comp.soft-sys.matlab Hello, I am getting an error message using fmincon, the code and the errora messageas are:
x0=[1;1;0.1];
C=[];
b1=[];
B=[];
b2=[];
lb=[-Inf; -Inf;0];
lu=[Inf; Inf; Inf];
options=optimset('Display','i... hagii
an optimization problem #3737 (9/6/2012 8:01:21 AM) comp.soft-sys.matlab I need help with an optimization problem. Let,
f(x,a)=3D0.=20
Here a is parameter.I know that,for some values of "a"(assume I assigned th=
e value of"a" myself), f has solutions( "fval" is very close to ... hagii
expanding a matrix1143 (8/25/2012 7:28:05 PM) comp.soft-sys.matlab Hello, I have such a matrix let say 2x3 matrix.
A=[1 3 5]
[2 4 6]
I want to expand this like
B=[1 0 0]
[2 0 0]
[0 3 0]
[0 4 0]
[0 0 5]
[0 0 6]
Is there an easy way to do this in matl... hagii
fsolve gives different results343 (8/25/2012 7:13:44 AM) comp.soft-sys.matlab I live a problem finding roots.
I am using "fsolve" command to find roots of two functions. I find their solutions separetaly.
Second function involves a parameter additionally as an input. If value of th... hagii
problem with a minimazition problem.544 (8/23/2012 10:19:04 AM) comp.soft-sys.matlab Hello, I have a problem with a minimazition problem:
Let my aim is to find x and a where f(x,a) is minimized with the constraint g(x,a)=0. Here "a" is parameter.
It is known that for some values of x and... hagii
solution space of a poynomial666 (8/23/2012 6:13:51 AM) comp.soft-sys.matlab Hello, I need help. Let I have a polnomial:
f(s)
I want to determine the solution space of this function. I mean, in which values of s, f(s) has real roots. How can I do this in matlab? Thanks a lot.
... hagii
Differentiation of matrix functions445 (8/16/2012 7:02:43 PM) comp.soft-sys.matlab Hello, I live problem with the below code, here is the simplified problem(m=
y original functions are much more complicated they have to be used in matr=
ix form] version of the problem.=20
Let our aim is ... hagii
jacobian of a function or converting symbolic to double371 (8/12/2012 9:07:40 AM) comp.soft-sys.matlab Hello, I really need help. Firstly, I defined a function "myfunc" which returns a matrix with symbolic variables "z1" and "z2". After defining the function, to find the numerical jacobian (at point z1=0.7 and... hagii
solution of implicit functions773 (7/13/2012 8:35:16 PM) comp.soft-sys.matlab Hello, I have a problem. Let,
f(x,y,z)=0,
g(x,y,z)=0,
m(x,y,z)=0,
where f,g and m are implicit functions of x,y,z. All are continous functions. How can solve this system using matlab? which function do I... hagii
special cross products of a vector263 (7/11/2012 7:11:23 AM) comp.soft-sys.matlab Hello, I have a problem. Let u(i) is a vector with index i. And let u(i,j)=
=3Du(i)*u(j). I want to calculate sum(u(i,j)) where i<j. For exmaple, let u=
be a 3*1 vector, then I want to calculate, u(1,2)+u(1,... hagii
Too many output arguments error using fmincon177 (9/12/2012 8:26:11 PM) comp.soft-sys.matlab Hello, I am getting an error message using fmincon, the code and the errora messageas are:
x0=[1;1;0.1];
C=[];
b1=[];
B=[];
b2=[];
lb=[-Inf; -Inf;0];
lu=[Inf; Inf; Inf];
options=optimset('Display','i... oercim(64)
an optimization problem #3737 (9/6/2012 8:01:21 AM) comp.soft-sys.matlab I need help with an optimization problem. Let,
f(x,a)=3D0.=20
Here a is parameter.I know that,for some values of "a"(assume I assigned th=
e value of"a" myself), f has solutions( "fval" is very close to ... oercim(64)
expanding a matrix1143 (8/25/2012 7:28:05 PM) comp.soft-sys.matlab Hello, I have such a matrix let say 2x3 matrix.
A=[1 3 5]
[2 4 6]
I want to expand this like
B=[1 0 0]
[2 0 0]
[0 3 0]
[0 4 0]
[0 0 5]
[0 0 6]
Is there an easy way to do this in matl... oercim(64)
fsolve gives different results343 (8/25/2012 7:13:44 AM) comp.soft-sys.matlab I live a problem finding roots.
I am using "fsolve" command to find roots of two functions. I find their solutions separetaly.
Second function involves a parameter additionally as an input. If value of th... oercim(64)
problem with a minimazition problem.544 (8/23/2012 10:19:04 AM) comp.soft-sys.matlab Hello, I have a problem with a minimazition problem:
Let my aim is to find x and a where f(x,a) is minimized with the constraint g(x,a)=0. Here "a" is parameter.
It is known that for some values of x and... oercim(64)
solution space of a poynomial666 (8/23/2012 6:13:51 AM) comp.soft-sys.matlab Hello, I need help. Let I have a polnomial:
f(s)
I want to determine the solution space of this function. I mean, in which values of s, f(s) has real roots. How can I do this in matlab? Thanks a lot.
... oercim(64)
Differentiation of matrix functions445 (8/16/2012 7:02:43 PM) comp.soft-sys.matlab Hello, I live problem with the below code, here is the simplified problem(m=
y original functions are much more complicated they have to be used in matr=
ix form] version of the problem.=20
Let our aim is ... oercim(64)
jacobian of a function or converting symbolic to double371 (8/12/2012 9:07:40 AM) comp.soft-sys.matlab Hello, I really need help. Firstly, I defined a function "myfunc" which returns a matrix with symbolic variables "z1" and "z2". After defining the function, to find the numerical jacobian (at point z1=0.7 and... oercim(64)
solution of implicit functions773 (7/13/2012 8:35:16 PM) comp.soft-sys.matlab Hello, I have a problem. Let,
f(x,y,z)=0,
g(x,y,z)=0,
m(x,y,z)=0,
where f,g and m are implicit functions of x,y,z. All are continous functions. How can solve this system using matlab? which function do I... oercim(64)
special cross products of a vector263 (7/11/2012 7:11:23 AM) comp.soft-sys.matlab Hello, I have a problem. Let u(i) is a vector with index i. And let u(i,j)=
=3Du(i)*u(j). I want to calculate sum(u(i,j)) where i<j. For exmaple, let u=
be a 3*1 vector, then I want to calculate, u(1,2)+u(1,... oercim(64)