Community Profile

photo

Steven Lord


MathWorks

3.036 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
one program has different results in different versions
In release R2018a did you assign a value to the variable i before running that code? When you want to ensure that you're using t...

etwa 3 Stunden ago | 0

Answered
How to set datetime for every 9.9156 days?
Do you want a certain number of 9.9156 day intervals from your starting time, or do you want intervals of length 9.9156 days sta...

3 Tage ago | 1

Answered
Pca built-in function and how its works?
The books and papers listed in the References section on the documentation page for the pca function in Statistics and Machine L...

3 Tage ago | 0

Answered
Two fields Tooltip and TooltipString duplicating each other.
Yes and the Release Notes recommend using the Tooltip property. TooltipString is not necommended as of release R2018b.

3 Tage ago | 0

| accepted

Answered
Generating function handles with large numbers of variable coefficients
You're using release R2018a, so you can take advantage of implicit expansion. I = reshape(1:60, [3 4 5]); b = [1 2 3 4 5]; R...

3 Tage ago | 0

| accepted

Answered
Changing data type within a table from type table to any other data type
Using parentheses to extract elements from a table returns a table array. Using curly braces to extract elements from a table r...

3 Tage ago | 0

| accepted

Answered
Error using cell/ismember (line 34) Input A of class double and input B of class cell must be cell arrays of character vectors, unless one is a character vector. Error in untitled5 (line 190) if ismember(BW6(i,j),array1)~= logical(1)
So you want all the unique elements of the matrix? Use the unique function or if "close enough" counts use the uniquetol functio...

3 Tage ago | 0

Answered
Transform NaN into number
For this application, I'd use fillmissing. It will do the same task as filling in locations using logical indexing with the outp...

3 Tage ago | 2

| accepted

Answered
OOP - convert base class object to sub class object
I think this approach has a couple problems, two conceptual and one specific to Guillaume's implementation. Conceptually, wit...

4 Tage ago | 1

Answered
i am getting recursive limit crossed and not been able to get the answer when i tried to implement Median of Medians pseudo code given on Wikipedia
In your select function: function sel = select(list,left,right,n) if (left == right) sel=left; end pivotIndex = piv...

4 Tage ago | 0

Answered
why some of the built-in function of my matlab (2018b) can not work? like fit, confint...
The fit function used that way is part of Curve Fitting Toolbox, as is the confint function. You most likely do not have this to...

4 Tage ago | 1

Answered
datetime to samplenumber slow
Do you want to compute the median for overlapping / sliding windows of 5 minutes, or do you want to compute it for each non-over...

4 Tage ago | 0

Answered
Input a variable into a plot title
With the introduction of the string array in release R2016b (and the ability to enclose text data in double quotes to create a s...

5 Tage ago | 0

| accepted

Answered
Sort an array while keeping the right index
Look at the second output from the sort function. That can be used to generate the first output of sort from the input array, bu...

5 Tage ago | 0

Answered
why no statistic in workspace
Nothing is wrong, this is the expected behavior for functions. From the documentation, "Functions have their own workspace, sepa...

6 Tage ago | 0

Answered
Optimoptions set both Display AND Parallel properties
You can't solve problem 1 using either optimset or optimoptions. The Optimization Toolbox options reference page shows that Use...

7 Tage ago | 0

| accepted

Answered
importing large 4GB+ tab-delimited ascii file makes MATLAB crash
Consider making a tall array or perhaps using memmapfile. These tools are linked from this documentation page. Please also send...

9 Tage ago | 0

Answered
Drawing out a graph, animating a 2-d graph in MATLAB
Use the functions and techniques described on this documentation page. The easiest would probably be comet or animatedline.

9 Tage ago | 0

Answered
What are my options for compiling Statistics on Missing Data Values
See the functions and topics related to missing data on this documentation page. For your stated tasks ismissing should be suffi...

10 Tage ago | 1

Answered
Array is stopping at lower variable count
for w=numel(Folders) This "loops" over one value, which means you're only going to access the files in the last element of Fold...

10 Tage ago | 1

| accepted

Answered
ode output function problem
As documented in the odeset function documentation page the function you specify as your custom OutputFcn must have a certain sy...

11 Tage ago | 0

| accepted

Answered
using a vector/array as a counter in a for loop, or while loop?!
Rather than creating and deleting the line each time, why not use one of the animation tools and/or techniques shown on this doc...

11 Tage ago | 0

Answered
Calculate mean from daily to monthly values
Use the groupsummary function or store your data in a timetable and use retime on that timetable.

11 Tage ago | 0

Answered
Upgrade Matlab version/server out of maintenance
Please send this licensing question directly to the Sales department using the telephone icon in the upper-right corner of this ...

11 Tage ago | 0

Answered
How to create a planar STL in PDE Modeler?
You can look at the PlateHolePlanar.stl file being imported by that example. edit PlateHolePlanar.stl It looks to me like the ...

12 Tage ago | 0

Answered
how can i find convex and concave points
Depending on what you want to do with this information (which is not clear from the question) you may find the ischange function...

12 Tage ago | 1

Answered
Define a new fitting function
Is your data stored as row vectors? If so, transpose them (using the .' operator) to be column vectors in your call to fit.

12 Tage ago | 1

| accepted

Answered
findLobes function on MATLAB_2019a
In order to use the findLobes function in Antenna Toolbox, its first input must be a polarpattern object. When you call findLobe...

12 Tage ago | 1

Answered
Formulation to Matlab code
There's no need to loop. The log and log10 functions can operate on arrays of data, and as long as you use element-wise multipli...

13 Tage ago | 0

Answered
How can I which value that be used to calculate a function
Since you indicate that you're using release R2019a, call min with the 'linear' option and two output arguments. This will give ...

13 Tage ago | 0

Load more