Community Profile

Steven Lord


The MathWorks

12,760 total contributions since 2001

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

Contributions in
View by

Responded


Re: Problem with properties of Colorbar
Are you comparing the list of properties from different releases? *snip* Let me guess, the File Exchange script you're trying...

18 hours ago | 794 views

Responded


Re: Unit Testing: Multiple Configurations for the same functions
I think using matlab.unittest.TestSuite.selectIf will do what you want. https://www.mathworks.com/help/matlab/ref/matlab.unitte...

18 hours ago | 151 views

Answered
Opening images using a community created package
If you concatenate all the indexed image data into a 3-D array using functions like |horzcat| (aka |[a, b]|), |vertcat| (aka |[a...

18 hours ago | 0

Answered
Error using besselj. NU and Z must be the same size or one must be a scalar.
That textbook was written quite some time ago. At the time it was written that syntax worked, but it was <https://www.mathworks....

1 day ago | 0

Answered
I want to draw a 3D graph with known values and get the equation.
If you know the desired form of your equation, probably. See <https://www.mathworks.com/help/matlab/math/example-curve-fitting-v...

3 days ago | 0

Answered
I cannot associate my account with a license (academic version)
My first step would be to contact your license administrator for assistance, as the message suggests. If you're not sure who you...

3 days ago | 0

| accepted

Answered
Calling the size of an input
So you want to turn some unknown number of parameters into individual inputs of another function? In this case I would use a cel...

3 days ago | 0

Answered
How to change preferences for edit command
In the Confirmation Dialogs section of the General <https://www.mathworks.com/help/matlab/matlab_env/preferences.html preference...

4 days ago | 1

Answered
a is multiple of 7
Use <https://en.wikipedia.org/wiki/Modular_exponentiation modular exponentiation>.

4 days ago | 1

| accepted

Answered
Issues with the Variable window
Please back up your path then try the approach given in the Accepted answer <http://www.mathworks.com/matlabcentral/answers/3155...

4 days ago | 0

| accepted

Answered
no 'getVariable()' function MATLAB 2016b ?
That function is part of Simulink(R). Check the output of the |ver| function to see if you have that product installed -- my gue...

6 days ago | 0

Answered
Variable width histogram and curve on the same graph?
Call |histogram| with unequally-spaced edges. x = 49*rand(1, 1e4); histogram(x, (1:7).^2) To plot a |histogram| and a...

6 days ago | 1

| accepted

Answered
how do you fix a datetime error using Princeton MVPA with Matlab R2016b
You can't create a |datetime| variable using the scalar logical value |true| as input. You need to call |datetime| with a valid ...

8 days ago | 0

Answered
Can I "collapse all in" the editor like in the help browser
From <https://www.mathworks.com/help/matlab/matlab_prog/improve-code-readability.html the documentation>: "To expand or collapse...

8 days ago | 0

| accepted

Answered
Finding values from Cubicinterp fit
Use |fzero| to solve f(x) = 0.5. Keep in mind you can evaluate the fit by <https://www.mathworks.com/help/curvefit/evaluate-a-cu...

8 days ago | 0

| accepted

Answered
Graph and Network Algorithms - centrality.m
What does this command return? which -all centrality It should show two versions of that function, one the |centrality| ...

8 days ago | 0

| accepted

Answered
Can matlab not perform 115880 iterations fast?its taking hours to save the result of all iterations..how to iterate over all combinations and get results in minimum time
Run your code in the <https://www.mathworks.com/help/matlab/code-performance.html MATLAB Profiler> using a *subset* of the data ...

8 days ago | 1

Answered
Will App Designer file be compatible with software version control (e.g. git or svn) ?
Are you concerned about being able to diff and/or merge the App Designer files? I haven't tested that following the steps <https...

9 days ago | 1

Answered
How to define a vector that its elements are created in a For Loop?
Define X as a |sym| vector from the start. X = sym(zeros(1, 5)); Adding a |double| and a |sym| results in a |sym|, but a...

9 days ago | 0

Answered
There is no MarkerFaceAlpha property on the Scatter class
That property was introduced in <https://www.mathworks.com/help/matlab/release-notes.html?rntext=MarkerFaceAlpha&startrelease=R2...

9 days ago | 0

| accepted

Responded


Re: develop architecture using matlab
Do you have both Neural Network Toolbox and Simulink? If so, you could create a model representing your neural network. The easi...

10 days ago | 197 views

Answered
How to download Matlab?
In the upper-right corner of this page there is a link titled "How To Buy" that lists the available license options. But befo...

10 days ago | 0

Answered
turn data of the form :"Year, Number of day(0 to 364) ,Hour(0 to 23)" into a date variable for matlab.
Don't use |datenum| or |datestr|. Use |datetime|. D = datetime('2015,344,23', ... 'InputFormat', 'yyyy,DDD,...

11 days ago | 0

Responded


Re: apriori matlab
You're calling this with no input arguments, so A (and B) are not defined inside the function when it tries to compute numel(A)....

11 days ago | 321 views

Answered
In MATLAB 2016b, is there a way to specify the range and number of grid lines in the polar plot?
Don't use |polar|, use |polarplot| instead. The parent of the |polarplot| will be a |polaraxes| and that has <https://www.mathwo...

11 days ago | 0

Answered
I have a polar plot. Is there a way to label the axes?
In release R2016a or later if you create a |polaraxes|, either using that function directly or by creating a |polarplot|, you ca...

12 days ago | 4

Responded


Re: Image encryption
You haven't shown any code, but my guess (from the fact that you're working with images) is: ans = https://www.mathworks.com/h...

12 days ago | 322 views

Answered
How to operate 'solve(...)'
Do you want to know how to *use* the |solve| function (which is described in the documentation) or do you want to know *how the ...

12 days ago | 0

Answered
How to change plot size?
Set the <https://www.mathworks.com/help/matlab/ref/axes-properties.html?s_tid=srchtitle#property_OuterPosition OuterPosition> pr...

12 days ago | 0

Answered
How to have decreasing indexing in an PARFOR loop?
You can't, and I don't think you can run your loop as a |parfor|. From <https://www.mathworks.com/help/distcomp/introduction-to-...

13 days ago | 1

Load more