Community Profile

photo

Mohamed Aburakhis


Last seen: 3 years ago Active since 2016

Statistics

  • First Review
  • Thankful Level 3

View badges

Content Feed

View by

Question


How to know the step time inside the function that integrated by ode45?
I have x0=1; [t,x] = ode45(@My_Fun,[0:0.01:10],x0); and My_Fun is function x_dot =My_Fun(t, x) %% ...

8 years ago | 2 answers | 0

2

answers

Question


how to use ode45 and another function like ode23 or any function to solve one system?
I have system like dot_x1= x1+x2; dot_x2= x1^2-x3; dot_x3= x1-2x1-3x3; I want to solve the first ODE using ode45,...

8 years ago | 1 answer | 0

1

answer

Question


how to stop ode45 when one of states reach certain value
[x_dot] =derivative(t, x) x is states [x(1).....x(4)] I need to stop the integration when x(3) reaches 0.1 when the integr...

8 years ago | 3 answers | 2

3

answers

Question


how can i use ode45 to solve the states if one of them is matrix or vector?
how can i use ode45 to solve the states if one of them is matrix or vector? For example , if the state x is scalar, Z is ve...

8 years ago | 1 answer | 0

1

answer

Question


how to get the control signal from the pid controller?
suppose we have simple code like this As=[matrix A]; Bs=[matrix B]'; Cs=[matrix A]; Ds = 0; Syss = ss(As,Bs,Cs,Ds); TF=...

8 years ago | 1 answer | 0

1

answer

Question


minimum of the matrix
How to get the number of the minimum element in matrix for example for i=0:10 f(i)=i^2-10*i+2 argument to find i...

8 years ago | 1 answer | 0

1

answer

Question


How to get the time vector from the function
Dear all I have a program the uses two function but I couldn't understand how to get the time to plot the system response. I ...

8 years ago | 2 answers | 0

2

answers