
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 284,387
REPUTATION
16,562
CONTRIBUTIONS
0 Questions
7,636 Answers
ANSWER ACCEPTANCE
0.00%
VOTES RECEIVED
2,879
RANK
506 of 19,202
REPUTATION
3,279
AVERAGE RATING
3.40
CONTRIBUTIONS
5 Files
DOWNLOADS
20
ALL TIME DOWNLOADS
32067
CONTRIBUTIONS
0 Posts
CONTRIBUTIONS
0 Public Channels
AVERAGE RATING
CONTRIBUTIONS
0 Highlights
AVERAGE NO. OF LIKES
Content Feed
Why is dot (".") not considered an operator?
This documentation page lists it in the "Special Characters" section. [To be fair it also lists the colon operator in that table...
26 minutes ago | 1
Question regarding the calling of cfit coefficients
The way you gave, asking for the a, b, and c properties of the cfit object named fitobject, is one way to get the coefficients. ...
4 hours ago | 0
| accepted
Insert zeros in random positions following another zero
You can use repelem to replicate the elements. X = [2 1 0 4 5 0 778 90 0 3 88 0 77 66 0 12 23 0 45 80 0 89 67 0 34 67 0 76 32 0...
6 hours ago | 0
| accepted
Find function misbehaves when Indexing into array
%{ if isempty(FindIndex) FindIndex = 125; end %} Rather than assuming that your x array (and your y array) has exactly ...
7 hours ago | 1
Webinar link not emailed after registration
If you've checked that your spam filter didn't trap the emails from MathWorks, please contact Customer Service directly using th...
8 hours ago | 0
Outerjoin: resulting table has repeated rows and has erased some data
Rather than storing your data as tables with one variable containing serial date numbers, consider converting those serial date ...
1 day ago | 0
Using output of the fit function in further calculations
If all you want to do is evaluate the surface fit there's no need to break it into its components parts and re-assemble it. I'll...
1 day ago | 0
| accepted
Locally suppress Code Analyzer warnings?
See the "Adjust Code Analyzer Message Indicators and Messages" section on this documentation page.
1 day ago | 0
How to make only x-axis invisible (y-axis stays visible)?
This wasn't an option when the question was originally asked, but now you can change the Visible property of the appropriate rul...
1 day ago | 0
Renaming output files so as not to overwrite when name is duplicated
There is a function named matlab.lang.makeUniqueStrings that may be of use.
3 days ago | 0
How do I use Matlab Compiler SDK to create executable for GUI app
I would try writing and deploying a function that opens the app then waits for the app to close before the function returns. Som...
5 days ago | 0
How to type sin function with square
While the usual mathematical notation to compute the square of the sine of x is , the MATLAB code to perform that computation is...
7 days ago | 0
What is the logic in the way plots are handled in Live Scripts?
From the documentation for the subplot function: "subplot(m,n,p) divides the current figure into an m-by-n grid and creates axes...
7 days ago | 1
| accepted
I'm calculating using the order 3 polynomial interpolation method. But why does an array appear?
When you receive warning and/or error messages please show the full and exact text of those messages (all the text displayed in ...
8 days ago | 0
Is this possible, " 3D Printing with MATLAB ". If so, How far I could go with it ?
There are some old blog posts where people have discussed creating shapes in MATLAB and converting them into the file format use...
9 days ago | 1
| accepted
How do I solve an ode and plot a graph of two terms within the ode
eta0 = 8080; lambda = 1.109; gamma = logspace(-3, 3, 100); f = @(t,tau)(-(tau+eta0*gamma)/lambda); f is already a function h...
12 days ago | 1
Why didnt get the same result even when using RNG function?
Suppose you stack a deck of cards in a particular way. You then play a hand of standard five-card draw poker with 3 players. You...
12 days ago | 0
Pass a plot handle into a function argument
Another way to control what is or is not included in the legend, if you have (through calling plot with an output argument) or c...
12 days ago | 0
Generating standalone application from app designer
Yes, either as a deployed web app or as a standalone desktop application. See this documentation page for more information.
12 days ago | 0
| accepted
ode45 not working
Don't use global variables. Parameterize your function instead. The way you've written your funcionMAT file, it is a script fil...
13 days ago | 0
How can I print the mean and standard deviation in the histogram plot?
The other posters have interpreted "print" in the subject of your Answers post as displaying the numeric value. Another potentia...
13 days ago | 1
Concatenate multiple tables with different variable names vertically to a big table
Are you trying to combine rows of those tables based on the date and time information stored in the first variable? If so I woul...
13 days ago | 0
Undefined variable "handles" or class "handles.ik5".
Did you try to copy this code out of an app and run it in the Command Window? That's not going to work. Generally a handles stru...
13 days ago | 0
How can l store large numbers from input in App Designer?
They are serial numbers, and have 8 - 10 digits. l thought l can create a cell array larger than that and place them in the corr...
13 days ago | 1
| accepted
Calculate median values of slices of array associated with histogram bins
I would use the groupsummary function with the grouping information from the idx variable. If all you want is the bin numbers, ...
13 days ago | 0
Too many input error when generating random number using exponential distribution
The exprnd function in D:\dynarc\5.4\matlab\missing\stats\exprnd.m is taking precedence over the exprnd function included in Sta...
14 days ago | 2
| accepted
Shift array to left or right, keep length and feel zero empty area
If you're using release R2023b or later you could use paddata. A = [1 2 3 4 5 6 7 8 9]; B = paddata(A(1:end-2), numel(A), Sid...
15 days ago | 0
What is the exact use of diary in matlab?
From the diary documentation page, the short description is "Log Command Window text to file". When the diary is active, whateve...
15 days ago | 0
Loop inside a loop isn't working
If this isn't a homework assignment, I'd just use the sphere function. [X, Y, Z] = sphere; figure surf(X, Y, Z) title("Full ...
15 days ago | 0
how to make matrix output with text instead of numbers from for loop
If you must use a loop, use the strings function to create a string array the same size as the array over which you're iterating...
15 days ago | 1
| accepted