# Steven Lord

### MathWorks

I joined The MathWorks in the Technical Support department during the summer of 2001 and transferred into the Quality Engineering department in March of 2004. I now work qualifying the core MATLAB numerical functions (PLUS, MINUS, LU, FFT, ODE45, etc.) Professional Interests: mathematics, MATLAB For assistance with MATLAB question please post to MATLAB Answers or contact Technical Support using the Contact Us link in the upper-right corner of the page instead of contacting me directly.

**Statistics**

RANK**13**

of 287 519

REPUTATION**16 792**

CONTRIBUTIONS

**0** Questions

**7 745** Answers

ANSWER ACCEPTANCE **
0.00%
**

VOTES RECEIVED**2 939**

RANK**507** of 19 408

REPUTATION**3 284**

AVERAGE RATING**3.40**

CONTRIBUTIONS**5** Files

DOWNLOADS **27**

ALL TIME DOWNLOADS**32117**

CONTRIBUTIONS**0 Posts**

CONTRIBUTIONS**0** Public Channels

AVERAGE RATING

CONTRIBUTIONS**0** Highlights

AVERAGE NO. OF LIKES

**Content Feed**

Error in Error in odearguments (line 92) f0 = ode(t0,y0,args{:}); % ODE15I sets args{1} to yp0. Error in ode45 (line 104) odearguments(odeIsFuncHandle,odeTreatAsMFile,

Get rid of the line clear all at the start of your juan.m file.

en dag ago | 0

"Undefined variable" error even though variable is defined

I'm guessing that you want to initialize Background1 when t is equal to 1 and to use the formula to update Background1 when t is...

en dag ago | 0

Fitting a Surface to a Function of Two Independent Variables

Let me ask you a simpler question. Here are two variables. What is the functional relationship between them? If y = f(x) what is...

4 dagar ago | 0

| accepted

i buuy yesterday mathlab

Please contact Technical Support directly using this link for help with this installation or startup issue.

5 dagar ago | 0

A group of 12 people all roll a pair of dice 12 times, how often does each person roll a total number that is greater than or equal to 7?

Your first four lines of code are correct. - How many times does each person roll a total number greater than or equal to 7? R...

5 dagar ago | 1

Is this a logical Error in Matlab ? exp (pi*i*6) = 1.000000000000000 - 0.000000000000001i. WHY an i component ?, should just be 1

is a transcendental number. pi is the double precision approximation to that number. There are some functions in MATLAB that let...

6 dagar ago | 4

Using ODE45 to Solve a System of Equations Outputting Linear non-Ideal Results

The form I have rearranged the equations in to is: M(Y) + dY/dz = F(Y) Where M(Y) is the mass matrix, dY/dz are the collec...

8 dagar ago | 0

How do I get MATLAB to recognize a BCE

Rather than trying to create a string containing a negative year to represent a BCE date and passing that string into datetime, ...

8 dagar ago | 0

Error in multipying a 3 by 3 matrix with a 3 by 1

Xa = app.previewTABLE.Data(:,1); Ya = app.previewTABLE.Data(:,2); Za = app.previewTABLE.Data(:,3); C = [Xa;Ya;Za]; %% 3x1 m...

9 dagar ago | 0

Trying to MATLAB code to find augmented matrix D, please help

Let's compare the C matrix that you defined in your code: C1 = [3; 2; -1; 5] and the one defined by what I assume is the text ...

9 dagar ago | 0

MATLAB sometimes thinks the keyword "ans" refers to a a file

If there's no variable named ans in the workspace, MATLAB would try to call the ans.m script file that contains the help text re...

9 dagar ago | 0

| accepted

Please share the algorithm of the particular data set. I want to find out average of the attached data of every 5 seconds. Thank You

Since you have time-based data you might want to read your data into a timetable using the readtimetable function. If you do, th...

10 dagar ago | 0

How do I stop Matlab from creating temporary files (2020b and newer) or delete them programmatically?

From your description and your mention of Simulink.sdi.clear resolving the problem, this sounds like it might be Bug Report 2507...

10 dagar ago | 0

How to build a graph of the solution of a second-order differential equation in MATLAB

Solve the system of ODEs numerically (try using ode45 first, and switch to a stiff solver if it takes too long) rather than symb...

10 dagar ago | 0

zero padding

If you're using release R2023b or later, see the paddata function introduced in MATLAB in release R2023b.

11 dagar ago | 1

Bug in saving .fig (but not .png or .pdf) from when specifiying YAxis.Exponent as -6

This sounds like Bug Report 3147076 which is listed as fixed in release R2023b Update 6.

11 dagar ago | 0

| accepted

How do I use Matlab to create a boxplot?

What do you mean by "code a boxplot"? Are you trying to call the boxplot function from Statistics and Machine Learning Toolbox a...

12 dagar ago | 0

Matlab R2022b won't save .fig

Let's make sure you haven't created your own savefig.m that is taking precedence over the savefig function that is part of MATLA...

12 dagar ago | 0

| accepted

Solve my determinant equal to zero with roots

You can use the vpasolve function to solve the polynomial, use the sym2poly function to automate extracting the vector of coeffi...

13 dagar ago | 1

| accepted

ddesd solver for discrete points

This sounds like a homework assignment. If it is, show us the code you've written to try to solve the problem and ask a specific...

15 dagar ago | 0

| accepted

How do I call a function from the command window

What you have right now is a script file with a function defined inside it. Functions inside script files are not directly acces...

16 dagar ago | 1

How do I create custom signatures for non-static class methods?

The foo method of your SomeClass class is an ordinary method (as opposed to a static method) so at least one of the inputs must ...

16 dagar ago | 0

| accepted

how to add cusom properties on current project object

Please contact Technical Support directly using this link and ask them to enter a request to add properties to the Project objec...

16 dagar ago | 0

Jumps in roots finding solutions

The documentation of the roots function doesn't state anything about a particular order in which the roots are returned. What ha...

17 dagar ago | 1

Function Call without parentheses

Calling a function without parentheses and with 0 input arguments Yes, you can call a function without parentheses. In fact, yo...

17 dagar ago | 0

Variable q10 must be of data type double. It is currently of type sym. Check where the variable is assigned a value.

As you can see from the fact that your code ran in MATLAB Answers, your code does work. I'm assuming that you're running this in...

18 dagar ago | 0

Freshly (re)installed MatLab R2023b error message upon startup

Rename this script file. C:\Users\sbnda\OneDrive\Documents\MATLAB\class.m Its existence by that name prevents MATLAB from call...

20 dagar ago | 2

How to reduce \t commands

Rather than trying to format your data in a tabular fashion yourself, have you considered putting your data in a table array and...

22 dagar ago | 0

Finding range of variable for which eigenvalue of matrix is negative.

syms T Matrix = [ 0 1 -1; 1 0 0; -1 0 (-2/T) ] You can compute the eigenvalues symbolically, but the...

23 dagar ago | 1