Community Profile

photo

Steven Lord


Last seen: Today

MathWorks

4 331 total contributions since 2002

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.

Steven Lord's Badges

  • 36 Month Streak
  • Personal Best Downloads Level 2
  • Editor's Pick
  • 5-Star Galaxy Level 4
  • First Submission
  • Ace
  • Revival Level 3
  • Thankful Level 3
  • Knowledgeable Level 4
  • First Answer
  • Scavenger Finisher
  • Solver

View details...

Contributions in
View by

Answered
Undefined unary operator '-' for input arguments of type 'string error
When you call categorical with one input, the list of categories in that categorical is the sorted unique values in the input. F...

environ 3 heures ago | 0

Answered
error in matlab arithmetic operations ?
Your variable named var (which is a bad idea, because var already has a meaning in MATLAB) is not 3. It is '3'. xDouble = 3; (...

environ 3 heures ago | 0

| accepted

Answered
can one define a function handle in Livescript?
It is possible to define function handles in a Live Script. How well those function handles work depends on how well you impleme...

environ 5 heures ago | 0

Answered
'retime' with multiple methods?
If you want to return the product of the standard deviation and the mean for the data in each time period, something like this (...

environ 5 heures ago | 0

Answered
How can you implement a loop inside an ODE 45 function
Which specific line of your code is listed in the error message? Set a breakpoint on that line and look at the sizes of what yo...

environ 7 heures ago | 0

Answered
How to use properties of a class in its own class and also in other classes?
lcc is not a Constant property of the clCore class, so each instance of clCode has its own lcc property. So which clCode instan...

environ 7 heures ago | 0

Answered
How to know user associated to specific license?
Please contact Customer Service using the telephone icon in the upper-right corner of this page.

environ 7 heures ago | 0

Answered
Why does assigning a string object into a double vector of doubles give NaN instead of an error?
MATLAB knows how to convert double arrays to string arrays and vice versa. For the former see this documentation page, for the l...

environ 16 heures ago | 1

Answered
How to make a circular graph (node connections)?
Use the layout function to layout your digraph using the 'circle' layout.

environ 17 heures ago | 0

Answered
hello everyone, i have this urgent problem
t = 0:360; h1 = animatedline('LineStyle', '-', 'Color', 'k'); h2 = animatedline('LineStyle', '--', 'Color', 'c'); axis([0 450...

1 jour ago | 0

Answered
What is this issue "persistent memory:False" ??
The command dfilt.df1 creates an object (a "discrete-time, direct-form I filter object".) That object has a property named Persi...

1 jour ago | 0

| accepted

Answered
what are the functions that one can use for unstack aggregate functions?
Any function that can be applied "to rows from the same group that have the same value in ivar" and return a scalar, and that ca...

2 jours ago | 0

| accepted

Answered
The htmlTree object is supported in which version?
According to the note at the end of the htmlTree function's documentation page it was introduced in release R2018b. You will nee...

3 jours ago | 0

Answered
What is the job of this function “different”?
According to a tooltip that appears at 2:25 in the video, the different.m file is "D:\OneDrive\OneDrive - Shahjalal University o...

3 jours ago | 0

Answered
Error in string operation
My guess is that on a later line of code you overwrite the datachunks variable (which previously contained a string array) with ...

3 jours ago | 0

| accepted

Answered
How to access array element sequentially in for loop?
Rather than creating numbered variables (which is generally discouraged) consider making a matrix or array containing all your d...

3 jours ago | 0

Answered
Pass Array Variable to MATLAB Function in Bash
The getenv function may be of use to you.

4 jours ago | 0

Answered
How to find all related nodes in directed graph?
You want to know all nodes that are reachable from the designated node? Use the distances function on the digraph with the desig...

4 jours ago | 0

Answered
Error in code: Invalid expression. Check for missing multiplication operator, missing or unbalanced delimiters, or other syntax error. To construct matrices, use brackets instead of parentheses.
When you define your function, the function declaration line should include the names of the variables into which the input argu...

4 jours ago | 1

| accepted

Answered
I get an error when I run a function on mac, but it works when run in Windows
Make sure you haven't written or downloaded your own var.m that's taking precedence over the var.m included in MATLAB. You can c...

5 jours ago | 0

| accepted

Answered
How do I calculate percentage or frequency and display it on a bar plot?
Use histogram with 'probability' as the value for the 'Normalization' option.

5 jours ago | 0

Answered
Linux (CentOS 7,5) Deployable Installation
Do you have the necessary permission to write to /usr/local/MATLAB/MATLAB_Runtime? Does /usr/local/MATLAB/MATLAB_Runtime/v92 al...

5 jours ago | 0

Answered
How could I fix the error "Out of memory with ode45" ?
My suspicion is that you're calling ode45 with a function handle as input from inside the function that you're passing into ode4...

6 jours ago | 0

Answered
"normalize" Does Not Work on R2020a
In my installation of release R2020a line 23 of the normalize.m included in MATLAB is a comment that's about a third of the way ...

6 jours ago | 0

| accepted

Answered
Extract data using histogram2()
If you want the data that was passed into histogram2 retrieve the Data property of the histogram. If you want the edges of the ...

6 jours ago | 0

Answered
if else statement for tabular data classification
discretize your data. Let's start off with some sample data. I'm using rng default so you receive the same results I did when I ...

6 jours ago | 0

| accepted

Answered
How to calculate mean of all the rows individually and should be stored in the same worksheet ?
Use varfun to apply the function @(x) mean(x, 'omitnan') to each variable in the table.

6 jours ago | 0

Answered
Matlab Grader Assessment Feedback
I haven't tried this, but something like this should work: % Innocent until proven guilty. pass = 1; feedback = ""; % Run le...

7 jours ago | 0

| accepted

Answered
display result (numbers)
When you take the max of an integer array, the result is of the same integer type. When you take the mean of an integer array, ...

7 jours ago | 0

| accepted

Answered
how can hellp me??
Please send the code you're running when you can reproduce that behavior to Technical Support using the telephone icon in the up...

7 jours ago | 0

Load more