
Steven Lord
MathWorks
Followers: 8 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.
Statistiques
RANG
13
of 298 987
RÉPUTATION
18 160
CONTRIBUTIONS
0 Questions
8 286 Réponses
ACCEPTATION DE VOS RÉPONSES
0.00%
VOTES REÇUS
3 242
RANG
525 of 20 667
RÉPUTATION
3 295
CLASSEMENT MOYEN
3.40
CONTRIBUTIONS
5 Fichiers
TÉLÉCHARGEMENTS
6
ALL TIME TÉLÉCHARGEMENTS
32227
CONTRIBUTIONS
0 Publications
CONTRIBUTIONS
0 Public Chaîne
CLASSEMENT MOYEN
CONTRIBUTIONS
0 Point fort
NOMBRE MOYEN DE LIKES
Feeds
Why does times(A,B) gives me negative values when A and B don't have any ???
Try using mustBeNonnegative instead of mustBePositive. This will detect if your calculation underflowed to 0. x = realmin must...
environ 21 heures il y a | 2
| A accepté
A question about text string concatenation
That would work as you expected if Cruise_ID were a char vector. In that case, the concatenation would make a longer char vector...
8 jours il y a | 2
| A accepté
termination command `kill -9 {id}` no longer works (from 2022b to 2024b)
Rather than killing the process, why not just call quit to exit MATLAB?
13 jours il y a | 0
How to convert a column of float or not data into double?
Are you trying to import this data from a file? If so please show us (or tell us, if you can't provide the code) exactly how the...
14 jours il y a | 1
What Is A Scalar String?
A scalar array in MATLAB is one whose size is [1 1]. So for example 42 and pi are scalars, while [1 2] and [] are not. size_42 ...
15 jours il y a | 2
Abfload error - colon operands must be real scalars
the issues seems to be with the switch to R2025a No, the issue is that you're trying to use the colon operator with complex num...
15 jours il y a | 2
Inheritance, abstract and constant properties.
Doing so would violate the Liskov substitution principle. As a contrived example, let's say you had a Shape class that had an a...
16 jours il y a | 0
Symbolic calculation with solve command
If you object to the presence of root() in the solutions, since you're using release R2023a or later you can use the rewrite fun...
21 jours il y a | 1
Error: Colon operands must be real scalars.
This was a deliberate change in release R2025a. See page 1-30 of the PDF Release Notes for MATLAB. We issued a warning that MATL...
21 jours il y a | 1
How do I use fprintf to show the entire array in one ouput statement
This wasn't an option when the question was originally asked, but if you wanted to capture the matrix in text exactly as it woul...
22 jours il y a | 0
Download the example for “Estimate Battery Model Parameters from HPPC Data” does not work. Is it possible to get access to it?
According to that example's page in the online documentation, that example was introduced in release R2025a. Looking at the Rele...
environ un mois il y a | 0
Display data in a while loop as a table
Rather than building a new table each time, I'd create one before your loop and add to it then display it at the end. f=@(x) x^...
environ un mois il y a | 0
| A accepté
2019b download installer
For information on how to check if you can download previous releases of MATLAB, see the instructions in this Answers post.
environ un mois il y a | 0
No slrealtime.Instrument.LineStyle in R2020b:
slrealtime.instrument.LineStyle is not the same as slrealtime.Instrument.LineStyle. From the error message you're using a capita...
environ un mois il y a | 1
| A accepté
Unrecognized method, property, or field 'AudioFileName' for class 'Denoising_Audio_Signals'.
If you open the app from that example in MATLAB, it defines a private property named AudioFileName (line 29.) Where in your app...
environ un mois il y a | 0
| A accepté
Code generation for polybuffer
Can you confirm which release of MATLAB you're using? It appears that the C/C++ code generation support for polybuffer was added...
environ un mois il y a | 0
| A accepté
Creation of a standalone executable app
You will need to use Simulink Coder (product information page) for that workflow. See the Simulink Coder documentation for more ...
environ un mois il y a | 0
Does Matlab 2023b support Classification learner like what I got trainned in ML Module?
There are 44 items in the Release Notes for Statistics and Machine Learning Toolbox listing new features introduced in Classific...
environ un mois il y a | 0
| A accepté
Unsuccessful use of anonymous function for time-varying boundary condition
When you run this line of code (commented out so I can run one line of code later in this answer): %{ applyBoundaryCondition(t...
environ un mois il y a | 0
| A accepté
use rescale with matrix
From the rescale documentation page: "R = rescale(A,l,u) scales all elements in A to the interval [l u]." The second input argu...
environ un mois il y a | 0
| A accepté
fmincon returning to initial values not true
It's likely going to be difficult to offer any concrete guidance without seeing or knowing more about newcostfunc. Does it call ...
environ un mois il y a | 0
Custom Colours of a Pie Chart Sections
This wasn't an option when the question was originally asked, but if you're using release R2023b or later you could use the piec...
environ un mois il y a | 3
Problem with computeInitialWeights function
Open the example in MATLAB or MATLAB Online using the appropriate button in the upper-right corner of the example. [To open in d...
environ un mois il y a | 0
Using a config file to specify model set-up (.json or .env??)
MATLAB has functions for reading in data from JSON files, see this documentation page for a list. It also has functions for rea...
environ un mois il y a | 1
| A accepté
Could you show me what is the formula Matlab has used to calculate the Formatpoints - WorstAndBestScores?
I recommend reading through the Algorithms section on the documentation page. If it doesn't provide enough information, I would ...
environ un mois il y a | 0
Is there a way to suppress command outputs to command window?
If you're using a sufficiently recent release of MATLAB, create a codeIssues object for the file then call fix with the object a...
environ 2 mois il y a | 1
logarithmic binning of "x" values
Use histogram, histcounts, discretize, and/or groupsummary. Since your application is that you want to perform an operation summ...
environ 2 mois il y a | 2
Generate n random numbers between 0.1 and 0.9 without repetition
When you compute: lower_limit = 0.1; %define the upper limit higher_limit = 0.9; x = lower_limit:higher_limit The vector x ...
environ 2 mois il y a | 0
| A accepté
Remove outliers but be careful with end points
Do you want to remove the outliers or do you want to fill them in? If the latter, see the filloutliers function.
environ 2 mois il y a | 1
How can we see yticks below zero as positive and keep labels updated when zooming in?
You could use the zoom mode object returned from the zoom function to specify an ActionPostCallback that will be called after MA...
environ 2 mois il y a | 0