photo

Abhijot Mann


Active since 2017

Followers: 0   Following: 0

Statistics

MATLAB Answers

2 Questions
0 Answers

RANK
293,129
of 300,678

REPUTATION
0

CONTRIBUTIONS
2 Questions
0 Answers

ANSWER ACCEPTANCE
0.0%

VOTES RECEIVED
0

RANK
 of 21,039

REPUTATION
N/A

AVERAGE RATING
0.00

CONTRIBUTIONS
0 Files

DOWNLOADS
0

ALL TIME DOWNLOADS
0

RANK

of 170,111

CONTRIBUTIONS
0 Problems
0 Solutions

SCORE
0

NUMBER OF BADGES
0

CONTRIBUTIONS
0 Posts

CONTRIBUTIONS
0 Public Channels

AVERAGE RATING

CONTRIBUTIONS
0 Highlights

AVERAGE NO. OF LIKES

Feeds

View by

Question


How can i change the values of parameter E1 to 1 then 50 and lastly 100 and plot a single graph that include three lines for three inputs of E1 in same graph. I need to draw a comparison
if true E1 = 50; E2 = 3;E4=8;E3=5;E5=7;E6=7; tspan = [0 0.05]; y0 = [1 0 0 0]; [t,y] = ode45(@(t,y) odefcn(t,y,E1...

9 years ago | 1 answer | 0

1

answer

Question


how can i convert a string that is "A*x+B*y" to an mathematical differential expression that will be computed later on using ode solver, currently the error is
function dydt = odefcn(t,y,A,B) dydt = zeros(2,1); dydt(1) = y(2); dydt(2) = evalin(symengine,'A*y(1)-B*y(2)'); ...

9 years ago | 1 answer | 0

1

answer