making an evaluation of a VERY long expression much faster813 (7/3/2009 12:10:24 PM) comp.soft-sys.matlab Hello, How can an evaluation of a very very long expression can be made faster. My expression has terms with the operation .* between matrices and then those terms are summed together for example: A.*B + B.*C... kem
a simple question about EulerEquations018 (2/4/2009 10:33:40 AM) comp.soft-sys.math.mathematica Hi,
It seems that mathematica gives a different expression for Euler-
Lagrange equation.
Isn't the answer to:
EulerEquations[ f[u'[x],u[x],x] , u[x] , x]
should be:
Derivative[0, 1, 0][f][Deriv... kem
simplifying a resulted derivative expression215 (2/3/2009 12:17:16 PM) comp.soft-sys.math.mathematica Hi, I have a function f[ux, uy, vx, vy, wx, wy, u, v, w, x, y]
I am doing different manipulations with this function and the results
I get have expressions like that:
Derivative[0, 0, 0, 0, 0, 0, 1, 0, 0... kem
what is better to use: fmincon OR lsqnonlin1105 (5/5/2008 6:21:46 PM) comp.soft-sys.matlab Hi,
My objective function is to minimize the L2 norm of some vector + I
have a linear constraint on the variables.
So the output of the objfun:
1) in case of using lsqnonlin:
F = [ f_1 ; f_2 ; ... kem
nonlinear optimization127 (4/30/2008 3:36:53 PM) comp.soft-sys.matlab Hi,
I am trying to solve the following problem using matlab's optimization
toolbox.
-----------------------------------------------------------------
The problem is:
min_z || A(:) - S(:)||^2
... kem
open parenthesis and reduce an expression215 (4/17/2007 12:39:35 AM) comp.soft-sys.math.mathematica Hi, How can I reduce the following formula for instance
(Cos[b[x,y]] zx[x,y]-Sin[b[x,y]] zy[x,y]) (zxx Cos[b[x,y]]+zyx
Cos[b[x,y]]+
zxx Sin[b[x,y]]-zyx Sin[b[x,y]]+bx (Cos[b[x,y]]-Sin[b[x,y]])
zx[x,y]... kemelmi1(69)
ezsurf115 (9/10/2007 6:15:51 AM) comp.soft-sys.matlab Hi, To show implicit surfaces I am using 'ezsurf' e.g. ezsurf('x^2+y^2') Now I need to plot only one contour of this surface, e.g. x^2+y^2=5 How can I do that? Thanks ... kemelmi1(69)
invert 'imtransform '230 (12/5/2007 5:09:32 PM) comp.soft-sys.matlab Hi, How can I invert the operation of imtransform. e.g. im1 = imtransform(im,TFORM,'XData',[1 w],'YData',[1 h]); .....some processing.... now I want to make: im2 = imtransform( *im1*, *TFORM_inverse* ,'XD... kemelmi1(69)
Defining the elements of a Matrix134 (4/30/2008 10:40:36 AM) comp.soft-sys.matlab Hi,
Is there a way that I can define the element index (row, column) of a matrix.
For example I have the following matrix in descending order
a = [50,30,10,1], and I've located the highest value using... Rasha(11)
nonlinear optimization127 (4/30/2008 3:36:53 PM) comp.soft-sys.matlab Hi,
I am trying to solve the following problem using matlab's optimization
toolbox.
-----------------------------------------------------------------
The problem is:
min_z || A(:) - S(:)||^2
... kemelmi1(69)