Steven Lord - MATLAB Central
photo

Steven Lord

MathWorks

Last seen: Today Active since 2002

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.

Show more

Statistics

All
MATLAB AnswersCodyFile ExchangeFrom 03/02 to 02/25Use left and right arrows to move selectionFrom 03/02Use left and right arrows to move left selectionTo 02/25Use left and right arrows to move right selectionUse TAB to select grip buttons or left and right arrows to change selection100%

RANK
13
of 297,016

REPUTATION
17,966

CONTRIBUTIONS
0 Questions
8,215 Answers

ANSWER ACCEPTANCE
0.00%

VOTES RECEIVED
3,191

  • Treasure Hunt Participant
  • Scavenger Finisher
  • Most Accepted 2024
  • Thankful Level 5
  • Solver
  • Personal Best Downloads Level 2
  • Editor's Pick
  • Master
  • 36 Month Streak
  • 5-Star Galaxy Level 4
  • First Submission
  • Revival Level 3

View badges

Feeds

Answered
MATLAB Incorrect number or types of inputs or outputs for function solve.
Let's choose a small value for n (since the input command cannot run on MATLAB Answers) and see what you're trying to pass into ...

4 days ago | 0

Answered
Numerical integration of N by 1 matrics
See the trapz and cumtrapz functions.

6 days ago | 0

| accepted

Answered
I am trying to recreate a plot from a literature review. It is a scatter graph but the axis are labels more than specific numbers
I'm not certain what the significance of the unlabeled horizontal lines are, but you can create a scatter plot with categorical ...

7 days ago | 0

Answered
Is it better to use tic/toc or a timer function for tracking time?
If you want to retrieve the current time, use: dt = datetime('now') To retrieve it as text data: s = string(dt) Depending on...

7 days ago | 0

| accepted

Answered
isnan to conver nan to zero in a table
Let's make a sample table with some NaN values and a non-numeric variable. A = magic(4); A(randperm(numel(A), 3)) = NaN; T = ...

7 days ago | 1

| accepted

Answered
Why are my licenses not linking to my account
I assume you are one of your company's license administrators? If so please contact Customer Service directly using this link an...

12 days ago | 0

Answered
How to convert python scipt to matlab using any matlan converter or else
I would see if the "Call Python from MATLAB" section linked from this documentation page provides the functionality you need.

12 days ago | 1

Answered
Find closest value in array
As of release R2021b, you don't need to use abs on the input to the min function. Use the 'ComparisonMethod' option to tell MATL...

13 days ago | 1

Answered
remove non-unique columns even if the sign has changed
Make a copy of newca1, let's call it M. Multiply each column of M whose first element is negative by -1. This way if you think o...

13 days ago | 0

Answered
Error using Matlab's publish function to create a pdf
I tried searching our internal bug database but I didn't find anything that looked exactly like this issue. I've reached out to ...

14 days ago | 0

Answered
Request for Cancellation of Full Toolbox Tutorial and Reversion to Original Trial State
Please contact Customer Service directly using this link with this request.

14 days ago | 1

Answered
Clicking on hyperlink for an "example" on MATLAB command line help changes my current directory
Do you want to read the example and potentially run some or all of it? I think that's a pretty common workflow for the examples....

15 days ago | 0

Answered
How does code sharing work in MATLAB?
Some of the functionality listed in the Software Development Tools category in the MATLAB documentation was not available in 202...

19 days ago | 1

Answered
cant get object's method to return multiple outputs
From the error message I suspect the class overloads indexing, either by overloading subsref or using one or more of the indexin...

19 days ago | 0

Answered
defining upper and lower limits of a matrix
If you were using release R2024a or later (or if upgrading is an option) you could use the clip function. M = magic(5) M2 = cl...

19 days ago | 1

Answered
sprintf
This wasn't an option when the question was originally asked, but in more recent releases I recommend storing the names as a str...

20 days ago | 0

Answered
keep exact position of subplot axes
To clarify, when you say "position" do you mean the location of the subplot axes in the figure window, the limits of the axes (s...

20 days ago | 0

Answered
Trouble parsing ISO8601 date strings into datetime
Looking at the description of the Format property on the documentation page for the datetime function I think you want ZZZZZ or ...

25 days ago | 2

Answered
Are namespaces packages?
It is a new thing. namespaces The + directory hierarchy that used to be called packages are now called namespaces, so using an...

26 days ago | 1

| accepted

Answered
How to find the RMSE?
If you're using release R2022b or later, use the rmse function on your data.

28 days ago | 0

Answered
Converting product into individual entries
If you have the individual terms and their replication factors already, see the repelem function. If you don't you may need to u...

28 days ago | 0

| accepted

Answered
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 ...

1 month ago | 0

Answered
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 month ago | 0

Answered
Optional Arguments in Function as Struct Input
Use the namedargs2cell function.

1 month ago | 0

| accepted

Answered
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",...

1 month ago | 0

| accepted

Answered
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: ...

1 month ago | 0

Answered
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 ...

1 month ago | 0

| accepted

Answered
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...

1 month ago | 0

Answered
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 ...

2 months ago | 0

Answered
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...

2 months ago | 0

Load more

Go to top of page