photo

Ayush Ranjan


Last seen: 1 month ago Active since 2023

Followers: 0   Following: 0

Statistics

  • Thankful Level 2

View badges

Feeds

View by

Question


error in runge kutta -Unable to perform assignment because the left and right sides have a different number of elements.
h=10; numberofsteps=500/h; k1_1=zeros(numberofsteps,1); k2_1=zeros(numberofsteps,1); k3_1=zeros(numberofsteps,...

2 months ago | 1 answer | 0

1

answer

Question


Not enough input arguments
h=1; tspan=0:h:500; yo=[6*10^4 10^6 0 10^4 0 4.07 3.33 25.75 1.45 0 0 36.2 60 0 781 105 100 1.25 13.5 20 7.4 82.5]; Nstep=siz...

2 months ago | 1 answer | 0

1

answer

Question


error in running my optimization code
My code is throwing the following error in conversion which i cannot understand. Code- yexpected=table2array(Book65); tspan=0...

1 year ago | 1 answer | 0

1

answer

Question


variable mentioned but still getting unrecognized variable error
I am unrecognized variable where I have mentioned and declared variable, p=zeros(7,1); kpm = 10; kp =3;kmp = 14;klm = 15;kl =...

1 year ago | 2 answers | 0

2

answers

Question


error in ode45. I have declared the vector to be 3x1 but it only reads it as 2x1.
for kpm=27:1:30 tspan = 0:30; yo=[0.01 0.05 0.179]; [t,y]=ode45(@newwaykumar2004,tspan,yo); end function dydt=newwaykum...

2 years ago | 1 answer | 0

1

answer

Question


I am getting an error in ode45
function main tspan = 0:30; yo=[0.01 0.05 0.539]; yo=yo(:); dydt=zeros(3,1); [t,y]=ode45(@newwaykumar2004,tspan,yo); f...

2 years ago | 1 answer | 0

1

answer