photo

Yokuna


Last seen: 1 year ago Active since 2021

Followers: 0   Following: 0

Professional Interests:
SLAM

Statistics

  • Thankful Level 3

View badges

Feeds

View by

Question


Solving matrix differential equation
I want to solve the matrix differential equation of the form, . The initial condition for R1 is given. W1 and W2 are calculate...

1 year ago | 3 answers | 0

3

answers

Question


Plotting the element of a 3D array
The dimension of F is 2x2x145 (3D array), i.e. we have 145 number of 2x2 matrices. Now I want to find a vector having the (1,1)t...

2 years ago | 1 answer | 0

1

answer

Question


multiply vector of (2x1) to each of the (2x2) matrix in a (2x2x145) double data
I want to multiply a vector of (2x1) to each of the (2x2) matrix in a (2x2x145) double data,F. (the result is variable K). M1 =...

2 years ago | 1 answer | 0

1

answer

Question


Using fminsearch and then using the output of fminsearch in cost and ode function.
Using initial value of -100 for fminsearch, After obtaining optimal value of lambda by fminsearch, how to use the output of fmin...

2 years ago | 1 answer | 1

1

answer

Question


Calling function in fminsearch
I want to call a function lamda to update initial value in fminsearch. The initial value of lambda(1) =-1. I want to update ...

2 years ago | 1 answer | 0

1

answer

Question


Optimize cost function to obtain optimal value of the optimization variable.
The problem is to find and such that the cost function is minimized. The cost function is defined as, The dynamical equat...

2 years ago | 1 answer | 0

1

answer

Question


How to use logical operator in syms?
I want to implement the code having logical operators included in syms, but it gives error. Plese help to use logical operators ...

2 years ago | 2 answers | 0

2

answers

Question


Solving system of 3 non-linear equation with dynamic equality output
I need to solve the set of equations given below for x1,x2,x3 such that x1+x2+x3==420 (for t=0 to t=0.2), x1+x2+x3==500 (for t=0...

2 years ago | 1 answer | 0

1

answer

Question


Solve system of differential equations
I am facing problem in solving the differential equation is a vector () as shown in code and is also a vector (). x11=[x1,y1]...

2 years ago | 1 answer | 0

1

answer

Question


How to use syms in multiple variable?
I wrote a code to integrate a function with respect to time, but it gives an error message. I am not able to identify the mistak...

2 years ago | 1 answer | 0

1

answer

Question


How to find projection on a set
Let us define . We have g1=(x1-100)*(x1-150)<=0; g2=(x2-100)*(x2-150)<=0; g3=(x3-100)*(x3-200)<=0; I want to find . Please h...

3 years ago | 1 answer | 0

1

answer

Question


Calculate argmin for the function in matlab
I want to find the value of the following using matlab: where . S is the set of the numbers as given. .

3 years ago | 1 answer | 0

1

answer

Question


How to solve set of equations with inequality using fsolve?
I have the following set of equations and I want to add extra inequality conditions in the equations, given below. How can I add...

3 years ago | 1 answer | 0

1

answer

Question


solving multiple equations with variable later
I want to solve the set of equations and plot x1 vs t and x2 vs t. The problem is due to sols(tidx,1). I want to calculate x1 as...

3 years ago | 1 answer | 0

1

answer

Question


How to solve equality and multiple inequality constraints at the same time?
How can I solve the equations and plot x1 vs t. %Initial conditions x1=14; x2=14; x3=14; %Equations x1 =t*x1+x2+t*x3; x2 =...

3 years ago | 2 answers | 0

2

answers

Question


How to solve 3 simultaneous algebraic equations with a equality constraint.
If someone could help me to plot x1 vs t from the information. Please if someone could give any idea. %Initial conditions x1...

3 years ago | 2 answers | 1

2

answers

Question


How to get the function after solving the differential equation using Eulers method?
How to get the value of x1(t) and x2(t) from the set of equations? Initial condition is x1=1 and x2=2 x1dot=x1 -x2; x2dot=-x1...

3 years ago | 1 answer | 0

1

answer

Question


How to do partial differentiation of a function?
The function is given as: E1=ln((1+x1)/(1-x1)); How to do patial differentiation of E1 with respect to x1?

3 years ago | 1 answer | 0

1

answer

Question


How can I use the iteration to store variables? It gives error Subscript indices must either be real positive integers or logicals.
I wrote the code for 2 agents, but facing problem in storing variables in iteration. As the error shows Subscript indices must e...

3 years ago | 1 answer | 0

1

answer