Yokuna
Followers: 0 Following: 0
Professional Interests:
SLAM
SLAM
Feeds
질문
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...
거의 2년 전 | 답변 수: 3 | 0
3
답변질문
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년 전 | 답변 수: 1 | 0
1
답변질문
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년 전 | 답변 수: 1 | 0
1
답변질문
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년 전 | 답변 수: 1 | 1
1
답변질문
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년 전 | 답변 수: 1 | 0
1
답변질문
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년 전 | 답변 수: 1 | 0
1
답변질문
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년 초과 전 | 답변 수: 2 | 0
2
답변질문
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년 초과 전 | 답변 수: 1 | 0
1
답변질문
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년 초과 전 | 답변 수: 1 | 0
1
답변질문
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년 초과 전 | 답변 수: 1 | 0
1
답변질문
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년 전 | 답변 수: 1 | 0
1
답변질문
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년 전 | 답변 수: 1 | 0
1
답변질문
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년 전 | 답변 수: 1 | 0
1
답변질문
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년 전 | 답변 수: 1 | 0
1
답변질문
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년 초과 전 | 답변 수: 2 | 0
2
답변질문
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년 초과 전 | 답변 수: 2 | 1
2
답변질문
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년 초과 전 | 답변 수: 1 | 0
1
답변질문
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년 초과 전 | 답변 수: 1 | 0
1
답변질문
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년 초과 전 | 답변 수: 1 | 0