Community Profile

photo

parag gupta


Last seen: más de 1 año hace Con actividad desde 2019

Followers: 0   Following: 0

Estadísticas

  • Thankful Level 3

Ver insignias

Feeds

Ver por

Pregunta


How to store " first_element " values?
Could you please tell how to store the "first_element" values in a matrix? %%%%%%%%%%%%%%%%%%%%%%%%%%%% %code first_element =...

alrededor de 4 años hace | 2 respuestas | 0

2

respuestas

Pregunta


Could someone tell me an easy way to plot graph when kk varies from 1 to 100?
I run the function file for kk = 1:4 and saved by using save(['A', num2str(kk),'.mat']) command and then I plot the graphs ...

alrededor de 4 años hace | 2 respuestas | 0

2

respuestas

Pregunta


Why MATLAB is showing busy string the code attached below?
I have done the coding of a model (I have attached the image of the model and the code). MATLAB is showing busy. Could you p...

más de 4 años hace | 0 respuestas | 0

0

respuestas

Pregunta


How to plot the graphs when b2 varies from 0 to 2 in the code I attached below?
I tried to use a for loop but getting error. Could you please tell how can I get graph for b2 = 0:2 and how to merge them on g...

más de 4 años hace | 1 respuesta | 0

1

respuesta

Pregunta


How to find the coordinates of starting, end point and peak from graph?
How to find the peak value, end point and distance between starting and end point? x = linespace(-5,5); y = sqrt((36-x.^2)/9...

más de 4 años hace | 1 respuesta | 0

1

respuesta

Pregunta


How to plot for different values of parameters on one run?
How to get the plots for different values of aplha = 2,3,4,5 on one run and how to merge all those graphs ? function [t,y] = ca...

más de 4 años hace | 1 respuesta | 0

1

respuesta

Pregunta


How to plot the graph for different values of parameters?
In my mathematical model I have one parameter "c" .I got the graphs of the equations for " c = 1" but now I want the graphs fo...

más de 4 años hace | 1 respuesta | 0

1

respuesta

Pregunta


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

más de 4 años hace | 1 respuesta | 0

1

respuesta

Pregunta


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

casi 5 años hace | 1 respuesta | 0

1

respuesta

Pregunta


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

casi 5 años hace | 0 respuestas | 0

0

respuestas

Pregunta


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

casi 5 años hace | 0 respuestas | 0

0

respuestas

Pregunta


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

alrededor de 5 años hace | 1 respuesta | 0

1

respuesta

Pregunta


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

alrededor de 5 años hace | 2 respuestas | 0

2

respuestas

Pregunta


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

alrededor de 5 años hace | 3 respuestas | 0

3

respuestas

Pregunta


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

alrededor de 5 años hace | 1 respuesta | 0

1

respuesta

Pregunta


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

alrededor de 5 años hace | 1 respuesta | 0

1

respuesta

Pregunta


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

alrededor de 5 años hace | 1 respuesta | 0

1

respuesta

Pregunta


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

alrededor de 5 años hace | 2 respuestas | 0

2

respuestas

Pregunta


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

alrededor de 5 años hace | 1 respuesta | 0

1

respuesta

Pregunta


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

alrededor de 5 años hace | 5 respuestas | 0

5

respuestas

Pregunta


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

alrededor de 5 años hace | 0 respuestas | 0

0

respuestas

Pregunta


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

alrededor de 5 años hace | 0 respuestas | 0

0

respuestas