Community Profile

photo

Steven Lord


Last seen: Today

MathWorks

4.200 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

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

View details...

Contributions in
View by

Answered
Writing m function to be read by Livescript
If the name of the main function in a function file and the name of the function file itself are different, MATLAB will know the...

etwa 5 Stunden ago | 0

Answered
How can the code tell if a single test is running instead of the whole test class?
If you're running this to debug, I assume you actually want the additional information only when the test fails. If so try matla...

2 Tage ago | 0

Answered
I can't get a license though I have paid
Please check your spam folder to determine if the email from MathWorks with your installation instructions has been caught there...

2 Tage ago | 0

Answered
What is wrong with my code.I want to connect stars(*)by straight line,but it's printing only points,not line!
You're creating one line per ginput call, plotting one point per line. They're not all the same line object so they're not conne...

2 Tage ago | 0

Answered
why a variable is remaining unchanged when solving two simultaneous ordinary differential equation using ode45?
Let's look at both terms of the expression you use to define dX(1). dX=[(m*(Ca0-x(1))/rho*V)-k*x(1)*exp(-E/R*x(2)); For the fi...

2 Tage ago | 2

Answered
Search a Table With Numerical Entries
If you want to make a digraph from your table, you don't need to go to the three-column table first. Let's make a sample table i...

2 Tage ago | 0

| accepted

Answered
How to fix this "Error using matlab.ui.​control.in​ternal.mod​el.Abstrac​tNumericCo​mponent/se​t.Value (line 111) 'Value' must be a double scalar." ??
Where do you assign a value to the private property valueToSimulink and what value do you assign to that property? Set a breakp...

2 Tage ago | 0

Answered
READTABLE FUNCTION. NOT WORKING FOR ME.
You're trying to read a file with the extension xlxs. The file you've highlighted in the Current Folder window has the extensio...

2 Tage ago | 0

Answered
Can you help me ? Indexing error
You've defined a variable named det in your code. Because of this you cannot use the det function. Attempting to call det (the f...

2 Tage ago | 0

| accepted

Answered
is there's a way to automatically find peaks in an histogram?
You can do this using the islocalmax function. % Sample data rng default x = randn(1, 1e5); h = histogram(x); % Retrieve ...

3 Tage ago | 0

| accepted

Answered
Create New Array from Existing Array using For Loop and If Statement
No need for a for loop or an if statement. x = randi([30 390], 10, 10) y = mod(x, 360) Depending whether or not you want y to...

3 Tage ago | 1

| accepted

Answered
Unexpected error on line with property validation
The ability to validate property values that way was introduced in release R2017a. It won't work in earlier releases.

3 Tage ago | 1

| accepted

Answered
How to solve an ODE system with time-dependent variables in MATLAB?
From your description, it sounds like you don't have an ordinary differential equation (ODE) but you have a delay differential e...

3 Tage ago | 0

Answered
Working with Matlab for a 15! x 30 matrix
To speak to some of the questions Image Analyst asked, how large a contiguous block of memory would storing this matrix require?...

3 Tage ago | 0

Answered
matlab space error problem
You can use concatenation as Fangjun Jiang and Brent Kostich suggested. I'd probably use join instead. join(["I", "love", "Geor...

3 Tage ago | 0

Answered
FZERO requires at least two input arguments
I have a number of pieces of feedback on this code. It looks like it was written for an older version of MATLAB and was copied i...

3 Tage ago | 1

Answered
Ranking Variables by Value
You've made this a bit harder on yourself than it needs to be by defining individual variables for the counts and prices of each...

4 Tage ago | 1

Answered
Matlab R2016b
My suspicion is that your images folder contains no JPG files. If it doesn't, your for loop does not execute its loop body and t...

4 Tage ago | 1

Answered
Should mvnrnd Always Advance the State of the Global Stream
There's no requirement that these two lines of code that call the same function with different inputs need follow identical code...

5 Tage ago | 0

Answered
no function called predict although stats toolbox is downloaded
There are several different functions named predict in Statistics and Machine Learning Toolbox. Each is for a specific type of o...

5 Tage ago | 0

Answered
classes and the "set" method
Make X a Dependent property in class Dummy and make its get.X method compute the value of X using the current value of the av pr...

5 Tage ago | 0

| accepted

Answered
How do I define an empty table of unknown size?
Elements = 1:5; n = numel(Elements); T = table('Size', [2 n], 'VariableTypes', repmat("string", 1, n))

6 Tage ago | 0

| accepted

Answered
nmrval returning larger matrix than expected.
Does your X matrix contain a column of 1s? If so see the Note in the first item of the Description section on the documentation ...

6 Tage ago | 0

Answered
Plotting the ODE without an analytical solution
If your initial conditions are supposed to be: "where x(0)=0.2 and x'(0)=0 for t=0:100?" why are you specifying them as x(0) = 0...

6 Tage ago | 0

| accepted

Answered
How to write Matlab code based on the Simpson’s 1/3 rule?
When you ask for help understanding / correcting an error, please include the full and exact text of that error message (all the...

7 Tage ago | 0

Answered
How to get License number for online MATLAB if MATLAB is not installed?
The first ways I'd try to locate the license number would be to check the installation instructions you should have been sent (i...

7 Tage ago | 0

Answered
I have Symbolic Math Toolbox but get an error with syms, why?
The function you've written or downloaded named syms.m in your OneDrive is shadowing the syms function that is part of Symbolic ...

7 Tage ago | 0

| accepted

Answered
How to do basic time arithmetic when NaNs are involved
Replace the NaN numeric values in your date cell arrays with 'NaT' and the NaN numeric values in your time cell arrays with 'NaN...

7 Tage ago | 0

Answered
what should I do
load your data into MATLAB then see the "Indexing with Logical Values" section on this documentation page.

7 Tage ago | 0

Answered
How to install 2019a Navigation Toolbox?
As shown on the documentation page listing the release notes for release R2019b (the New Products and Major Updates section) Nav...

9 Tage ago | 2

Load more