Community Profile

photo

NITA JAIN


Thakur College of Engineering & Technology

Active since 2014

Statistics

  • Thankful Level 1

View badges

Content Feed

View by

Question


plz. help to convert this fortran iv program into matlab programm .I wrote the code for subroutine.
DIMENSION Y(6),DY(6),ETAEND(4),TEST(4) DOUBLE PRECISION Y,DY,H,ETA,X,B EXTERNAL DIFF COMMON B 1 READ (5,101) H,X,B,DE...

10 years ago | 0 answers | 0

0

answers

Question


while running this code i am unable to get y (1) ,y(2) and y(3)values.y(1) is coming similar to value of indepent variable and y(2),y(3) is coming 1 &0 resp.Plz. guide where am i getting wrong. thnx
function dydt = ode5(t,y) dydt = zeros(3,1); % a column vector dydt(1) = y(2); dydt(2) = y(3); dydt(3) = (-3.06091)*((y(...

10 years ago | 1 answer | 0

1

answer