Community Profile

Yokuna

Last seen: 1 giorno fa Attivo dal 2021

Professional Interests:
SLAM

Content Feed

Visto da

Domanda

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...

20 giorni fa | 1 risposta | 0

1

risposta

Domanda

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 =...

21 giorni fa | 1 risposta | 0

1

risposta

Domanda

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...

circa un mese fa | 1 risposta | 0

1

risposta

Domanda

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 ...

circa un mese fa | 1 risposta | 0

1

risposta

Domanda

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...

circa 2 mesi fa | 1 risposta | 0

1

risposta

Domanda

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 ...

3 mesi fa | 2 risposte | 0

2

risposte

Domanda

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...

5 mesi fa | 1 risposta | 0

1

risposta

Domanda

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]...

7 mesi fa | 1 risposta | 0

1

risposta

Domanda

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...

8 mesi fa | 1 risposta | 0

1

risposta

Domanda

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...

10 mesi fa | 1 risposta | 0

1

risposta

Domanda

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. .

11 mesi fa | 1 risposta | 0

1

risposta

Domanda

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...

circa un anno fa | 1 risposta | 0

1

risposta

Domanda

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...

circa un anno fa | 1 risposta | 0

1

risposta

Domanda

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 =...

oltre un anno fa | 2 risposte | 0

2

risposte

Domanda

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...

oltre un anno fa | 2 risposte | 1

2

risposte

Domanda

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...

oltre un anno fa | 1 risposta | 0

1

risposta

Domanda

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?

oltre un anno fa | 1 risposta | 0

1

risposta

Domanda

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...

oltre un anno fa | 1 risposta | 0

risposta