Community Profile

photo

Steven Lord


Last seen: Today

MathWorks

3.758 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
computing matrix without using for loop
Compute the matrix k*l using implicit expansion with element-wise multiplication. The other operations (cos, sin, scalar multipl...

circa 21 ore ago | 0

| accepted

Answered
How do I add a column vector or matrix to a 6X6 original matrix?
C_m = [c11 c12 c12 0 0 0 c12 c11 c12 0 0 0 c12 c12 c11 0 0 0 ...

circa 22 ore ago | 0

Answered
error graph with EdgeTable
You are correct that the edges stored in the Edges table of the structure variable have been reordered, and so the values in typ...

1 giorno ago | 0

| accepted

Answered
Problems with averages and storing values
Preallocate your Y vector. Keep track of the next element of Y to be filled and fill in that element each iteration through the ...

1 giorno ago | 0

| accepted

Answered
what does . and .. refer to
For the operating systems on which MATLAB is supported, . refers to the current directory and .. the parent directory, as stated...

2 giorni ago | 0

Answered
Drawing Polygon shapes with data
You could build a polyshape array with one element for each region that you want to draw. Once you've built your polyshape array...

3 giorni ago | 0

Answered
How can I implement an associative array?
Use a containers.Map object?

5 giorni ago | 0

Answered
I need help finding a license type that fits our needs.
Guillaume is correct. Please contact the Sales department using the telephone icon in the upper-right corner of the page. Descri...

5 giorni ago | 0

Answered
determine name of m file that is running when running it from a command line on a linux cluster
That answer mfilename returns is correct. You're not running a MATLAB program file. You're piping the contents of a MATLAB progr...

5 giorni ago | 0

Answered
Undefined operator '>' for input arguments of type 'struct'.
A struct array can be thought of like a filing cabinet. As an example, one of the drawers (fields) could be titled "taxDocuments...

5 giorni ago | 1

| accepted

Answered
Internship related procedure for ug
You are a member of the group "New Graduates & Students", correct? "Internships" is one of the items under that category on the ...

5 giorni ago | 0

Answered
replacing values with nan does not work while other approaches work (nifti files)
My suspicion is that PB is an array of one of the eight integer types. One of the things that page states about the integer type...

5 giorni ago | 0

Answered
How could i call java function from matlab?
See the Topics on this page from the documentation.

6 giorni ago | 0

Answered
How to manipulate array?
For the specific example of the size function, if you want to know the number of columns in the input array, tell size that you ...

6 giorni ago | 0

Answered
Mysterious "Operands to the || and && operators must be convertible to logical scalar values." error
Can you check to confirm that you haven't written your own functions named isempty, strmatch, or not that are shadowing the func...

7 giorni ago | 0

Answered
Single-precision unit-spaced vector without conversion from double
Don't create the vector as a double array then convert the vector to single. Convert the scalar values from double to single th...

7 giorni ago | 1

| accepted

Answered
Replace -99 with NaN
Consider using the standardizeMissing function. The first example on that documentation page does exactly what you described.

8 giorni ago | 0

Answered
Assigning values to the array of Enumeration Class seems to be very slow
Why are you initializing all the elements in gps_state to GpsState.Lost in one call them immediately overwriting them with GpsSt...

8 giorni ago | 0

Answered
Why I got the error "Undefined operator '.*' for input arguments of type 'function_handle"?
You can't multiply a function handle, which is what s returns. If you intend s to evaluate the function handle RCac, just make i...

9 giorni ago | 0

| accepted

Answered
eliminating NaN values from an array
In newer releases you can use rmmissing to remove missing data (NaN for double and single precision data, <undefined> for catego...

9 giorni ago | 0

Answered
Proper Treatment of Symbolically Linked Script in Editor
Why not just add the directory containing the original preprocessing script file to the MATLAB search path? That will make it ca...

11 giorni ago | 0

Answered
Getting the linear portion of a non-linear curve
The ischange function may be of use to you. Depending on what you're planning to do with this data the detrend function may also...

11 giorni ago | 2

| accepted

Answered
Save Open State in Editor???
In the Preferences for MATLAB, there's a section titled Editor/Debugger. One of the options that you can select (and I believe i...

11 giorni ago | 0

Answered
HEEELP : Index in position 2 is invalid. Array indices must be positive integers or logical values. !!!! why???
center=(length(y))/2; for i=1:length(lambda) opticaxis(i,:)=E_z(:,center,i)'/(max(E_z(:,center,i))); end If ...

11 giorni ago | 1

Answered
How can I initialize nested handle class with independent values
The section titled "Initializing Properties to Handle Objects" on this documentation page states what happens when you initializ...

11 giorni ago | 1

Answered
How do I Ctrl-R on Mac?
FYI to search for or customize the keyboard shortcuts, see the Keyboard preferences as described on this documentation page. Sea...

12 giorni ago | 0

Answered
Matlab licensing administration questions
I recommend that you contact Technical Support directly with these questions, as they should be able to offer guidance specific ...

12 giorni ago | 0

Answered
Why does categories(TableA.Var2) have more elements than the rows in TableA?
Your CarLineFaultCodes table only contains a subset of the rows of FaultCodesTable, and your ModuleFC table only contains a subs...

12 giorni ago | 1

| accepted

Answered
Multiplication of two fields in a structure array
You made a typo on this line. Struct(i).dy_dc=(Struct(i).L1).*(sin(Struct.(i).phi1)); There shouldn't be a period between Stru...

13 giorni ago | 1

| accepted

Answered
definite integral not giving exact answer
Compute your limits of integration symbolically to avoid roundoff error. f = sym(4)/5; a = acos(f); inner_int = int(r*sin(phi...

13 giorni ago | 1

| accepted

Load more