Community Profile

photo

Steven Lord


Last seen: Today

MathWorks

5,640 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
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...

2 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...

3 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 ...

11 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...

19 hours 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...

20 hours 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 ...

22 hours 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

Answered
Is there a way to access array elements returned by a function directly
What you've written is not valid MATLAB syntax. You could do something close to what you want using a helper function. valueAt ...

8 days ago | 0

Answered
Operations by matrix disease: 1.000.. - 1 is not equal to zero
Welcome to the world of floating-point arithmetic. Please try this little experiment. Find something to write with and somethin...

8 days ago | 0

Answered
How can I not count some rows within X,Y columns that contain X>=3 to alter the bin counts of Y for a histogram?
If I understand your goal correctly I think you want to call histogram with the 'BinLimits' name-value pair.

8 days ago | 0

Answered
How to solve A*x=0 in Matlab?
Use the null function, but remember the zero vector will also be a solution.

9 days ago | 0

Load more