Steven Lord
MathWorks
Followers: 7 Following: 0
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 296,405
REPUTATION
17,914
CONTRIBUTIONS
0 Questions
8,194 Answers
ANSWER ACCEPTANCE
0.00%
VOTES RECEIVED
3,176
RANK
522 of 20,376
REPUTATION
3,293
AVERAGE RATING
3.40
CONTRIBUTIONS
5 Files
DOWNLOADS
7
ALL TIME DOWNLOADS
32207
CONTRIBUTIONS
0 Posts
CONTRIBUTIONS
0 Public Channels
AVERAGE RATING
CONTRIBUTIONS
0 Highlights
AVERAGE NO. OF LIKES
Feeds
How do I create a game update in a while loop
numPasses = 0; expectedDuration = seconds(1/30); while numPasses < 5 dt = datetime('now'); n = 0; while datetime('now')-dt ...
5 hours ago | 0
save() seems to be saving objects that should be destroyed, causing errors when the resulting .mat file is loaded
txs = txsite("AntennaHeight",1.5, ... "Latitude", 38.9899587, "Longitude", -76.9353889, ... "Transmitt...
1 day ago | 0
Optional Arguments in Function as Struct Input
Use the namedargs2cell function.
3 days ago | 0
| accepted
How do I include a command line in my app when using MATLAB Compiler?
No, you cannot include the Command Window in your deployed application. Since you mention App Designer and "change directories",...
3 days ago | 0
| accepted
how can i open .lod extension and .iqd extension file in matlab?
That depends. What do those files represent? Looking at a file extension database a file with the extension .lod could be from: ...
3 days ago | 0
Loading user-defined classes from .mat files absent the classdef
At one time, if I had a .mat file with a user-defined class variable, but lacked the classdef file, loading the .mat file would ...
9 days ago | 0
| accepted
where can I find the code?
Go to the webpage or documentation page for the example that calls that function. Use the button to open that example inside MAT...
12 days ago | 0
Correct way to test if a value is a function?
If you are debugging (note: don't use this in "production" code, as called out in the Note on its documentation page) you could ...
28 days ago | 0
Code Matlab for a function that depends in a real parameter
Parameterize the function you pass into the integral function. See the "Parameterized Function" example on the integral document...
1 month ago | 0
Why the squeeze function squeeze 1x3 array to 1x3, but squeeze 1x1x1x3x1 to 3x1?
If I recall correctly (this was before my time at MathWorks started) squeeze was introduced when we introduced arrays with more ...
1 month ago | 0
| accepted
Is there a function to tell if Matlab is using little-endian or big-endian on current computer?
See the third output from the computer function. [str, maxsize, endianness] = computer
1 month ago | 0
| accepted
Vector where each value is X times larger than the last
Use cumprod. x = [2 3*ones(1, 4)] y = cumprod(x) If you don't know how many elements you want y to have, just what you want t...
1 month ago | 0
| accepted
Constraint set to be a real number
The outputs from the nonlinear constraint function should not be boolean values. They should be continuous values. Try making y...
1 month ago | 1
i need activation key,pleases help me
If you're trying to use your company or educational institution's license, ask whoever maintains the organization's software lic...
1 month ago | 0
Parfor random numbers are not quite random
I would expect all the elements of v to be unique because they are randomly generated. However, I observe that many of them coi...
1 month ago | 0
From perpetual and individual Matlab student license to academic and permanent Matlab license
I recommend you contact Customer Service directly using this link or the Sales department directly using this link for help with...
1 month ago | 0
How to efficiently pass input arguments to a compiled app?
See this documentation page.
1 month ago | 0
| accepted
What is the difference between these two commands?
s = [3 4] What you wrote won't work. It may seem deterministic in this scenario but in general it's ambiguous. try [m n] ...
1 month ago | 1
With contour of image how to change x and y axis?
As written you're using the contour(Z) syntax shown in the Syntax section on the contour function documentation page. The Descri...
1 month ago | 0
Appdesigner Question: Is it possible for a user to reset a default value?
One potential approach is to use custom settings. From that documentation page, "You can create custom settings to store and acc...
1 month ago | 0
Filtering test cases out of a test suite
I am writing a script that takes in a matlab.unittest.TestSuite object that contains several test cases from tests (call this te...
1 month ago | 0
Vectorized code slower than loops
Vectorization is one tool in your MATLAB toolbox, but so is the for loop. Each has its own pros and cons. I think Mike Croucher...
1 month ago | 3
What is the extended symbolic math toolbox?
It was a product that extended Symbolic Math Toolbox functionality. Many years ago (I don't remember the release offhand) the fu...
1 month ago | 1
| accepted
Hello, I'm trying to create a plot for an equation of motion defined as a function.
Please show (or even attach) the full and exact file. My suspicion is that the lines where you define those constants are ahead ...
1 month ago | 0
finding the value at a specific time from second-order ODE
You could call ode45 with just one output argument and then call deval, or you could call ode45 with the desired time as one ele...
2 months ago | 1
| accepted
Combine Two polyshape Objects Similar to addCell Functionality
p1 = nsidedpoly(4); p2 = nsidedpoly(5); The union function makes a polyshape with 1 region. P = union(p1, p2) Concatenation ...
2 months ago | 0
how would one use logic commands to run separate function files with single-statement intput?
Use the input function with the 's' option to allow the user to type in a string, or you could use uigetfile to let the user sel...
2 months ago | 1
| accepted
Spacing correction in documentation.
The spacing looks correct to me in the version of the documentation online to which you linked. Could you state which browser yo...
2 months ago | 0
Matlab Compiler: Is "userpath" always there and accessible?
I would probably try using the tempdir and/or tempname functions.
2 months ago | 0
Using accumarray or a similar method for tables
This wasn't an option in the release the original poster was using (the two functions required were released in release R2016b, ...
2 months ago | 1