Community Profile

Steven Lord


MathWorks

2,571 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 the MATLAB Newsgroup 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

  • 12 Month Streak
  • Revival Level 3
  • Thankful Level 3
  • Guiding Light
  • Knowledgeable Level 4
  • First Answer
  • Scavenger Finisher
  • Solver

View details...

Contributions in
View by

Answered
How to load ODE functions (ie. ODE1, ODE2) to call/reference?
On that video's page, right above the video transcript, there's a link "Related MATLAB code files can be downloaded from MATLAB ...

9 hours ago | 0

Answered
I can extract triangulation mesh data from software as ASCI file X,Y,Z or as STL files. How can I read the mesh data and show it in Matlab?
If you're using release R2018b or later, try the |stlread| function <https://www.mathworks.com/help/matlab/release-notes.html?rn...

1 day ago | 0

Answered
The way to get a graph in case of discretized system
Use an <https://www.mathworks.com/help/matlab/ref/animatedline.html |animatedline|>. You probably want to determine the final li...

1 day ago | 0

Answered
where is the HDL Coder option to 'Support floating point numbers'?
When I searched the release R2018a documentation for the phrase "'Support floating-point numbers'" <https://www.mathworks.com/he...

1 day ago | 1

Answered
How to draw a stacked subplots that share same X axis?
If you're using release R2018b or later, try the <https://www.mathworks.com/help/matlab/ref/stackedplot.html |stackedplot| funct...

1 day ago | 0

Answered
How to plot multiple graphs with same x-axis?
If you're using release R2018b or later, consider using <https://www.mathworks.com/help/matlab/ref/stackedplot.html |stackedplot...

1 day ago | 0

| accepted

Answered
Convert Adjacency list of graph into Adjacency matrix
How is your data stored? Do you have a matrix or two vectors containing the endpoints of the edges? In this case you can use ...

2 days ago | 0

Answered
Undefined function 'int' for input arguments of type 'double'.
If you're trying to use the int function to turn the result of that division into an integer value, depending on how you want it...

2 days ago | 0

| accepted

Answered
xsticklabel_rotate parameter/value pair arguments
Which release of MATLAB are you using? If you're using <https://www.mathworks.com/help/matlab/release-notes.html?rntext=rotate+t...

2 days ago | 0

Answered
Same Load function error for all .slx or .mdl files
Simulink(R) models aren't data to be loaded and passed into |cftool|. They are themselves programs. You could instead <https://w...

2 days ago | 0

| accepted

Answered
What should we do when Text exceeds maximum line length for Command Window display in matlab?
From the messages you've posted, D is an extremely long symbolic expression. While you might be able to read it, I'm skeptical t...

2 days ago | 0

Answered
How can i fill in the vectors gotten from boundary function?
Generate sample data and compute the |boundary|. rng default x = gallery('uniformdata',30,1,1); y = gallery('uniformd...

2 days ago | 0

Answered
Log equation log(x) not plotting correctly
Did you notice the warning you received in the Command Window when you ran this code? Does |real(y_3)| look familiar in the c...

3 days ago | 1

Answered
How I can download lfgauss.m, lfnewton.m, lfybus.m, busout.m, busflow.m?
Searching the MathWorks website for "lfgauss" found two hits. One is this question, the other is <https://www.mathworks.com/matl...

3 days ago | 0

Answered
select a specific part of the graph using the mouse and zoom in and out of region selected by user
It sounds like you want to use the built-in zooming and panning <https://www.mathworks.com/help/matlab/visual-exploration.html v...

3 days ago | 0

Answered
Replacing symbolic variable with function input
For your sample code, you don't need to use |syms| at all. function y = TestFunction(x) y = x.^2; end Show an exam...

4 days ago | 0

Answered
how can I take numeric result
Since the resulting symbolic expression does not contain any symbolic variables, just call |double| on it. If later you want to ...

4 days ago | 1

Answered
fzero line 398 error; debugger not solving...
What requirement does <https://www.mathworks.com/help/matlab/ref/fzero.html |fzero|> impose on the function you pass to it? _...

4 days ago | 1

| accepted

Answered
Large number of internal Matlab error messages for zoom and other figure post-processing options
Did the toolbox\matlab\graphics subdirectory get removed from your MATLAB path somehow? To check this, let's look for another fu...

4 days ago | 0

Answered
How can you create a metric using ones, zeros, eye
So you've created an A matrix of the correct size, but without the elements filled in. Now create matrices that represent the da...

4 days ago | 0

Answered
how to change the name "nz" in the x axis of the funcion spy?
That's just the |xlabel| of the axes. >> B = bucky; >> spy(B); >> xlabel(sprintf('Number of nonzero elements: %d', nn...

4 days ago | 0

| accepted

Answered
Dynamically change FaceVertexCData of a patch
What is the value of your patch's <https://www.mathworks.com/help/matlab/ref/matlab.graphics.primitive.patch-properties.html?sea...

4 days ago | 0

Answered
Transfer account on my retirement
Use the steps given in the "To Add Administrators" workflow in <https://www.mathworks.com/matlabcentral/answers/101101-how-do-i-...

7 days ago | 1

Answered
how to solve the error array indices must be positive indices or logical values.
If that section of code is intended to check that the file has the extension db, instead call <https://www.mathworks.com/help/ma...

7 days ago | 0

Answered
I cant use audiowrite function in MATAB R2016a
Do you have write permissions for your current directory when you try to execute that command? One way to test this is to try...

7 days ago | 0

Answered
Cogent and Matlab student version
I assume when you say "Cogent Graphics toolbox" you're referring to the third-part toolbox available from <http://www.vislab.ucl...

7 days ago | 1

Answered
Function definition not supported in this context. Create functions in code file.
When I Smart Indent your code, I see that the function definition is inside both a |for| loop and an |if| statement. That is not...

8 days ago | 0

| accepted

Answered
Why wont MATLAB 2018b Academic-use won't display RUN button?
Your file's name is test. It does not have the .m extension, so it is not a MATLAB program file and MATLAB cannot run it. If you...

8 days ago | 1

Answered
Return function the same as the inputs.
Your nurbs variable is a scalar |struct| array. If you want it to be a non-scalar |struct| array (of size [1 126]) we can do tha...

8 days ago | 0

| accepted

Answered
Unix-time-line, start with zero for plotting
What do you consider zero for this application? 00:00:00 UTC on Thursday, 1 January 1970? 00.00.000 on the date on which all of ...

9 days ago | 0

Load more