Question

Cant get my loop to work

apparently there's something wrong in line 12 and i keep getting a debugging page for ode45 when i try to run it % Initial cond...

2 months ago | 1 answer | 0

Question

Using a loop with changing intial value

I need to use a loop to be used to solve the ODE with various T0 which needs to range from 300 to 800. Right now i only know how...

2 months ago | 1 answer | 0

Question

Trying to code from Polymath

Im supposed to turn this Polymath code into a Matlab code but Im not sure how. Please help. Its supposed to use an ode solver an...

2 months ago | 1 answer | 0

Question

Professor Provided this code but I cant get it to run

This is the exact code he gave us and I cant get it to run. Supposedly its supposed to look like this: function RHS = HeatT...

2 months ago | 1 answer | 0

Question

How to determine an x value at a specific y value?

I need help finding the value of t and B when S=0.001. I got my plot to work but not sure how to write my code to find these val...

3 months ago | 2 answers | 0

Question

How to find the max value of a curve on a graph

I'm trying to find the max value of my G(T) curve(the parabolic one). Not sure how to het the value and make it show up as a mar...

3 months ago | 1 answer | 0

Question

How to plot more than 3 lines on a graph?

I can get R, G, R1 to show up on my graph, but when I add R2 it doesnt show up and all my graph labels disappear. Please help f...

3 months ago | 1 answer | 0

Question

How to find the points where two lines cross?

I need help finding the intersection of the two functions from this graph. I would like to have markers and have the command win...

3 months ago | 1 answer | 0

Question

Plotting ODEs with changing variable

Im trying to plot conversion in terms of theta but i cant get it to work theta = [0,15]; Conversion = [0]; [TH, X] = ode45(@o...

3 months ago | 1 answer | 0

Question

Plotting multiple figures with an ODE

Im trying to plot Conversion vs Volume profile and a Temperatrure vs. Volume profile but i can only get the first to show up. Pl...

3 months ago | 0 answers | 0

Question

How to Graph more than one ODE on a plot

I can't get my two functions for my ODEs to graph on the same plot. I'm not sure how get these to work with each other. Volume ...

3 months ago | 1 answer | 0

Question

Code Won't Finish running

Cant get my ODEs to run correctly with my X(2) value. Code will run but it doesn't complete and get a giant debugging page if I ...

3 months ago | 2 answers | 0

Question

How to find the x and y values at the max of a curve?

Im trying to find the max Concentration for the curve R and its corresponding time. The max function doesn't seem to work when I...

3 months ago | 1 answer | 0