Question

define a jacobian matrix in odeset for ode15s

Hi guys, I am using ode15s to solve my ODEs. It is said that in odeset ( https://au.mathworks.com/help/matlab/ref/odeset.ht...

10 months ago | 0 answers | 0

Question

partial differentating a matrix by a vector

Hi guys, I want to comute , where M is a symbolic matrix , and A is a symbolic vector. Are there any commands in Matl...

11 months ago | 1 answer | 0

Question

Substitution of initial numerical values before odefunction

Hi guys, I am using ode45 to solve a system of ODEs. According to the syntax of ode45, the system is formatted into the form of...

1 year ago | 1 answer | 0

Question

what functionalDerivative returns is a 1*1 symfun, not a vector

Hi guys, I am trying the codes syms u(x) v(x) H = u^2*diff(v,x)+v*diff(u,x,x); D = functionalDerivative(H,[u v]) at http...

1 year ago | 1 answer | 0

Question

Internal error with symbolic engine. Quit and restart MATLAB.

Hi guys, I am using symbolic math toolbox in Matlab 2018b in Win10 64-bit. The problem is Error mupadmex Internal error...

1 year ago | 0 answers | 0

Question

Divide large size matrixes, multiply the small matrixes and sum the results together.

I divided two m x n matrixes A and B into several equal i x j matrices using mat2cell, respectively, and then I want to multipl...

1 year ago | 1 answer | 0

Question

Why the seond arugment in the command jacobian is not a vector of variables?

Hi guys, I am using the code Jacobian in Matlab to symbolically compute the Jacobian matrix for two vectors-A and B. These two ...

1 year ago | 1 answer | 0

Question

Define a 100 * 100 symbolic matrix whose elements are the function of a symbolic variable t

Hi guys, I want to define a symbolic matrix whose size is 100 * 100. All of the elements inside the matrix are all functions ...

1 year ago | 0 answers | 0

Answered

Differentiate a 5*5 symbolic matrix by a 5*1 symbolic vector

diff can be used to differentiate a scalar or vector by a scalar, but not differentiate a matrix by a vector.

Differentiate a 5*5 symbolic matrix by a 5*1 symbolic vector

diff can be used to differentiate a scalar or vector by a scalar, but not differentiate a matrix by a vector.

2 years ago | 0

Answered

How can i differentiate a matrix by vector??

maybe you can differentiate each column of the matrix by the vector, then assemble the results together as a new matrix.

How can i differentiate a matrix by vector??

maybe you can differentiate each column of the matrix by the vector, then assemble the results together as a new matrix.

2 years ago | 0

Question

Differentiate a 5*5 symbolic matrix by a 5*1 symbolic vector

Hi there, Here I have a symbolic matrix A with a size of 5*5. The elements inside is composed of 5 symbolic variables , i.e....

2 years ago | 3 answers | 0

Question

Why the numerical values for function handle from matlabFunction should be written one by one?

Hi guys, I am now using matlabFunction for change a symbolic expression into a funtion handle. I find a question like this:...

2 years ago | 1 answer | 0

Question

Can Pareto show like an envelope?

Hi guys, I am using gamultiobj to optimize six objective functions together. Because there are six objectives, the obtaine...

3 years ago | 1 answer | 0

Question

Select a most suitable solution at the Pareto front obtained from gamultiobj

Hi guys, gamultiobj can generate non-dominated optimal solutions at the Pareto front. As there are so many equally optim...

3 years ago | 0 answers | 0

Question

How to reduce the number shown on the Y axis?

<</matlabcentral/answers/uploaded_files/69004/%E6%8D%95%E8%8E%B7.JPG>> Hi guys, We can see that 0 , 20 , 40 , 60 and 80, t...

3 years ago | 1 answer | 0

Question

gamultiobj's options

Hi guys, I am using a PC with 2014b and run the MOGA files. Now two questions appear: The first is: The option set for ...

3 years ago | 1 answer | 0

Question

gamultiobj--Too many input arguments.

Hi guys, I am using gamultiobj to optimize three aims at the same time. The parameters including the aim function, the lin...

3 years ago | 1 answer | 0