Community Profile

photo

Steven Lord


MathWorks

2,874 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

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

View details...

Contributions in
View by

Answered
Conversion function taking a very long time to run in loop, anyway to improve?
Call asind on arrays of data instead of on scalars. Use the hypot function if your data is real. n = 100; X = rand(n); Y = ra...

1 hour ago | 0

Answered
Error in first line of edfread.m
Leave the first line of the function in the declaration as the following: function [hdr, record] = edfread(fname, varargin) Wh...

3 days ago | 1

| accepted

Answered
how to plot fewer marker ?
The MarkerIndices property was introduced in release R2016b. If you're using an older release, consider upgrading to R2016b or a...

3 days ago | 0

Answered
Create cell array from 00.00 to 23.59
minutesAfterMidnight = minutes(0):minutes(1):(hours(24)-minutes(1)); minutesAfterMidnight.Format = 'hh:mm'; firstTen = minutes...

3 days ago | 0

Answered
How can I bin Data
If I understand your application correctly use histcounts2 to bin the data. The fourth and fifth output are the indices of the b...

4 days ago | 0

Answered
How to create class from .txt
While you can create individual variables from the rows or columns of a matrix, doing so is strongly discouraged. If your matrix...

4 days ago | 0

| accepted

Answered
Custom function App Designer [Matlab] [App Designer]
No, the app object is not optional. You must pass it into the method in order to invoke the method. What you're seeing is one o...

4 days ago | 1

| accepted

Answered
Report Generator Program Example https://uk.mathworks.com/help/rptgen/ug/create-a-report-program.html
That documentation page is for the most recent release of MATLAB Report Generator, currently release R2018b. The Release that yo...

4 days ago | 0

| accepted

Answered
integers error in matlab
n= (( 4.6 / 2 ) / 0.1 ) + 1 In theory, n is an integer value, specifically 24. In practice, because neither 4.6 nor 0.1 are ex...

5 days ago | 0

Answered
I need to know how to organize a find statement into a set order with characters instead of it's number's. I want information to come out like below.
discretize your data. A=[18 33 31 34 15 37 10.5 48 50 38 35 39 42 33 ... 31 1 5 9 13 11 27 35 -1 46 22 6 19 36]; volt=rou...

5 days ago | 1

| accepted

Answered
Online access to MATLAB
According to the MATLAB Online product page, if you are current with a MATLAB and Simulink Student Suite license or a MATLAB Stu...

6 days ago | 0

Answered
I do not know what's wrong with my code
If you receive an error when running your code, post the full text (everything displayed in red) of the error message you receiv...

6 days ago | 0

Answered
Not enough input arguments
Your function is declared to accept six input arguments: function E = ecc_anomaly(tow, toe, GM, sqrta, M0, ecc) When you call ...

7 days ago | 1

| accepted

Answered
Class method calls method of other instantiated class
If the object stored in the offer property of the Operator class is a CentralMarket object, this should work. function submitOf...

7 days ago | 0

| accepted

Answered
How to generate a file name by combining variable characters based on the input of the matlab?
If you're using a sufficiently recent release of MATLAB, you can combine string, char, and numeric data using +. name='abc'; a...

7 days ago | 0

Answered
audioDatastore Variable or Function undefined
The note at the end of the documentation page for the audioDatastore function states "Introduced in R2018b". If you are using an...

8 days ago | 1

Answered
Peak "coordinates of a histogram
Are you creating the histogram (the graphics object) or binning the data using histcounts? In the former case. retrieve the Bin...

8 days ago | 1

Answered
How to make functions outside of Class folder hidden from access
Your class is a handle class. As stated in the "Handle Class Methods" section of this documentation page that means you inherit ...

10 days ago | 1

| accepted

Answered
WHY LOGICAL INDEXING REDUCE TOTAL ROW COUNT
I suspect KSS_valid_WithNan didn't exist before that last line and that the last element of NonNanPVT_Logic == 0 was false. x =...

10 days ago | 1

| accepted

Answered
Class 'dependent' property warning
I believe one of the reasons (maybe the main reason) for that Code Analyzer warning is to avoid accidentally getting into a recu...

10 days ago | 0

Answered
I am trying to find all the multiples of 3 below 1000. I've tried using mod but im a bit stuck.
Take a step back for a second. If I told you to solve this problem with just your brain and perhaps a piece of paper and a penci...

11 days ago | 0

Answered
Correct evaluation of a logical statement, incorrect result?
As Dennis suggested, you should use logical indexing. But as for why this behaves the way it does: For each element in the matr...

12 days ago | 1

Answered
Vector loop over multiple object handles inside a set function
No for loop is required. See the "Set Line Style to Different Value for Multiple Lines" and "Set Different Values for Multiple P...

12 days ago | 0

Answered
where to find resizeImage2D ?
It is a function in the nnet.internal.cnnhost package directory. Its name is not resizeImage2D but nnet.internal.cnnhost.resizeI...

12 days ago | 0

| accepted

Answered
The mean in the accumarray exceeds the maximum value in the array, which it shouldn't.
I am not able to reproduce this behavior on my Windows machine running release R2018b. Can you show the result of this code? rn...

13 days ago | 0

Answered
Undefined function 'snapshot' for input arguments of type 'char'.
The documentation lists 47 hits for functions with "snapshot" in the name (or perhaps just on their documentation page) in MathW...

13 days ago | 0

| accepted

Answered
matlab out of memory error when multiplying 2 matrix
With the specified dimensions, the result of X'*X will be size [120744 120744]. Assuming X is a real, full, double matrix that w...

13 days ago | 1

Answered
How can I default an array to show either 0's or 1's?
If you're using release R2018a or later use the normalize function to normalize your data.

14 days ago | 0

Load more