Community Profile

photo

Thomas Veith


Last seen: 3 Monate vor Aktiv seit 2018

Followers: 0   Following: 0

Statistiken

  • Thankful Level 3

Abzeichen anzeigen

Feeds

Anzeigen nach

Frage


Having Trouble Using For-Loop Over Distributed Range with ODE45
Hi all, So I'm trying to solve an ODE where the values for two of my inputs change over time. For the first half of my tsp...

fast 5 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


How can I open two instances of MatLab R2019a on Windows 10?
My coworkers use Mac and all they have to do is right-click on the app icon, and there's a command right there that says, "Open ...

fast 5 Jahre vor | 1 Antwort | 1

1

Antwort

Frage


How can I make one of my parameters always greater than another one?
Hi all, So I have the code below, how could I change it if I always wanted beta to be larger than alpha0? Thanks in advan...

fast 5 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


Why is ODE45 using so many intervals?
Hi all, I'm using the code below to solve an ODE. It's not problematic per se, but I'm just wondering if there is a way to fo...

fast 5 Jahre vor | 2 Antworten | 0

2

Antworten

Frage


How to iterate my algorithm?
So I have the code below, and I think I need to put another for-loop around it, but I'm not exactly sure how to get where I want...

fast 5 Jahre vor | 0 Antworten | 0

0

Antworten

Frage


Comparing every value in a numeric array to one value in another one
Hi all, Let's say I have a 10x1 numeric array and another one which is 82x3. What I'd like to do is create a new 10x1 matrix ...

fast 5 Jahre vor | 1 Antwort | 1

1

Antwort

Frage


How can I create a numeric array using entries from my 3D matrix?
If I have a 50x1x10 matrix, and I want to create a 10x1 numeric array, using the 50th entry from each of the 10 columns in the 3...

fast 5 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


How to use my numeric array results as input values for an ODE?
So I have the following code: n = 10 ; result = zeros(n,5 ); for k=1:n ; A0=1;P0=29;g=rand;p=rand;B=rand ; result(k,:...

fast 5 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


Result producing 1x5 array instead of 10x5?
Hi all, I have the following code which I'm expecting to produce a 10x5 array but it's only giving me a 1x5, and I'm not sure...

fast 5 Jahre vor | 2 Antworten | 0

2

Antworten

Frage


Accessing data from cells inside of cells
So I have the code below, which solves an ODE 1000 times with random variables at 10 different intervals (tspans). The result I ...

fast 5 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


How to access/manipulate data from cell arrays?
So I have the code bleow which sovles an ODE 1000 times with random variables. The result is a 1000 by 1 cell array, the content...

fast 5 Jahre vor | 2 Antworten | 0

2

Antworten

Frage


How can I solve this ODE 1000 times with random variables?
So I have this code: tspan=[1 7];A0=rand;P0=rand;g=rand;p=rand;B=rand; [t,x] = ode45(@(t,x) [-g*x(1) + p*x(1); -x(1)*x(2)+ B...

fast 5 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


Conditionally Defining a Variable using ODE45
How could I take this code I'm using and conditionally define my variable 'p'? For example, I want p=0 everywhere except when 3<...

etwa 5 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


How do I change the number of variables in a custom equation in the curve fitting tool?
So for example, on this page, we see a custom equation that only has variables x and y. But when I open the cftool, it defaults ...

mehr als 5 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


How can I model conditionally defined exponential functions?
I am using the MatLab Curve Fitting Toolbox to model a conditionally defined exponential function. My function is that y = exp(g...

mehr als 5 Jahre vor | 1 Antwort | 0

1

Antwort