Community Profile

photo

Steven Lord


Last seen: Today

MathWorks

5,644 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

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

View details...

Contributions in
View by

Answered
Event function not halting integration
Rather than making your event function return either true or false (or 1 or 0) that indicates whether the event function thinks ...

2 hours ago | 0

| accepted

Answered
Matlab logical matrix to C char type
I can understand how you generate the 0x00 and 0xFF values from your logical data, but how do you generate the other values from...

2 hours ago | 0

Answered
Why does the pca function in MatLab and on mathworks indicate different outputs?
You have a different pca.m that is taking precedence over the pca function included in Statistics and Machine Learning Toolbox. ...

3 hours ago | 0

Answered
How can I add the percentage result on plotted figure ?
FYI if you want the only marker to be at the highest point you could use MarkerIndices rather than plotting two separate lines. ...

4 hours ago | 0

Answered
Byte Array / Bit Conversions in a Cell
If all your numeric data is the same type, I recommend storing it in a numeric array rather than as a cell array. Let's make som...

8 hours ago | 0

| accepted

Answered
Import Keras Tensorflow model in to Matlab
See the importKerasNetwork function in Deep Learning Toolbox. As that documentation page indicates, you will also need a support...

10 hours ago | 0

Answered
function - input and output matrix
My suspicion was correct. When you call load with an output argument, that output argument is a struct array with each variable ...

18 hours ago | 1

Answered
Using a program designed function
You don't want to pass the names of the variables into your function, you want to pass the variables themselves. As a simplified...

1 day ago | 0

Answered
Creating index and replacing values
A = [0 0 1 0 1 0 0]; B = [ "030121", "030221", "030321"]; I'm going to assume that A does not start with 1, or if it does that...

1 day ago | 0

| accepted

Answered
Why my normpdf in not working??
Let's evaluate the PDF using the formula in the documentation for normpdf at that large x value. I'll choose the smallest value ...

1 day ago | 1

Answered
how to assign numbers to each row of a matrix? knowing that my matrix is 70x4 so that each row has an index from 1 to 70. Thank's
You already have, by storing your data in a matrix. A = magic(5) % Data associated with the number 3 A(3, :) If you have dif...

1 day ago | 0

| accepted

Answered
How to get quotient value after division without round off?
If one or both of the numbers are stored as an integer type you could use the idivide function. idivide(int16(157),2)

3 days ago | 0

Answered
Locating Antenna toolbox documentation
As stated on this documentation page: "MathWorks® reserves the use of packages named internal for utility functions used by int...

3 days ago | 0

Answered
improper integral: exp(ikx) undefined in Matlab?
What is the value of your integral when k is equal to 0? syms x k; assume(k,'integer'); k = 0; int(exp(1i*k*x),x,-inf,inf) ...

3 days ago | 0

| accepted

Answered
How to solve "Parse error at METHODS: usage might be invalid MATLAB syntax."?
anonymousFunctiononHandle=... @x cost_function_augumented_equality_only(x,alpha) ; This isn't valid MATLAB syntax....

4 days ago | 0

Answered
I've been facing this issue the issue is with axes
function UPLOADIM_Callback(hObject, eventdata, handles) % hObject handle to UPLOADIM (see GCBO) % eventdata reserved - to ...

4 days ago | 0

| accepted

Answered
I am using Matlab.mathworks.com and my command area does not print anything
Are you still seeing this behavior or did you only see it in the past? I see a notice on the application status page indicating ...

4 days ago | 0

Answered
Mean error for binned values
Rather than calling splitapply multiple times, I'd call groupsummary once and have it operate on multiple data variables at once...

4 days ago | 0

Answered
defining a function output properly
So you want to call a function that can return different numbers of outputs and you want to get a number of outputs that is only...

5 days ago | 1

| accepted

Answered
Minimum Spanning Tree - Path or Start-End
If the plot function can do this almost instantly The plot function plays "connect the dots". The start and end of the line to...

5 days ago | 0

Answered
Contour is plotting my data in reflected order?
Are you trying perhaps to put the contour plot on top of another graphics object, an image perhaps or maybe a pcolor? If so, see...

5 days ago | 0

Answered
Switch results at certain condition
switch is not the right tool for this job. Use if instead. switch is intended when you intend to distinguish between a fixed di...

6 days ago | 0

Answered
Find does not work properly
Please provide a small sample of the Horizon variable from where you expected the find call to return data but it does not. My s...

6 days ago | 0

| accepted

Answered
How does division "/" = work for integer types?
See the "Creating Integer Data" and "Arithmetic Operations on Integer Classes" sections on this documentation page.

7 days ago | 2

Answered
Why is logical array fasle?
Floating point arithmetic. While k1 and g are displayed the same they do not contain the same value down to the last bit.

7 days ago | 0

Answered
Computer crashed when calculating matrix (mixed with sparse and full) multiplication and summation
What release of MATLAB are you using? What operating system? I'm suspect you're going to say Linux. If I'm right, the OOM Kille...

7 days ago | 0

Answered
curve fitting tool plot is different from my plot
Show us the code you used to create your plot. Did you use the full double precision values of the coefficients stored in the f...

7 days ago | 1

Answered
Curve fitting tool error with custom equation
Does your data contain a point with x = 0? If so the term c*(1/x) is going to give you Inf or NaN (depending on whether or not c...

7 days ago | 1

| accepted

Answered
What does vdp stand for? (Mathworks Example Simulation Model)
The vdp model is a simulation of the Van der Pol oscillator differential equation. It's a fairly simple model to create which is...

7 days ago | 0

| accepted

Answered
change of time in ode45
If the right hand side of your system of differential equations involves the solution at a previous time you don't have a system...

8 days ago | 0

Load more