Community Profile

photo

Steven Lord


Last seen: Today

MathWorks

4,453 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
Bug report for R2020a
I suspect that sample.m file is part of this submission on the File Exchange. A note in the description of that submission state...

4 hours ago | 2

Answered
Retrieve actual values from histogram
Do you want the raw data that was used to create the histogram or the probabilities of the bars? In the former case look at the ...

8 hours ago | 0

Answered
Adding number of seconds from changing base date
You can construct a datetime directly from the number of seconds. From the documentation page for datetime: "t = datetime(X,'Co...

8 hours ago | 0

| accepted

Answered
Can 2 students come up with the same codes for a homework assignment
Sometimes the constraints placed on the students as part of the assignment encourage or almost force the result of the assignmen...

12 hours ago | 0

Answered
Undefined function 'ne' for input arguments of type 'table'.
If you want the data as a smaller table, index into the larger table with parentheses. Folderlinks=columnData(:,8) % Folderlink...

14 hours ago | 0

| accepted

Answered
Why the function that I created won't be called?
From the error message you showed, on line 4 of eegamplitude you're calling relaxed with 0 input arguments and 1 output argument...

17 hours ago | 0

| accepted

Answered
Divide timetable into 1s windows
Rather than creating a whole bunch of small timetable arrays, could you instead use a timerange to select the appropriate subset...

17 hours ago | 0

Answered
makeDOMCompilable() is not recognized
MATLAB Report Generator not being installed would certainly result in makeDOMCompilable not being available. After you installed...

19 hours ago | 0

| accepted

Answered
How can I join two parts of a char into just one?
I would use a string array in this case, not a char array. numfiles = 9; % Lenght parameters step = 0.5; start = 6; final =...

20 hours ago | 0

Answered
Why is R2020a slow to return errors?
Do you have any network directories on your MATLAB path? If MATLAB has to search those network directories to determine if there...

1 day ago | 0

Answered
duration of free trial
The trial request page (linked at the end of this page, in the "Try or Buy" section) states "Get Started Now with your Free 30-D...

1 day ago | 0

Answered
what is the inside program / function of rmoutlier? how rmoutlier inbuilt function will work? why cant we write a program without using rmoutlier function?
We don't distribute the source code for the undocumented helper function that rmoutliers uses. [Note the extra s in the name; th...

1 day ago | 0

| accepted

Answered
The imshow() function is not working with .mat file
When you call load with an output argument, any variables stored in that MAT-file becomes fields in the struct array returned fr...

2 days ago | 0

| accepted

Answered
crc16 checksum in matlab
See <https://www.mathworks.com/help/matlab/matlab_prog/perform-cyclic-redundancy-check.html this documentation example>.

5 days ago | 0

Answered
i have downloaded ANN toolbox and i cant open the file emran8.mexw32 please help me
A file with the mexw32 extension is intended to be used in a 32-bit version of MATLAB on a 32-bit version of Windows. The last 3...

5 days ago | 0

Answered
histogram returns an error for vector data
You can't create a histogram from double data in an axes in which you've already plotted datetime X data. v = 0:5; t = datetim...

6 days ago | 0

Answered
Difference between deployed mode or MATLAB mode?
From the documentation page "If you include this function in an application and compile the application, the function will retur...

7 days ago | 1

| accepted

Answered
How to avoid converting a great number of datenum values into datetime for tick labels?
I would like to have date values on the x-axis, but converting datenum values to datetime takes a lot of time. How are you perf...

7 days ago | 0

Answered
How to change properties of several plots simultaneously?
x = 0:360; y1 = sind(x); y2 = cosd(x); figure h1 = plot(x, y1); figure h2 = plot(x, y2); set([h1, h2], 'Marker', '^',...

7 days ago | 1

Answered
I want to produce square wave without using square function, but this code it showing error, "illegal use of IF keyword". How to rectify it?
In some languages (like C) you need to use {} around sections of code (like the bodies of for loops or if statements.) MATLAB is...

8 days ago | 0

Answered
scatter plot with color dependent on variable.
Use the c (usually the fourth) input when you call scatter. See the "Vary Circle Color" example on the documentation page. You w...

8 days ago | 0

Answered
How to fill a cell with function handles using iteration numbers?
c = (1:10).^2; G = cell(size(c)); for whichElement = 1:numel(c) G{whichElement} = @(x) c(whichElement)*x; end Yes, when...

8 days ago | 0

| accepted

Answered
For loop optimization in matrix operations
You don't need to loop to generate the values that you multiply by +1i or -1i and pass into exp. % Sample data x = randn(4, 5,...

8 days ago | 0

Answered
Why is it that the breakpoint does not work?
The body of a parfor generally doesn't run in the MATLAB session in which you're running the parfor. As stated in the "Test parf...

8 days ago | 0

Answered
MATRIX INVERSION TAKING FOREVER TO RUN
In general, you should not invert matrices. I suspect you're trying to work symbolically in which case you absolutely should not...

8 days ago | 0

Answered
Index into 32 bit word to extract relevant data
Use the bit-wise operations functions or use rem, mod, subtraction, and division.

8 days ago | 0

Answered
Saving all Superclass properties inside one subclass property
Should FeatureDatabase inherit from Feature (be a Feature?) Or should FeatureDatabase have a property that contains an array of...

8 days ago | 0

| accepted

Answered
Can third party extract code from standalone desktop app developed using app designer matlab?
When you use MATLAB Compiler, the code is compiled into an archive that is encrypted using AES. I am not aware of any computatio...

8 days ago | 1

Answered
Call vector by key
Depending on what else you want to do with this data, storing it in a timetable may be useful. Using one of the examples on the ...

9 days ago | 0

Answered
rand() gives the same values in each run
Are you initializing the random number generator with rng too frequently or in the wrong place in your code flow?

10 days ago | 0

| accepted

Load more