Community Profile # gorilla3

Active since 2017

#### Statistics

• • #### Content Feed

View by

Question

Plot polyfit R-squared
Hi guys, could you please help me figure out why the polyfit works in one figure but not in the other? I don'T understand why i...

3 years ago | 1 answer | 0

### 1

Question

system of 5 eq and 5 uknowns, FSOLVE error
Hi, I have an error in the initial condition (B0) estimation but don't know how to solve it. How does one choose the initial ...

3 years ago | 1 answer | 0

### 1

Question

Unable to perform assignment because the size of the left side is 1-by-144 and the size of the right side is 1-by-114.
Hi, I'm getting the error message described above and I'm not sure why, this is the code: t1_r=zeros(length(idx1i),144); ...

3 years ago | 1 answer | 0

### 1

Question

ode15s extract solutions for every time step
Hi, I'm running this system of ode with ode15s, and I would like to visualize one of the parameters ( _ptot_) at each step of...

4 years ago | 1 answer | 0

### 1

Question

Change parameter value during ode15s solution
Hi, I'm solving a set of differential equations and I'd like to change the value of a constant (Pin) at a specific time durin...

4 years ago | 1 answer | 0

### 1

Question

Matlab ode15s change parameter value at specific time during solution
I'm trying to change the value of my variable Pin at specific points in time during the ode15s solution, in order to evaluate th...

4 years ago | 1 answer | 0

### 1

Question

Dynamic response ode15s
Hi, I would like to get the dynamic response of this system of equations when one of the parameters (Pin) changes in time...

4 years ago | 0 answers | 0

### 0

Question

for loop ode 45 changing parameter values
I'm trying to run this code and use only the last value of the tspan for the ode45, however I always get 2 values for the final ...

4 years ago | 2 answers | 1

### 2

Question

Selecting last value of tspan ode45
I'm trying to extract results only for the last value of the tspan in ode45. However, I end up with 2 results for tfinal... I do...

4 years ago | 2 answers | 1

### 2

Question

ode45 for loop stuck at 1st loop
I'm trying to solve an ode45 for 130 different values of ABP (a parameter in the equations), hence I decided to make a for loop ...

4 years ago | 0 answers | 0

### 0

Question

How to call multiple functions in ode 45?
I'm trying to solve 2 systems of differential equations using ode45, however I get the error code: Error using odearguments (...

4 years ago | 1 answer | 0

### 1

Question

Vector of values error for loop
I'm trying to make an array (r1_tot) of values in the workspace with 25 values ranging from 0.010 to 0.035. However I obtain an ...

4 years ago | 1 answer | 0

### 1

Question

ode 45 formulation of equations in system
Hi, I believe I have a mistake in the 1st equation of the system but I am unsure how to formulate it correctly then. Could yo...

4 years ago | 0 answers | 0

### 0

Question

2D plot array elements
I'm trying to plot elements from an array of solutions (value of percentage), against a changing parameter ABP. However I only g...

4 years ago | 0 answers | 0

### 0

Question

Percentage change and plot
I ran my code multiple times, by assigning a different value to one of the variables (Pa) each time. The results are stored in a...

4 years ago | 2 answers | 0

### 2

Question

system of 1st and 2nd order differential equations ode45
I have a system of two 1st order diff eq and one 2nd order diff eq. I want to solve them simultaneously using ode45 and subseque...

4 years ago | 1 answer | 0

### 1

Question

Summing results of ode45
Hello, using ode45 I solved 3 differential equations. I now want to create a function x that adds all the 3 components of the d...

4 years ago | 1 answer | 0

### 1

Question

Why does it not plot the function?
In the following series of functions, only the 1st one is being plotted. I don't understand why the others don't appear. Could y...

4 years ago | 2 answers | 0