Community Profile

photo

parag gupta


15 total contributions since 2019

parag gupta's Badges

  • Thankful Level 2

View details...

Contributions in
View by

Question


How do I merge 2 figures from 2 different programs in a single figure ?
Hi! Please find attached a file containg code. I got two graphs from two different files and want to merge them into one graph. ...

ongeveer 17 uur ago | 1 answer | 0

1

answer

Question


How to avoid the repetition of events ?
I am using dde23 solver. p = sol.ie() p = 6 4 2 3 1 17 17 21 21 27 I dont want the same event ...

3 maanden ago | 1 answer | 0

1

answer

Question


Stiff Delay Differential Equations
Can we use dde23 solver to find solution of Stiff Delay Differential Equations? I read somewhere that dde23 is for soving nonst...

3 maanden ago | 0 answers | 0

0

answers

Question


Stiff Delay Differential Equations
Hey Can we use dde23 solver for solving sytem of stiff delay differential equations? I tried to find the solution of those equ...

3 maanden ago | 0 answers | 0

0

answers

Question


How to write it in a loop?
a = 2 b = 3 p1(1) = a.b p1(2) = a.b^2 p2(1) = a^2.b p2(2) = a^2.b^2 .......i.e pi(j) = 2^i * 3^j where i from 1 to 4 a...

4 maanden ago | 1 answer | 0

1

answer

Question


confusion related to 'for' loop.
epsilon = 2 p = cell(1,8); for i = 1:8 p{i} = epsilon end How to edit this code so that I can get p{1} = epsilon,p{2} = ep...

4 maanden ago | 2 answers | 0

2

answers

Question


How to normalize all the matrices in a loop so that each row sums up to 1
N = 4 n = 2 A = cell(1,N); for i = 1:N A{i} = rand(n,n) end celldisp(A) From above command I will get 4 matrices.How to n...

4 maanden ago | 3 answers | 0

3

answers

Question


sum of row equal to particular number.
I have the following matrix B = [2 2 2 3; ... 2 2 1 1; ... 4 5 2 1] Ho...

4 maanden ago | 1 answer | 0

1

answer

Question


Replace part of matrix with other matrix.
B = [ 2,2,0,0,0,0;2,2,0,0,0,0;0,0,2,1,0,0;0,0,3,1,0,0;0,0,0,0,2,1;0,0,0,0,3,1] i.e B is a matrix 2 2 0 0 ...

4 maanden ago | 1 answer | 0

1

answer

Question


how to store output for different values of i's ?
for i = 1:4 p1= [1,2;2,3] end How to store output for different values of i's so that I end up 4 matrices instead of one matr...

4 maanden ago | 1 answer | 0

1

answer

Question


How to replace 2x2 zero sub matrices by different 2x2 matrices ?
How to replace 2x2 zero submatrix of B with 2x2 matrices different matrice.I have 12 matrices of size 2x2 and want to replace ze...

4 maanden ago | 2 answers | 0

2

answers

Question


How to use blkdiag command to create a matrix such that its diagonal blocks are random 2 x 2 matrices?
for k = 1 : 4 A = rand(2,2) end By using the above command I got 4 random matrices.How to create a block diagonal mat...

4 maanden ago | 1 answer | 0

1

answer

Question


Index exceeds the number of array elements .
function v = model(t,y,Z) r=10^(-1); d=5*10^(-1); delta = 10^(-1); c = 10^(2); K = 10^(8); C = 10^(8); x = 1; sigma = 10...

4 maanden ago | 2 answers | 0

2

answers

Question


how to find the solution of system of equations in MATLAB?
eqn1= r*x*(1-((x+y)/K))-d*z*x =0; eqn2 = r*x*(((x+y)/K))-delta*z*y-delta_m*y =0; eqn3 = c*(((x+y)/C)^m)*(1-z) =0 ; with C r ...

6 maanden ago | 0 answers | 0

0

answers

Question


How to specify history in matlab ?
Intial conditions are v1(t)= 200,m1(t)=0,a1(t)=0 for -100 <= t <= 0. how to specify history with these intial conditions in ma...

6 maanden ago | 0 answers | 0

0

answers