
Steven Lord
MathWorks
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.
Statistics
RANK
13
of 281,896
REPUTATION
16,358
CONTRIBUTIONS
0 Questions
7,543 Answers
ANSWER ACCEPTANCE
0.00%
VOTES RECEIVED
2,833
RANK
504 of 19,064
REPUTATION
3,276
AVERAGE RATING
3.40
CONTRIBUTIONS
5 Files
DOWNLOADS
18
ALL TIME DOWNLOADS
32037
CONTRIBUTIONS
0 Posts
CONTRIBUTIONS
0 Public Channels
AVERAGE RATING
CONTRIBUTIONS
0 Highlights
AVERAGE NO. OF LIKES
Content Feed
i want to create a square array of 1048560x1048560 but i am getting an Error using zeros Requested 1048560x1048560 (8191.8GB) array exceeds maximum array size preference.
@Simar wrote, in part: By default, MATLAB has a maximum array size limit to prevent excessive memory usage and potential system...
3 days ago | 3
How to display x values for each iteration in fmincon?
Create an output function and specify it in your options structure as shown in the example on the page that is the first link fr...
3 days ago | 1
Is it not possible to extract a function from code in MATLAB?
The Release Notes indicate the ability to automatically convert selected code into a function was introduced in release R2021b.
4 days ago | 2
Find least frequent value in an array
H = [1 1 2 2 3 3 4 5 5 5 6] [counts, values] = histcounts(H, [unique(H) Inf]) allMinimumCountsLocations = counts == min(counts...
4 days ago | 1
How to obtain shortest paths with parents in a weighted directed graph?
You may want to use the shortestpath or shortestpathtree functions instead of distances for this use case.
4 days ago | 2
Solve symbolic equation for a variable which itself is a function of time
If you're trying to solve a differential equation, try using dsolve instead of solve.
5 days ago | 0
What's wrong in this function
You define your function as follows (with a break added so we can see all the input arguments on one line.) function ELS_Price=...
5 days ago | 0
How do I convert my .m file into a .exe file?
Another alternative, one that didn't exist when this question was originally asked ten years ago, is to have your users use MATL...
5 days ago | 0
Matlab creates same input values every time? Why?
Others have told you how to get the numbers to not repeat after startup. But to answer your "Why?" question, this is expected be...
5 days ago | 1
Using an anonymous function handle as input into another function handle
And then I want to use omega as input to the next function. What specifically do you mean "as input to the next function"? How...
5 days ago | 0
Invalid Activation Key (510). so what is the activation number?
See this Answers post for more information about that error and how to resolve it.
5 days ago | 0
Data analysis - How to recognize local peaks/different areas?
You can use the ischange function to identify where the mean of the data changes. Using the same approach for generating sample ...
5 days ago | 0
quadruple summation using function
You could use implicit expansion to avoid having to create quite so many large arrays. It's not as fast as the case that exploit...
7 days ago | 1
dsolve function is not working
You've written your own dsolve.m file that's taking precedence over the dsolve function that is part of Symbolic Math Toolbox. I...
10 days ago | 0
Requesting theoretical support for interdigital capacitor function
Do the reference books/papers in the References section of the documentation page for the interdigitalCapacitor function not inc...
10 days ago | 0
Random sequency generation at specific numbers
Replicate the vector so it has more elements than you want. Then use the two input form of randperm to select the desired number...
11 days ago | 0
| accepted
xtick label font change affect ytick label font
Changing the FontSize property of an axes does affect the font size of both the X and Y rulers. If you get the ruler you want to...
12 days ago | 0
I want to gererate pseudorandom integers using randi function, however I want have empty cells between the integers.
Numeric arrays in MATLAB can't have "holes". Perhaps if you describe in more detail how you're hoping to use this type of array...
12 days ago | 0
| accepted
Mackey Glass equation and ddesd
So in these equations you're using the Equation 2 form where is 2, is 1, n is 9.65, is 2, and is 1? If the density of the c...
12 days ago | 0
| accepted
Matlab License File Precedence
That is what the MATLAB License Search Path section on this documentation page states.
12 days ago | 0
| accepted
How to doc() a command which is overloaded by multiple toolboxes
The evaluate function in both those products (and a few others) is a method of different types of objects. which -all evaluate ...
12 days ago | 0
| accepted
I can not open spm12 with MATLAB
SPM12 is not a MathWorks product and so I don't have any experience with it, but based just on the error message and the URL of ...
13 days ago | 1
Run Section funcionality isn't working
In order to run MATLAB code in a code file, the name of that file must satisfy the requirements given by the isvarname function....
13 days ago | 1
| accepted
S-Function support for future releases
The Release Notes for Simulink Coder in release R2022b includes an entry that seems to be relevant to this question. The suggest...
13 days ago | 0
remove numbers of an matrix from another matrix
Call setdiff with the 'rows' input.
13 days ago | 0
How can one debug mex code called by fminsearch?
What happened after you handled the SIGSEGV and SIGBUS signals as described in the last section, "Debug MEX with JVM", on this d...
13 days ago | 0
my optimization toolbox does not open
If you're referring to optimtool, it was removed in release R2021a. For a graphical interface to the Optimization Toolbox functi...
14 days ago | 1
how change order color legend?
If you're using release R2023b or later, there's a new legend property introduced in R2023b that may be of interest to you. Chan...
15 days ago | 0
Moving skewness/kurtosis/rms/autocorrelation for time series. Fast Implementation.
Currently MATLAB does not have any functions for computing the moving skewness, kurtosis, rms, or autocorrelation. For a list of...
16 days ago | 0