Community Profile

photo

Steven Lord


MathWorks

3,436 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

  • 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
Explain this please?
c = 5 + (x < 2 || (e < pi)); Let's look at each section of the code inside the outer parentheses in turn. x < 2 Since x is eq...

7 hours ago | 0

| accepted

Answered
Numerical Solution of 3rd order nonlinear differential equation
See this documentation page and this other documentation page for the techniques you'll need to use to solve this assignment. If...

1 day ago | 0

Answered
a='C:\code'. cd 'C:\code' works fine but cd a gives error: Name is nonexistent or not a directory
The following two cd calls do the same thing, changing directory to a directory named a. cd a cd('a') The following two cd ca...

3 days ago | 1

| accepted

Answered
Inverse of 5x5 matrix
The answer, written out as text, is about 731,000 characters long. >> length(char(Answer)) ans = 731073 A quick Google...

3 days ago | 0

Answered
Is it possible to pre-define user input values and skip input dialogs in a script?
Is there an easier method to do this? Or rather, is it even possible? Or am I better off just creating a custom version of each ...

3 days ago | 0

Answered
GUI handles issue and behavior in 2019a but not in 2013b
How does that button launch the GUI that's not showing up correctly? Does it call the GUI's function file or does it simply use ...

4 days ago | 0

Answered
Changing the color of one particular node into different colors
What is the full and exact text of the error message you receive when you run that code? Include all the text displayed in red, ...

4 days ago | 0

| accepted

Answered
Triple integral (NO with @func)
integral3 doesn't care whether or not you can write your integrand in a particular way. All it cares about is that it can call t...

4 days ago | 0

Answered
XMIN must be a floating point scalar. Kindly help me in clearing the error.
Bz=@(y,x) <lengthy expression that doesn't depend on x OR y snipped> yl=@(x) sqrt(aj^2-x^2) M=integral2(Bz(x,y),-yl(x), yl(x),...

4 days ago | 0

Answered
fopen() in R2008 does not use variables?
The FName output in your uigetfile call is a cell array. When you use parentheses to index into a cell array the result is also ...

5 days ago | 0

Answered
Why can't I solve this, it's simple. (Incorrect dimensions.... use .^) (I did then it says Invalid Operator.......)
The operator .^ (period followed by a caret) performs elementwise matrix power. There is no operator ^. (caret followed by a pe...

5 days ago | 0

Answered
maximum amount of data that matlab works with
The table to which Stephen Cobeldick linked is from 2013, so some of the rows on it are no longer applicable. In fact the only o...

5 days ago | 1

| accepted

Answered
license migration in system fault
See these two Answers posts: How do I transfer a Student or Home license to a new computer? How do I transfer an Individual or...

5 days ago | 0

Answered
How to get the equation for trained Neural Network Toolbox
You haven't shown your network so I can't be certain but I'm guessing you forgot the pre- and post-processing steps.

5 days ago | 0

| accepted

Answered
is there a way to get generalised code to take numerical inputs after a general solution is shown?
For this particular problem, you can perform the computations numerically as Naveen Venkata Krishnan suggested. But if you need/...

5 days ago | 0

Answered
How to calculate determinant of matrices without loop?
This line of code: d = det([a(:,:) ; b(:,:) ; ons(:,:)]); Stacks all of a on top of all of b, and stacks that on top of all of...

5 days ago | 1

Answered
Convert binary file from hex little endian to decimal
The fopen function allows you to specify a machine format when you open the file for reading. Then you can read the data in usin...

5 days ago | 0

Answered
Error: Undefined function 'preprocessData' for input arguments of type 'cell'.
The preprocessData function is a supporting function that is part of that example and is not on the MATLAB path in general. Scro...

5 days ago | 0

| accepted

Answered
textscan doesn't read the entire .m file
Rather than trying to save the contents of your code files as variables, why not set up a source control system? That way you ca...

5 days ago | 1

Answered
Variable updates for a brief moment before returning to the original value.
Does the get_PowerAvailable method of this class return a number, an instance of this class, or something else? When you say "r...

6 days ago | 0

Answered
Warning with the intrinsic detrend function.
According to the Release Notes the ability to remove piecewise polynomial trends for higher degree polynomials was introduced in...

6 days ago | 0

| accepted

Answered
randint is undifined in 2018a
According to the Communications Toolbox Release Notes the randint function was removed in release R2016b. The suggested replacem...

6 days ago | 0

Answered
converting a table (having as first col a datetime col) col into a datetime (having both date & time in its composition)
Convert your text data into a duration array, specifying an 'InputFormat', and add the datetime and duration arrays together. F...

7 days ago | 0

Answered
Creating a new data table from existing table based on condition.
See the examples on this documentation page, particularly the "Select Rows with Logical Indexing" section. Note that this is th...

7 days ago | 0

Answered
Analyzing data using &&
Your variables thresh_neg and thresh_pos are the min or max respectively of a vector of data and so are scalars. This means the ...

7 days ago | 0

Answered
for en engineering class i need to create a function that will send an email when under specific conditions, this is what ive written so far but it keep getting the error 'to many outputs'
The documentation for the sendmail function does not list any syntax that has an output argument. Eliminate the output arguments...

8 days ago | 0

Answered
Transpose a vector under certain conditions
If this were not a homework assignment, you'd probably want to use the isrow, iscolumn, and/or isvector functions. Since I'm gu...

8 days ago | 0

| accepted

Answered
Can not use the publish pdf function!
The names of functions or function files in MATLAB cannot contain spaces or periods. Rename your file to remove the spaces and p...

8 days ago | 0

| accepted

Answered
My Matlab R2019b runs extremely slow on my Macbook MacOS 10.14.16
Are you using the Magnet app or something similar? If so try turning Magnet off.

8 days ago | 0

Load more