Community Profile

photo

Tom Keaton


Last seen: más de 2 años hace Con actividad desde 2018

Estadísticas

  • Thankful Level 3

Ver insignias

Content Feed

Ver por

Pregunta


Error using symengine>@()0.0 Too many input arguments.
Hello, I am receiving this error when I run my code: Error using symengine>@()0.0 Too many input arguments. Error in odefu...

alrededor de 4 años hace | 0 respuestas | 0

0

respuestas

Pregunta


"Index exceeds the number of array elements"
Hello, I am recieving this error: Index exceeds the number of array elements (1). Error in sym/subsref (line 890) ...

alrededor de 4 años hace | 2 respuestas | 0

2

respuestas

Pregunta


How to Create Vector Function File
Hello, I wish to create a vector function defined as the following: The code I have so far: function [Ex, Ey, Ez] = E_field...

más de 4 años hace | 1 respuesta | 0

1

respuesta

Pregunta


"Unable to Meet Integration Tolerances"
I am receiving the following error: Warning: Failure at t=7.032410e-09. Unable to meet integration tolerances without reducing...

más de 4 años hace | 0 respuestas | 0

0

respuestas

Pregunta


Piece-wise Functions in 3 Dimensional Differential Equation Solver
Hello, I want to implement a piecewise function as a part of a differential equation. I was looking at previous posts on this i...

más de 4 años hace | 1 respuesta | 0

1

respuesta

Pregunta


Error "using symengine>@()0.0" in ODE Solver
Hello, I restarted everything I did from scratch and in the most simpliest way possible to recreate the same error I get in m...

más de 4 años hace | 1 respuesta | 0

1

respuesta

Pregunta


ODE Error: "Array indices must be positive integers or logical values"
Alright I managed to simplify this down to the most basic I can. I am getting an error in my ode set: Index in position 1 is in...

más de 4 años hace | 1 respuesta | 0

1

respuesta

Pregunta


Matlab Ignoring Half of Equation When Solving ODE
Hello, I am trying to solve the Lorentz Force differential equation set in 3 space, however I am currently omitting the magneti...

más de 4 años hace | 1 respuesta | 0

1

respuesta

Pregunta


Cannot Plot Multiple Functions on Same Graph
Hello, I am trying to plot two different Maxwellian functions on the same graph. The only difference between them is that one h...

más de 4 años hace | 1 respuesta | 0

1

respuesta

Pregunta


Plot Legend Command Does Not Work
Hello, I am trying to put the legend for a 3D plot inside the plot (upper-right hand corner) but it refuses to do so even when ...

casi 5 años hace | 0 respuestas | 0

0

respuestas

Pregunta


Error: Cannot set support to 'positive' with non-positive data.
I continue to get the following error with my code: Error using mvksdensity>compute_finite_support (line 274) Cannot set suppo...

casi 5 años hace | 1 respuesta | 0

1

respuesta

Pregunta


"Error using symengine>@()0.0 Too many input arguments."
I continue to receive the following error: Error using symengine>@()0.0 Too many input arguments. Error in bdipuniodefun (l...

casi 5 años hace | 0 respuestas | 0

0

respuestas

Pregunta


ODE Solver Freezing Up
Hi, I tried using ode15s to solve a trajecotry solution and what is so odd here is that the solver exponentially becomes slower...

casi 5 años hace | 0 respuestas | 0

0

respuestas

Pregunta


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...

alrededor de 5 años hace | 1 respuesta | 0

1

respuesta

Pregunta


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 ...

alrededor de 5 años hace | 2 respuestas | 0

2

respuestas

Pregunta


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...

más de 5 años hace | 1 respuesta | 0

1

respuesta

Pregunta


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 ...

más de 5 años hace | 1 respuesta | 0

1

respuesta

Pregunta


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 ...

más de 5 años hace | 0 respuestas | 0

0

respuestas

Pregunta


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 ...

más de 5 años hace | 0 respuestas | 0

0

respuestas

Pregunta


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...

más de 5 años hace | 1 respuesta | 0

1

respuesta

Pregunta


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 ...

más de 5 años hace | 1 respuesta | 0

1

respuesta

Pregunta


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...

más de 5 años hace | 0 respuestas | 0

0

respuestas

Pregunta


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...

más de 5 años hace | 1 respuesta | 0

1

respuesta

Pregunta


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...

más de 5 años hace | 0 respuestas | 0

0

respuestas

Pregunta


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...

casi 6 años hace | 1 respuesta | 0

1

respuesta

Pregunta


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...

casi 6 años hace | 1 respuesta | 0

1

respuesta