Community Profile

photo

mks


Last seen: 2 días hace Con actividad desde 2023

Followers: 0   Following: 0

Programming Languages:
MATLAB

Estadísticas

  • Thankful Level 2

Ver insignias

Feeds

Ver por

Pregunta


I want to solve ODE for a complex systems in a rk4 method
I know to solve for simple system But i want to solve complex systems using matrix , array in rk4 method. I have a simple rk4 c...

alrededor de 2 meses hace | 1 respuesta | 0

1

respuesta

Pregunta


how can I wired two edges and replace it in an adjacency matrix
clc; clear all; n = 10; C= zeros(n, n); C(1,n)=1; C(1,n-1)=1; C(2,n)=1; A = zeros(n, n); for i = 1:n for j = 1:...

8 meses hace | 0 respuestas | 0

0

respuestas

Pregunta


I have an adjacency matrix .Now I want to rewire by replacing two edges at random.I have tried please see below
clc; clear all; n = 10; C= zeros(n, n); C(1,n)=1; C(1,n-1)=1; C(2,n)=1; A = zeros(n, n); for i = 1:n for j = 1:n ...

8 meses hace | 0 respuestas | 0

0

respuestas

Pregunta


I have an adjacency matrix .Now I want to rewire by replacing two edges at random.
clc; clear all; n = 10; C= zeros(n, n); C(1,n)=1; C(1,n-1)=1; C(2,n)=1; A = zeros(n, n); for i = 1:n for j = 1:...

8 meses hace | 0 respuestas | 0

0

respuestas

Pregunta


I want to check time series of the ordinary differential equation of 10 dimension .summed over all patches
clc; clear all; n = 20; x=accumarray([2 3 n-1 n]',1); B = toeplitz(x,x); numEdgesToRewire = 2; matrixSize=20; e...

9 meses hace | 0 respuestas | 0

0

respuestas

Pregunta


Please check the time series code ,the code is not running where B is a matrix of order 20
clc; clear all; n = 20; x=accumarray([2 3 n-1 n]',1); B = toeplitz(x,x); % G=graph(B); % plot(G) % Parameters % matrixSi...

9 meses hace | 1 respuesta | 0

1

respuesta

Pregunta


please complete the time series code
clc; clear all; n = 10; x=accumarray([2 3 n-1 n]',1); B = toeplitz(x,x); % G=graph(B); % plot(G) % Parameters % matrixSi...

9 meses hace | 0 respuestas | 0

0

respuestas

Pregunta


I want to plot the summed (x(1)+x(3)+x(5)+...x(19)) vs time
clear all; n = 10; x=accumarray([2 3 n-1 n]',1); B = toeplitz(x,x); % G=graph(B); % plot(G) % Parameters % matrixSize = 1...

9 meses hace | 0 respuestas | 0

0

respuestas

Pregunta


how can i rewired by replacing 2 edges at random then the code will be ?
n = 10; x=accumarray([2 3 n-1 n]',1); B = toeplitz(x,x); G=graph(B); plot(G)

9 meses hace | 1 respuesta | 0

1

respuesta

Pregunta


I have adajacency matrix B. Now ,I want to write a matlab code for time series .I have written some part of the code
clc; clear all; n = 10; C= zeros(n, n); C(1,n)=1; C(1,n-1)=1; C(2,n)=1; A = zeros(n, n); for i = 1:n for j = ...

9 meses hace | 0 respuestas | 0

0

respuestas

Pregunta


How can I write a code when few node are connected five edges and some nodes are connected four,three and 2 edges .please help me on this .
clc; clear all; n = 10; C= zeros(n, n); C(1,n)=1; C(1,n-1)=1; C(2,n)=1; A = zeros(n, n); for i = 1:n for j = 1:n ...

9 meses hace | 0 respuestas | 0

0

respuestas

Pregunta


Adjacency matrix.I want to simply the code .
clc; clear all; n = 10; C= zeros(n, n); C(1,n)=1; C(1,n-1)=1; C(2,n)=1; A = zeros(n, n); for i = 1:n for j = 1:...

9 meses hace | 2 respuestas | 0

2

respuestas

Pregunta


Adjacency matrix .I have adjacency matrix . I want to convert it into generalise matlab code .
A=[0,1,1,0,0,0,0,0,1,1;1,0,1,1,0,0,0,0,0,1;1,1,0,1,1,0,0,0,0,0;0,1,1,0,1,1,0,0,0,0;0,0,1,1,0,1,1,0,0,0;0,0,0,1,1,0,1,1,0,0;0,0,0...

9 meses hace | 0 respuestas | 0

0

respuestas

Pregunta


I want to plot Basin of attraction. I have written a few line of code given below.Please help some one
clear all clc; r1=0.8; K1=8;c1=0.12; alpha1=0.505;alpha2=0.5;gamma=0.25;d1=0.2; r2=0.5;c2=0.22; K2=8;k=1;beta=0.27;lambda=1....

9 meses hace | 1 respuesta | 0

1

respuesta

Pregunta


I want to plot phase diagram .But I reach here maintion the code below please help ,me the remaining part
clc;clear;close all; r=0.1; k=50; a=0.01; e=0.5; m=0.05; s=0.1; w=0.1; b=0.001; q=0.03; F=1.; M=50; X=0:1:50;J=[0 50...

9 meses hace | 0 respuestas | 0

0

respuestas

Pregunta


I want to plot phase diagram.I have written a code of nullcline and want plot phase diagram
clc;clear;close all; r=0.1; k=50; a=0.01; e=0.5; m=0.05; s=0.1; w=0.1; b=0.001; q=0.03; F=1.613; M=50; X=0:1:50;J=[0...

9 meses hace | 0 respuestas | 0

0

respuestas

Pregunta


Isocline and step function
% Parameters r =0.1; % Define the value of r k = 50; % Define the value of k a =0.01; % Define the value of a e = 0.5; % Def...

9 meses hace | 0 respuestas | 0

0

respuestas

Pregunta


I want get matrix
matrix_FA=zeros(SSf,SSa); Ln_total=0; while Ln_total<round(C0*SSf*SSa) Type=randi(2); %,1:P->A; 2:A->P if Type==1 ...

9 meses hace | 0 respuestas | 0

0

respuestas

Pregunta


I want to plot Isocline i.e want plot (x,y) when system contains step function .
% Parameters r =0.1; % Define the value of r k = 50; % Define the value of k a =0.01; % Define the value of a e = 0.5; % Def...

9 meses hace | 0 respuestas | 0

0

respuestas

Pregunta


I want to isocline induced step function
x'=rx(1-x/k)-axy/(1+quM) y'=(eaxy)/(1+quM)-my Where u=0 if x<=pi_0; u=sx/(sx+F)+w(sx-F)/(b(sx+F)M), if pi_0 <x<pi_1; u=1 if ...

9 meses hace | 2 respuestas | 0

2

respuestas

Pregunta


Network adjacency matrix for connecting n node with probability p
i have write this but is not running clc; clear all n=10; p=0.4; adj_matrix = generate_adjacency_matrix(n, p) function ad...

9 meses hace | 3 respuestas | 0

3

respuestas

Pregunta


i want to get adjacency matrix of a network
i have write this but is not running clc; clear all n=10; p=0.4; adj_matrix = generate_adjacency_matrix(n, p); function...

9 meses hace | 2 respuestas | 0

2

respuestas