Community Profile

photo

Tom Keaton


13 total contributions since 2018

Tom Keaton's Badges

  • Thankful Level 2

View details...

Contributions in
View by

Question


Matlab Cannot Find Functional Inverse
Hello, I have this code and want to find the inverse of the defined function, however Matlab says it is unable (Error below) and...

21 dagen ago | 1 answer | 0

1

answer

Question


ODE Solver Running Very "Slowly"
Hello, I am using an ODE solver inside a for loop to run trajectories of particles in a magnetic field, however whenever I run ...

ongeveer een maand ago | 2 answers | 0

2

answers

Question


How to Generate a Random # Between -1 and 1?
Hello, I have a simple question. I want to produce a random number between -1 and 1 as the title states. I tried doing this alr...

3 maanden ago | 1 answer | 0

1

answer

Question


What does this ODE error mean?
Hello, I don't understand why I am getting the following error: Error using odearguments (line 87) The entries in tspan must ...

3 maanden ago | 1 answer | 0

1

answer

Question


Discritizing an ODE Solution
Hello, I have a conceptual question to ask. Say I want to utilize the ode15s function to solve a system of coupled differential ...

4 maanden ago | 0 answers | 0

0

answers

Question


For Loop Significantly Increases Run Time of Script
Hello again! For this ode solver, I am trying to tell it to solve a system of equations for every time step in my for loop. The ...

4 maanden ago | 0 answers | 0

0

answers

Question


How to pull specific data from solution set?
Hello, I am using this ODE solver and I am trying to figure out how I can reference the velocity components of the matrix of sol...

4 maanden ago | 1 answer | 0

1

answer

Question


How to Use Symbolic Functions in For Loops
I would like to use a symbolic function in a for loop, however I spent hours reading the resources about symbolic functions and ...

5 maanden ago | 1 answer | 0

1

answer

Question


How to orientate and specify geometry location in a 3D plot?
I have this script and I am plotting a magnetic field of a cylindrical magnet. I am trying to import a cylinder using the PDEs t...

7 maanden ago | 0 answers | 0

0

answers

Question


Referencing Arbitrary Functions from other Script Files to Solve System of Equations
CODE UPDATED: I am re-asking this question and this time giving all the context so that those reading this will better unders...

7 maanden ago | 1 answer | 0

1

answer

Question


How do I create an arbitrary function that can be referenced in another script correctly?
I am trying to create an E-field of a sphere with a known radius and potential that has been induced on it. Here is the code I a...

7 maanden ago | 0 answers | 0

0

answers

Question


Solving a System of ODEs
My Input: syms x(t) y(t) z(t) %Units of kg and seconds q = 1.60217662*(10^-19); B = 2; m_e = 1.60217662*(10*-31...

8 maanden ago | 1 answer | 0

1

answer

Question


How can I fix "Not Enough Input Arguments" error in this Script?
Input: t = 0:pi/50:10*pi; x = (1/2)*(sin(2*t))+1; y = (1/2)*(cos(2*t))+1; z = 2*t; plot3(x,y,z,t,'r','LineWid...

8 maanden ago | 1 answer | 0

1

answer