photo

parag gupta


Last seen: ongeveer 2 jaar ago Active since 2019

Followers: 0   Following: 0

Statistics

  • Thankful Level 3

View badges

Feeds

View by

Question


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

bijna 5 jaar ago | 2 answers | 0

2

answers

Question


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

bijna 5 jaar ago | 2 answers | 0

2

answers

Question


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

ongeveer 5 jaar ago | 0 answers | 0

0

answers

Question


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

ongeveer 5 jaar ago | 1 answer | 0

1

answer

Question


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

meer dan 5 jaar ago | 1 answer | 0

1

answer

Question


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

meer dan 5 jaar ago | 1 answer | 0

1

answer

Question


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

meer dan 5 jaar ago | 1 answer | 0

1

answer

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

meer dan 5 jaar 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 ...

meer dan 5 jaar 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...

meer dan 5 jaar 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...

meer dan 5 jaar 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...

meer dan 5 jaar 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...

meer dan 5 jaar 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...

meer dan 5 jaar 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...

meer dan 5 jaar 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 ...

meer dan 5 jaar 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...

meer dan 5 jaar 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...

meer dan 5 jaar 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...

meer dan 5 jaar 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...

meer dan 5 jaar ago | 5 answers | 0

5

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

bijna 6 jaar 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...

bijna 6 jaar ago | 0 answers | 0

0

answers