Community Profile

photo

Steven Lord


Last seen: Today

MathWorks

4,350 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

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

View details...

Contributions in
View by

Answered
Sorting specific dates from Datetime array
Let's create some sample time and date data spanning from five hours (300 minutes) ago to four hours (240 minutes) from now. N ...

17 hours ago | 0

Answered
(2016a) How to plot datetime versus numbers? Error: "Data inputs must match the axis configuration. A numeric axis must have numeric data inputs or data inputs which can be converted to double."
For your first question, you've specified the format that datetime should use to interpret the representation of the time that y...

23 hours ago | 0

| accepted

Answered
I'm not sure it's true. If I have a mistake, can you fix it...
f0=-4*z*exp(-x^2*y-z^2)*cos(x^2*y)-10*cos(x^2*y)*y*x^2+4*sin(x^2*y)*x^4*y^2+4*cos(x^2*y)*x^4*y^2-sin(x^2*y); This multiplies th...

1 day ago | 0

Answered
Finite differences of a complex function
For real numbers, the operators ' and .' give the same result. xR = 1:10; y1R = xR' y2R = xR.' isequal(y1R, y2R) For comple...

1 day ago | 0

Answered
If condition with multiple OR statements
Let's take a look at a shorter version of your code. for d = 1 : 3 if (d ~= 1 || d ~= 3) disp(d) end end W...

1 day ago | 0

| accepted

Answered
MathLab-SL Student R2018b vs. R2020a, and Tool Boxes between 2 versions
Q1: No. You will need to use the toolboxes from the same release as the release of MATLAB you're using. Running toolbox versions...

2 days ago | 0

Answered
matlab 2009a p code showing error n in matlab 2019 version
In what release were the P-coded files created? The documentation page for the pcode function states "The pcode algorithm was re...

2 days ago | 0

Answered
In R2016a, after opening the "Classification Learner" App, all the options are totally blur(shaded), due to which I am unable to open any Tab in that App.
In your first screen shot, the "New Session" button is enabled. In your second screen shot, the red text below the Step 2 secti...

2 days ago | 1

| accepted

Answered
"Too many input arguments" for basic operations on transfer functions
Make sure you haven't written your own mtimes.m or times.m file that's taking precedence over the built-in mtimes or times funct...

2 days ago | 0

Answered
Array: Difference between <missing> and [] ??
For your first question, see the "Text in String and Character Arrays" Topic on this documentation page. For the second, missin...

2 days ago | 0

Answered
Support package for deep learning not working in compiled program
How are you creating the VGG-16 network in your standalone application? If you're calling load on a MAT-file to read the object ...

2 days ago | 0

Answered
How to make switch case in between different classes in matlab?
Something like: switch material case "steel" x = clSteel; case "iron" x = clIron; otherwise ...

2 days ago | 0

Answered
Change Y-Axis position to desired origin?
I don't believe the axis ruler that is used when you plot using categorical data supports moving the axis location. In the situa...

2 days ago | 0

Answered
add line in a datetime plot
First, plot some duration data. y = (0:59); x = duration(0, y, 1); plot(x, y); Now add a line at a specific value. Note that...

2 days ago | 0

Answered
trial extension policy/process for off-campus students
Please ask your student to contact Customer Service using the telephone icon in the upper-right corner of this page for help in ...

3 days ago | 0

Answered
Can I use the graph function to link user defined objects instead of vertices?
Depending on what you want to do with the information stored in the user-defined objects, storing them as custom attributes on t...

3 days ago | 0

Answered
Function returning invalid outputs (NaN, INF, etc.)
Your coefficient matrix A is not of full rank. It looks like you've translated from your equations to the rows of the matrix inc...

3 days ago | 0

| accepted

Answered
when "clear all" does not clear all?
One potential reason why you may be unable to clear a class is if an instance is stored in a property in a figure window, potent...

3 days ago | 0

Answered
undefined function or variable "helperMRAPlot"
According to the Release Notes this example was introduced in release R2020a of Wavelet Toolbox. I believe that helper function ...

3 days ago | 0

Answered
Undefined unary operator '-' for input arguments of type 'string error
When you call categorical with one input, the list of categories in that categorical is the sorted unique values in the input. F...

4 days ago | 0

| accepted

Answered
error in matlab arithmetic operations ?
Your variable named var (which is a bad idea, because var already has a meaning in MATLAB) is not 3. It is '3'. xDouble = 3; (...

4 days ago | 0

| accepted

Answered
can one define a function handle in Livescript?
It is possible to define function handles in a Live Script. How well those function handles work depends on how well you impleme...

4 days ago | 0

Answered
'retime' with multiple methods?
If you want to return the product of the standard deviation and the mean for the data in each time period, something like this (...

4 days ago | 0

| accepted

Answered
How can you implement a loop inside an ODE 45 function
Which specific line of your code is listed in the error message? Set a breakpoint on that line and look at the sizes of what yo...

4 days ago | 0

Answered
How to use properties of a class in its own class and also in other classes?
lcc is not a Constant property of the clCore class, so each instance of clCode has its own lcc property. So which clCode instan...

4 days ago | 0

Answered
How to know user associated to specific license?
Please contact Customer Service using the telephone icon in the upper-right corner of this page.

4 days ago | 0

Answered
Why does assigning a string object into a double vector of doubles give NaN instead of an error?
MATLAB knows how to convert double arrays to string arrays and vice versa. For the former see this documentation page, for the l...

5 days ago | 1

| accepted

Answered
How to make a circular graph (node connections)?
Use the layout function to layout your digraph using the 'circle' layout.

5 days ago | 0

Answered
hello everyone, i have this urgent problem
t = 0:360; h1 = animatedline('LineStyle', '-', 'Color', 'k'); h2 = animatedline('LineStyle', '--', 'Color', 'c'); axis([0 450...

5 days ago | 0

Answered
What is this issue "persistent memory:False" ??
The command dfilt.df1 creates an object (a "discrete-time, direct-form I filter object".) That object has a property named Persi...

5 days ago | 0

| accepted

Load more