photo

mks


Last seen: 2 days ago Active since 2023

Followers: 0   Following: 0

Programming Languages:
MATLAB

Statistics

  • Thankful Level 2

View badges

Feeds

View by

Question


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

9 months ago | 1 answer | 0

1

answer

Question


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

1 year ago | 1 answer | 0

1

answer

Question


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

1 year ago | 1 answer | 0

1

answer

Question


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

1 year ago | 0 answers | 0

0

answers

Question


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

1 year ago | 0 answers | 0

0

answers

Question


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

1 year ago | 1 answer | 0

1

answer

Question


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

1 year ago | 0 answers | 0

0

answers

Question


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)

1 year ago | 1 answer | 0

1

answer

Question


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

1 year ago | 1 answer | 0

1

answer

Question


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

1 year ago | 0 answers | 0

0

answers

Question


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

1 year ago | 2 answers | 0

2

answers

Question


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

1 year ago | 0 answers | 0

0

answers

Question


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

1 year ago | 1 answer | 0

1

answer

Question


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

1 year ago | 0 answers | 0

0

answers

Question


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

1 year ago | 1 answer | 0

1

answer

Question


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

1 year ago | 0 answers | 0

0

answers

Question


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

1 year ago | 0 answers | 0

0

answers

Question


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

1 year ago | 2 answers | 0

2

answers

Question


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

1 year ago | 3 answers | 0

3

answers

Question


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

1 year ago | 2 answers | 0

2

answers