Question

Create symbolic function from a function file

Dear all. I have created a function to represent a dynamical system with variables z=[x1,y1,x2,y2,...xn,yn] as following: Al...

12 months ago | 1 answer | 0

Question

Create Symbolic functions with existing function file

Dear all. I have created a function to represent a dynamical system with variables z=[x1,y1,x2,y2,...xn,yn] as following: Alph...

12 months ago | 1 answer | 0

Question

Summation using symsum of matrix

How can l use MATLAB to do the summation as shown above? i=1, n=5, x and y are variables, Sij is a nxn matrix, beta and gamma ...

1 year ago | 0 answers | 0

Question

not enough input arguments

Hi, the code i used is given below. Why did l get the error ''not enough input argument''?

1 year ago | 1 answer | 0

Question

ode45 with multiple variables

How can l solve the system with multiple variables using ode45? For example l want to solve the following system for variables ...

1 year ago | 1 answer | 0

Question

symsum of matrix to extract element in the matrix

i want to sum this: The code i used: syms j S=[0,1,0,0,0;1/2,0,1/2,0,0;0,1/2,0,1/2,0;0,0,1/2,0,1/2;0,0,0,1,0]; C1=symsum(S...

1 year ago | 1 answer | 0

Question

symsum indexing with matrix

i want to sum this: The code i used: syms j S=[0,1,0,0,0;1/2,0,1/2,0,0;0,1/2,0,1/2,0;0,0,1/2,0,1/2;0,0,0,1,0]; C1=symsum(S...

1 year ago | 0 answers | 0

Question

Create matrix with iteration

Dear all How can l create a matrix shown below by iteration?

1 year ago | 1 answer | 0

Question

Plot trajectories of coupled oscillators

Dear all. The problem is given by the attachments. I am studying coupled oscillator, l do not know what code to use in order to ...

1 year ago | 0 answers | 0

Question

Plot trajectories of coupled nonlinear oscillator

Dear all. The problem is given by the attachment. I am studying coupled oscillator, l do not know what code to use in order to s...

1 year ago | 1 answer | 1

Question

Phase portrait of a 2 dimensional system that converges to a unit circle

Dear all, Could you please tell me that how l can plot the graph shown in the attachment using MATLAB? Thank you for the help!!...

1 year ago | 0 answers | 0

Question

Phase portrait of a 2 dimensional system that converges to a unit circle

The dynamical system contains two ODES: dxdt=(1-(x.^2+y.^2)).*x-3.*y.*(x.^2+y.^2); dydt=(1-(x.^2+y.^2)).*y+3.*x.*(x.^2+y.^2); ...

1 year ago | 1 answer | 0