Community Profile

photo

Steven Lord


Last seen: Today

MathWorks

4,652 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
Frustrating matlab is.
Others have given you the answer. This problem involves just basic indexing in MATLAB, so I'm guessing you're relatively new to ...

6 hours ago | 0

Answered
Compare two text files from MATLAB Command Window using FC Windows 10 file comparison command
Use the system function instead of the ! (bang) operator.

16 hours ago | 2

| accepted

Answered
Extracting specific rows with different content from a large table array
Consider storing your data in a timetable, converting your MatDate variable into a datetime array and using table2timetable (or ...

17 hours ago | 1

Answered
Matrix cos. Did I write the expression and correctly?
You can check your answer using the funm function in MATLAB.

17 hours ago | 0

Answered
I did Exercise 3.1 by commenting the code. However while doing Exercise 3.2 onwards part (a) I am getting some errors. I had pasted my code below the pictures.
Your assignment instructs you to write a MATLAB function image_sample but you have written a MATLAB script image_sample. See thi...

18 hours ago | 0

Answered
How do I fix this ?
In addition to the output argument renaming others have suggested, as written you need to assign something to the output argumen...

21 hours ago | 0

Answered
How to install DSP system Toolbox in an Offline Machine?
See this Answers post.

21 hours ago | 0

Answered
Why is matlab busy?
i = 1+1; Did you mean to add 1 to i rather than adding 1 to 1? The length of r is greater than 2, so the condition of your ...

1 day ago | 0

Answered
About function in methods of a class
If getRandomMusic is a non-Static method of a class (which I'll call iPod just to have some way to refer to the class) then at l...

1 day ago | 0

| accepted

Answered
Citing MathWorks Documenation (ASCE format)
This Answers post offers some suggestions.

1 day ago | 0

Answered
simple problem with double integral, why give me an error?
The function you pass into simulannealbnd must return a double array not a sym array. Convert the value of the integral into dou...

1 day ago | 0

Answered
SOS: How do I get the same amount of positive and negative values in a random vector?
% Generate sample data x = randn(1, 50); y = randn(1, 50); % Determine where positive and negative values occur in each xp...

2 days ago | 0

| accepted

Answered
How to...live script
When you're checking with your calculator, are you taking the sine of x in degrees (for which the corresponding function in MATL...

3 days ago | 0

Answered
How to Display a message in a separate window
If you're using App Designer use uialert. If you're not using App Designer use msgbox.

3 days ago | 0

| accepted

Answered
Undefined function 'mtimes' for input arguments of type 'function_handle'.
You can't multiply a function handle and a number or two function handles. You can multiply the result you get from evaluating ...

3 days ago | 0

| accepted

Answered
Solve (a*B) + (c*D) = E without the Symbolic Toolbox
This is a generalization of Cleve's simplest impossible problem. Cleve's has B = 1/2, D = 1/2, E = 3.

3 days ago | 0

Answered
Add Edges to Network Graph Without Changing the Layout
plot the first graph. Turn hold on. plot the second graph, specifying the XData, YData, and (if plotting the graph in 3D) ZDat...

3 days ago | 1

| accepted

Answered
assign categorical value for weekday variables
Since you have a timetable you can use the isweekend function to get true and false values (which you could convert to categoric...

4 days ago | 0

| accepted

Answered
It shows "Your MATLAB license will expire in 5 days. Please contact your system administrator or MathWorks to renew this license."What to do
As the message suggests, I would contact your system administrator. If you're using your educational institution's license or yo...

4 days ago | 0

Answered
Redistribution of histogram type data in specified bins
>> x = randi(12, 1, 1000); >> h = histogram(x, 0:4:12); % Look at the histogram before running the next line of code >> h.B...

4 days ago | 0

Answered
How to make a list of appearance
histcounts and histogram can handle categorical arrays. names = ["cat" "dog" "cat" "cat" "dog"]; animals = categorical(names);...

4 days ago | 0

Answered
Something is wrong with my Matlab
A = [x x x; x y y; y -2z] b = [60 30 3]' I suspect this is supposed to represent the equations 3*x = 60, x+2*y = 30, y-2*z = 3...

5 days ago | 3

| accepted

Answered
Convert/copy array to different type of array (single to uint16 for example) bit by bit
Are you trying to typecast one of the variables into the other?

5 days ago | 0

| accepted

Answered
Variable from function to change value
What's the purpose of your function? Is it simply to score the set of dice (meaning that it's some other function, perhaps its c...

5 days ago | 0

Answered
Help calling my basic function
That is the correct and documented behavior. See the first Note on this documentation page. You could do this by either creatin...

5 days ago | 1

Answered
Python 3.8 interoperability
The Release Notes for release R2020b indicate that cPython 3.8 is now supported.

5 days ago | 1

Answered
Row unity in matrix
>> P = rand(9); >> NP = normalize(P, 2, 'norm', 1); >> sum(NP, 2) ans = 1 ...

5 days ago | 0

Answered
Index daily values in TT over many years to determine mean
Use groupsummary with the GROUPBINS input specified as "dayofyear".

5 days ago | 1

Answered
Can someone provide me the theory and math behind this function of eigen?
You might find the "Eigenvalues and Singular Values" chapter in Cleve Moler's Numerical Computing with MATLAB, available here, u...

6 days ago | 0

Answered
Can't figure out the error in my pcolor line, keep getting color data input must be a matrix error
Please run this command immediately before the line where you call pcolor and show us the output from just before the pcolor cal...

6 days ago | 0

| accepted

Load more