Community Profile

Steven Lord


MathWorks

2,416 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
Is there a simple way to convert all fields of a struct to local variables?
_I have a matlab program with a lot of variables (boolean, arrays, doubles, logicals, strings), to the point where it becomes un...

7 hours ago | 1

| accepted

Answered
create timeseries from first january to 31. December
I don't believe that's possible. How many days long is the vector from January 1st to December 31st? That's a simple question, r...

18 hours ago | 0

Answered
'Cannot call or index into a temporary array' error message when setting up a set of coupled odes for ode45.
_Let y be a function of t, y = y(t). The the ode has a term like this:_ _dy/dt = (arbitrary function of time)*y(t-epsilon), w...

1 day ago | 0

Answered
What means : Error using sparse Index exceeds array bounds.
Show us the output of this command: nnz(edges > num_modes) The output will likely be nonzero. If that's the case it indi...

1 day ago | 0

Answered
Changing static node to random distribution node.
So you want to select a random subset of the possible edges to be included in your |graph|? Consider using the |sprandsym| funct...

3 days ago | 0

Answered
How do I integrate Git source control with Matlab?
Which release are you using? Support for Git in the Current Folder browser was introduced in <https://www.mathworks.com/help/mat...

8 days ago | 0

Answered
Error: "Difference order N must be a positive integer scalar"
[t,y] = ode45(DE, [0 10], 0); After the first iteration through your |for| loop, y is no longer a symbolic function. It was...

8 days ago | 0

| accepted

Answered
Is there a way to plot a contour with a 3-Dimensional matrix?
I'm not certain, but from your description I think you might want an |isosurface|.

11 days ago | 0

Answered
How to exclude bins from a bi-variate histogram
Don't eliminate data points from your xpos and ypos arrays. Instead, specify XBinLimits and YBinLimits when you call |histogram2...

12 days ago | 0

Answered
Unable to Plot in For Loop
It looks like TempFile is the name of a file that you want to read into MATLAB, but you skipped the actual file reading step. ...

12 days ago | 0

Answered
Plotting XY origin XY destiny
The first function that comes to mind based on the picture is |quiver|, though I'm not completely certain from your description ...

12 days ago | 1

Answered
How to evaluate a function over a range of inputs
You will need to use the element-wise or array versions of the division and power operators. See <https://www.mathworks.com/help...

12 days ago | 0

Answered
if condition based on coefficients/problem parameters of cfit
Use the <https://www.mathworks.com/help/curvefit/coeffnames.html |coeffnames| function>.

13 days ago | 0

Answered
Can I see values of variables while a code is running.
As of <https://www.mathworks.com/help/matlab/release-notes.html?rntext=pause&startrelease=R2015b&endrelease=R2016a&groupby=relea...

13 days ago | 0

Answered
Please provide the export control number (ECCN) for Matlab Compiler Runtime for export compliance purposes.
Please send this question to MathWorks Support (specifically Customer Service) using the Contact Us link in the upper-right corn...

14 days ago | 0

Answered
Convert day of year to Date?
You want to convert the day number to the date in the current year? % Get today and the start of the current year d = da...

15 days ago | 0

Answered
How can I add 4 legends when there are 6 plots?
You only want to include some of the lines plotted in your axes in the legend? The "Included Subset of Graphics Objects in Legen...

15 days ago | 0

Answered
how to decrease for loop variable counter when deleting rows in a matrix
That is correct. In the <https://www.mathworks.com/help/matlab/ref/for.html documentation for the |for| keyword>: "Avoid assigni...

15 days ago | 0

Answered
How to overload class functions for custom functions
*Can* you do this? I'm not certain. I know in previous releases having multiple class directories on the path would treat the un...

15 days ago | 0

Answered
making continual statement(?) without typing entire elements
Transpose X and Y then use the |ismember| or |ismembertol| functions.

15 days ago | 1

| accepted

Answered
Matlap plot- linspec features
So you want to just call: plot(x, y) then change the plotted line to have a different line style or color? Call |plot| w...

16 days ago | 0

Answered
Show values of matriz
To build the text form of the matrix, you can use |mat2str|. I used |split| here to split each row into a separate row of text. ...

16 days ago | 0

Answered
Why installation is complete without DVD2?
My guess would be that you didn't install any toolboxes whose installation files are stored on DVD 2.

16 days ago | 0

Answered
Error using fmincon, row dimension inconsistent
para_lou = fmincon(MLE_lou,par_0,[],vix_in); This attempts to call the MLE_lou function with zero input arguments and pass t...

16 days ago | 0

Answered
set same xlim for all subplots
You may want to use <https://www.mathworks.com/help/matlab/ref/linkaxes.html |linkaxes|> on your |subplot| axes.

17 days ago | 2

| accepted

Answered
'graph.m' for Graph and Network Algorithms mit matlab
The |graph| and |digraph| objects were first introduced <https://www.mathworks.com/help/matlab/release-notes.html?rntext=digraph...

18 days ago | 0

Answered
How do I calculate Second Neighborhood?
I'm not familiar with the term "second neighborhood" in the context of graph theory. My guess is that what you're looking for is...

19 days ago | 1

Answered
Why was SelectionHighlight done away with for UIControls????
That change was made back <https://www.mathworks.com/help/matlab/release-notes.html?searchHighlight=SelectionHighlight&s_tid=doc...

19 days ago | 0

Answered
UTC time
You can do this using |datetime|. >> dt = datetime(1263403529, 'ConvertFrom', 'posixtime') dt = datetime...

19 days ago | 0

Answered
Adding the variable name onto a plot cursor
I would consider using color, line style, and/or marker to distinguish the twelve lines. Using <https://www.mathworks.com/help/m...

20 days ago | 0

Load more