Community Profile

photo

Steven Lord


Last seen: Today

MathWorks

3,983 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

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.

Steven Lord's Badges

  • Personal Best Downloads Level 2
  • Editor's Pick
  • 5-Star Galaxy Level 4
  • First Submission
  • 24 Month Streak
  • Ace
  • Revival Level 3
  • Thankful Level 3
  • Knowledgeable Level 4
  • First Answer
  • Scavenger Finisher
  • Solver

View details...

Contributions in
View by

Answered
appropriate measurement for handling error outliers
Use the functions and tasks listed on this documentation page for cleaning outliers from your data.

4 hours ago | 0

| accepted

Answered
How can I multiply an indexed vector by scalar?
phi_i is a function, not an array. You could write B_j as the product of a number and the value you obtained from evaluating phi...

8 hours ago | 0

| accepted

Answered
Weird class property behavior
Yes, this is documented behavior. See the "Expressions In Handle Classes" section on this documentation page and the "Initializi...

8 hours ago | 0

Answered
Error using load: Number of columns on line 2 of ASCII file must be the same as previous lines.
The load function is intended for use in loading a MAT-file or a regularly formatted text file. Use audioread to read in a sound...

23 hours ago | 1

| accepted

Answered
Entries in array of class instances affecting others in my array
You're assigning the same handle object to all three elements of Terminal_array. That means changing one of the elements of Term...

1 day ago | 0

| accepted

Answered
Where is the matrix operator?
I think I see the confusion. You're looking at the first example on this documentation page, right? The command to create the a...

1 day ago | 0

| accepted

Answered
Variables in function are not stored in workspace
If you want g1 and g2 to be available in the workspace in which you call helpme, specify them as output arguments for helpme: f...

2 days ago | 0

| accepted

Answered
Array indices must be positive integers or logical values.
m = (w.*q.*trig((g.^2)-(2.*delta1.*g.*a)-(2.*delta2.*g.*(B1xi./B0xi))+... ((delta1.^2).*b)+(delta1.*delta2.*a.*(B1xi./B0xi)...

2 days ago | 1

Answered
How can I resolve this problem regarding nested functions?
Your first attempt is pretty close. Just a couple comments: function [root1, root2]= getreal(a,b,c); getinput function get...

2 days ago | 0

Answered
Incorrect dimensions for raising a matrix to a power. Check that the matrix is square and the power is a scalar. To perform elementwise matrix powers, use '.^'.
x^5 is conceptually equivalent to x*x*x*x*x using matrix multiplication. x.^5 is conceptually equivalent to x.*x.*x.*x.*x using...

3 days ago | 0

Answered
Question for Designated Computer Academic License
Please contact the Support staff directly using the telephone icon in the upper-right corner of this page. I believe they should...

3 days ago | 0

Answered
Why I get ans = logical 1
Another approach uses discretize. >> A = randn(10, 1); >> edges = [-Inf -0.9957 0 0.9957 Inf]; >> values = [-1.493, -0.497, 0...

3 days ago | 1

| accepted

Answered
String Comparison giving weird results, false for a true case.
If you're looking to find and/or fill missing data take a look at the ismissing and fillmissing functions. rng default A = ran...

3 days ago | 0

Answered
why cant multiply an anonymous function with a changing variable?
integral will call your function with a vector of values and expects your function to return a vector of the same size. w and s1...

3 days ago | 1

| accepted

Answered
error when compiling with mcc and app designer
Is the command you're trying to execute literally this? mcc -m -I app.pathmatlab app.filematlab If the inputs you want to pass...

3 days ago | 0

| accepted

Answered
How to get detectSpeech function in MATLAB2019b
This function was introduced in release R2020a, according to the note at the end of its documentation page. You will need to upg...

4 days ago | 0

Answered
Why character or string array cannot be constructed like numerical array?
You have to start with the correct type of array. a = ""; a(1:3) = "er"

5 days ago | 1

| accepted

Answered
I can't create a graph using matlab...
When I tried to read the data from that channel the output data was the 0-by-0 empty. The channelInfo output states that this c...

5 days ago | 1

| accepted

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

5 days ago | 0

| accepted

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

5 days ago | 0

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

5 days ago | 0

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

6 days ago | 0

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

6 days ago | 0

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

6 days ago | 0

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

6 days ago | 0

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

6 days ago | 0

| accepted

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

6 days ago | 0

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

6 days ago | 0

| accepted

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

6 days ago | 0

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

7 days ago | 0

| accepted

Load more