Community Profile

# Steven Lord

### MathWorks

3.965 total contributions since 2002

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

View details...

Contributions in
View by

Error in using rmoutliers()
The 'percentiles' option for rmoutliers, isoutlier, and filloutliers was introduced in release R2019a. You indicated you're usin...

alrededor de 1 hora ago | 0

| accepted

Why am I getting Nan values?
Set an error breakpoint to stop when an Inf or NaN value gets generated then run your code. When MATLAB stops, look at the line ...

alrededor de 7 horas ago | 0

How do I avoid using a lot of if statements in a row?
Do you need to have eleven individually numbered variables, or are they all the same size and type (and therefore "stackable" as...

alrededor de 7 horas ago | 0

Out of memory. Type "help memory" for your options
Rather than keeping all the data for all the frames in memory and writing the video all at once why not open the VideoWriter obj...

1 día ago | 0

How to solve error 'Error: File: function9.m Line: 10 Column: 5 Function definition is misplaced or improperly nested.'
You cannot define a nested function inside an if statement. This is the second item listed in the "Requirements for Nested Funct...

1 día ago | 0

Explain the average of 8 nearest neighbors
Consider the following matrix. Each element is equal to its linear index. >> nRows = 4; >> nCols = 6; >> A = reshape(1:(nRows...

1 día ago | 0

I am doing triple integration by matlab and some error displayed.
Use the ^ operator when you want to perform matrix multiplication in raising the matrix to a power. Use the .^ operator when yo...

1 día ago | 0

Dot notation from string
DON'T use eval. There's no need to use it in this case anyway. split the text representation of the nested fields into pieces th...

1 día ago | 0

| accepted

Calculating with Methods from Classes
To me, it seems like most if not all of these "calc<something>" methods should probably be property get methods and the properti...

1 día ago | 0

Backward compatibility for Automated Driving Toolbox with Matlab 2016b
Automated Driving Toolbox was introduced as a new product in release R2017a. It is not available in release R2016b. If you have...

1 día ago | 0

| accepted

1. Simulink requires a C compiler for simulation acceleration, model reference, and MATLAB Function Block capabilities. It is recommended that you install a supported compiler on your machine.
This isn't a report of a problem. It states that if you want to take advantage of "simulation acceleration, model reference, an...

1 día ago | 0

Solving a system of second order differential equations
"Y" (without the quotes) is a valid variable name. "Y " (again without the quotes but with the space) is not a valid variable n...

2 días ago | 0

| accepted

How to combine correlated year, month and day vectors
Use your Y, M, and D vectors to build a datetime array and pass that datetime array into plot. Here's a small example: Y = 2020...

2 días ago | 0

How do I create a for loop in MATLAB for this?
Use the normalize function with the 'range' method. No for loop is required.

2 días ago | 1

Which matlab version is suitable Matlab for macOS Mojave
The platform roadmap page indicates the first release that supported Mac OS X 10.14 (Mojave) was release R2018b and the last tha...

2 días ago | 0

How do I call the built-in disp function after I have overloaded it in a different class?
When you concatenate a char vector and an instance of your PermutationKey class, does that return an instance of the Permutatio...

2 días ago | 0

Is the time vector t for the function odefun() inside ode45() always required?
From the documentation page for the ode45 function "The function dydt = odefun(t,y), for a scalar t and a column vector y, must ...

3 días ago | 0

How to use ode45 for a row vector
See the "Pass Extra Parameters to ODE Function" example on the documentation page for the ode45 function. You can use it as a mo...

3 días ago | 0

How to open matlab app designer in MATLAB 2020 ?
App Designer and Polyspace aren't really related. App Designer is still present in MATLAB release R2020a, and the Polyspace fami...

3 días ago | 0

why does matlab tell me that the "chop" command doesn't exist?
Cleve's original version of MATLAB had a chop command as you can see from the user's guide, but I'm not sure there is such a com...

4 días ago | 0

Query regarding the colon operator
The a variable is a 6-dimensional array. The part you're showing spans all the rows (the first colon) and all the columns (the s...

4 días ago | 0

| accepted

Spherical coordinates to cartesian
From the documentation "azimuth is the counterclockwise angle in the x-y plane measured in radians from the positive x-axis." an...

4 días ago | 0

calculate week of year
Since the original question was written, we introduced datetime. If you're representing your time and date data as a datetime, c...

5 días ago | 0

OSError: MATLAB Engine for Python supports Python version 2.7, 3.5 and 3.6 but your version of Python is 3.7
Support for Python 3.7 was added in release R2019a. The Release field to the right of this question indicates you're using relea...

5 días ago | 1

| accepted

How to create a vector with elements randomly chosen from another vector?
I have a column vector, each of whose elements is a row vector consisting of two elements The common term for that is a matrix....

5 días ago | 0

| accepted

Index in position 2 exceeds array bounds (must not exceed 5).
Rather than trusting your user to enter a value of n compatible with the sizes of A and b, compute it from A and/or b using size...

7 días ago | 0

Problem with data type: calculate [HH:mm:ss.FFF]
Convert the text representations of those values into a duration array then call seconds on the duration array.

7 días ago | 0

I want to install 2020 matlab win32
The last release of MATLAB that was supported on a 32-bit Windows OS was release R2015b. You will need to be running a 64-bit ve...

8 días ago | 0

Access automatically substructures from loop
Rather than depending on the order in which the fields of the struct array are displayed (which can change -- in the following e...

8 días ago | 0

| accepted

toolbox installastion for matlab

8 días ago | 0