Community Profile

photo

Steven Lord


Last seen: Today

MathWorks

4,440 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
crc16 checksum in matlab
See <https://www.mathworks.com/help/matlab/matlab_prog/perform-cyclic-redundancy-check.html this documentation example>.

1 day 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...

1 day 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...

3 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...

4 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...

4 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', '^',...

4 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...

4 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...

4 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...

5 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,...

5 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...

5 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...

5 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.

5 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...

5 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...

5 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 ...

6 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?

6 days ago | 0

| accepted

Answered
matrix component algebra with digraph
R = randi([0 1], 10) D = digraph(R); OD = outdegree(D) R./OD Be careful of the case where one or more of the nodes has outde...

7 days ago | 0

Answered
objects of one class into another class
Your clwinding class is syntactically valid. Your clloss class, on the other hand, has some conceptual errors. I'm going to mak...

11 days ago | 1

Answered
How to store objects from different classes in one array and call the same function (definitions are different)?
See this documentation page for how to implement your classes so you can create a heterogeneous array. By the way, I recommend ...

11 days ago | 0

Answered
Once I have downloaded R2020a of MATLAB on my windows pc, it won't let me run the application. What could be the issue? (I have uninstalled it and re downloaded it)
If you open the matlab_crash_dump files, there should be a note at the end that tells you how to send that file to MathWorks. If...

11 days ago | 0

| accepted

Answered
How can i get an activation key ? the matlab program does not open with out the activation key , please help me to get a solution for this problem? my work based on matlab program
When you bought the software you should have received the instructions and information you'll need to install the software, most...

11 days ago | 0

Answered
How to skip '.' and '..' directory while looping over files in a folder?
You probably don't want to filter just '.' and '..', you probably want to filter all directories. You also shouldn't assume that...

12 days ago | 0

Answered
Error using 'Save' including quotation marks around variables
My guess is filename is a cell array containing a char row vector. x = 1:10; thefile = 'data571924.mat'; save(thefile, 'x') %...

12 days ago | 0

Answered
Not enough input arguments
I suspect you've written or downloaded a sym.m that's taking precedence over the one included in Symbolic Math Toolbox. In my in...

12 days ago | 0

Answered
Best way to present histogram with different realisation number
In the "Plot Multiple Histograms" example on the documentation page for histogram, we show one way to give two histogram objects...

12 days ago | 0

Answered
Polyfit 4th degree unexpected behavior
It looks to me like tp(:, 1) is not sorted. You can check this with issorted. If it's not sorted, MATLAB may draw a line from ar...

12 days ago | 2

Answered
How to set the terminal condition of the Matlab built-in function roots?
You don't. roots builds the companion matrix and computes the eigenvalues of that matrix. I can't see the context before that s...

12 days ago | 0

| accepted

Answered
What is the largest number of rows of a matrix that Matlab can handle?
The theoretical limit is the number returned as the second output of the computer function. The practical limit is based on how...

12 days ago | 0

Answered
Creating a built in function?
You cannot add a built-in function to MATLAB like we at MathWorks can. But you can make the MATLAB scripts, functions, and/or cl...

12 days ago | 2

Load more