Community Profile

Steven Lord


MathWorks

1,935 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

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

View details...

See 1 Cody Badge

Contributions in
View by

Answered
Intuitive numeric value for indicating ':' and 'end'
I originally posted this as a comment rather than an answer because I hadn't thought at first that my message was an answer. It ...

12 hours ago | 1

Answered
How can I know which function that I used belongs to an additional toolbox rather than matlab?
I believe the <https://www.mathworks.com/help/matlab/matlab_prog/identify-dependencies.html Dependency Report> will give you the...

14 hours ago | 0

Answered
Shortcuts on accessing memeber properties?
You could add a <https://www.mathworks.com/help/matlab/matlab_oop/access-methods-for-dependent-properties.html dependent propert...

14 hours ago | 0

Answered
Is there a way to turn off the command window's autoscroll during a function's execution
Do you need to view the displayed text while the application is running, or is the problem you're trying to solve the fact that ...

15 hours ago | 0

Answered
Convert a string containing a fraction into a number in a fraction format
You could convert it into a symbolic variable. However be aware that the fraction contained in the symbolic variable may be _equ...

1 day ago | 0

Answered
Where can you find the line number in the script window? Where in the Workspace displays the information about the line and column position of your cursor within a script?
If by "script window" you mean the Editor, assuming you have the preference set to show line numbers they should be along the le...

2 days ago | 0

Answered
Dynamic comments on variables?
If you're storing tabular data in a <https://www.mathworks.com/help/matlab/ref/table.html |table|> or |timetable| array, those t...

2 days ago | 0

Answered
how to compare string?
The approach Birdman suggested won't work if the user enters more characters than you expected. fuel = 'CH4CC4' prod(ism...

2 days ago | 3

Answered
Unique changing order(unique output values are reshuffled)
Convert your date data into a |datetime| array, then call |unique| (with or without the 'stable' flag) on the |datetime| array. ...

3 days ago | 0

Answered
Removing rows of a matrix based on rows of another matrix!
Since it doesn't seem like ordering matters [you don't require A(n, 1) to match B(n, 1) as long as it matches _some_ element in ...

3 days ago | 1

Answered
Calling Upon previous anonymous function results for use in a second anonymous function
You want y to be a function of x1 that uses the existing P_x function? % Sample values for Psat1 and Psat2 Psat1 = 1; ...

5 days ago | 1

Answered
Scope of 'ButtonDownFcn' property of lines in structure [R2017b]
"Now when I look at what is in handles.y2, the original values which I set in the initialisation function are still there so it ...

6 days ago | 0

Answered
Turning off the double-click shortcut in plot window.
If you had edited the plot by clicking on the arrow icon in the figure toolbar or calling |plotedit on|, double-clicking on the ...

8 days ago | 2

| accepted

Answered
Python plt.plot getting unwanted lines
Can you show a small segment of your MATLAB code that calls Python and include a small data set with which you can see the unwan...

8 days ago | 0

Answered
How does one get polynomial features like in python but for MatLab?
For one variable, I think you want the |vander| function. For multiple variables, use the <https://www.mathworks.com/help/sta...

8 days ago | 0

Answered
How to make and plot a function with a summation?
Do you want this to be a symbolic expression with x as the symbolic variable? Or do you have a numeric value for x and want the ...

9 days ago | 0

Answered
How to format x date axis?
If you're using a sufficiently recent release of MATLAB, <https://www.mathworks.com/help/matlab/release-notes.html?rntext=plot+d...

9 days ago | 0

| accepted

Answered
"See" variable inside a function before it returns?
First, a suggestion: don't |load| your data inside the function. Call |load| outside the function and pass the |struct| returned...

9 days ago | 1

Answered
The infinity while loop
Nowhere inside your |while| loop do you change BER. That means if the |while| condition is satisfied initially, it will always b...

9 days ago | 0

| accepted

Answered
How can I use InputParser with multiple argument names?
Set the PartialMatching property of your |inputParser| instance to |true|.

9 days ago | 0

Answered
String Replacer only replaces one set of values and does not maintian previous changes
I can't be certain without seeing your code, but my guess is you did something like this: oldString = "the Big and Bad Dog"...

10 days ago | 1

Answered
How to reduce execution time of for loops in MATLAB?
If you |profile| your code, my guess is that the calls to |convenc| inside the nested loop take most of the time. coded_dat...

11 days ago | 0

Answered
Close MATLAB from the keyboard
If you want to close MATLAB using commands or shortcuts, see Birdman and Sean's answers. If you want to "save a file or close...

12 days ago | 0

Answered
How to read large text data into matlab
If your data is too large to fit in memory all at once, consider using a <https://www.mathworks.com/help/matlab/datastore.html |...

12 days ago | 1

Answered
Simple Explanation of Morphological Operators?
I think the pages linked under the Concepts section on the <https://www.mathworks.com/help/images/morphological-filtering.html m...

13 days ago | 0

Answered
Issue with finding the peaks of a graph.
If the issue to which the title of your question refers is the X ticks of the last plot, that's because you called |plot| with o...

13 days ago | 0

Answered
Matlab error in Windows prompt
"It is weird because all the parameters are scalar" Not the way you're calling your function. You're calling it using <https:...

13 days ago | 0

| accepted

Answered
Odd numerical artifact from ode15s where my dependent variable changes despite my derivative vector being zero for that time step.
"All the neighboring points involved in the calculation of this point are the same value which would zero the time derivative." ...

15 days ago | 0

Answered
How can I prevent scientific notation on my axes in MATLAB (R2013a)?
Starting in <https://www.mathworks.com/help/matlab/release-notes.html?rntext=ruler&startrelease=R2015b&endrelease=R2015b&groupby...

15 days ago | 0

Answered
Have matlab implemented a polygon offset function?
Mikolaj: the <https://www.mathworks.com/help/map/ref/bufferm.html |bufferm| function> still exists in Mapping Toolbox. It's poss...

16 days ago | 0

Load more