# Steven Lord

### MathWorks

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.

**Statistics**

RANK**14**

of 258.335

REPUTATION**13.724**

CONTRIBUTIONS

**0** Questions

**6.414** Answers

ANSWER ACCEPTANCE **
0.00%
**

VOTES RECEIVED**2.313**

RANK**492** of 17.802

REPUTATION**3.236**

AVERAGE RATING**3.40**

CONTRIBUTIONS**5** Files

DOWNLOADS **53**

ALL TIME DOWNLOADS**31632**

CONTRIBUTIONS**0 Posts**

CONTRIBUTIONS**0** Public Channels

AVERAGE RATING

CONTRIBUTIONS**0** Highlights

AVERAGE NO. OF LIKES

**Content Feed**

ifelse and switch don't match

Based on your prose description, it sounds like your underlying task is to populate the matrix Re21 based on the contents of the...

1 día ago | 0

| accepted

Converting cell of numbers to double

If the cells in that cell array in the upper-right cell of your outer cell array can be concatenated to form a matrix you could ...

1 día ago | 0

| accepted

Is exp() a Documented Function in the Symbolic Math Toolbox?

There is no separate documentation page for the exp method for sym objects, this is true. Not all methods of classes have docume...

2 días ago | 1

Is SeriesNetwork a class defined in the Deeplearning Toolbox?

Is it so Yes, SeriesNetwork is part of Deep Learning Toolbox. You can see this from "breadcrumbs" in the left frame on its docu...

2 días ago | 0

| accepted

How to create a matrix with special block diagonal structure

n = 8; c = cell(1, n); for k = 1:n c{k} = tril(ones(k)); end B = blkdiag(c{:}); spy(B)

4 días ago | 1

variable number of if condition

Use discretize to determine into which bin each of your data sets belongs. Then you could use groupsummary, grouptransform, a si...

4 días ago | 0

| accepted

Change the value of a variable generated by app designer

Rather than creating 30 variables or 30 properties in the app, I would create a vector that can contain 30 edit box handles and ...

4 días ago | 1

What is the recommended way to pass long list of parameters between main workspace and function?

If all your variables are related and so should remain together, I would pack them into a struct array. s = struct('a1',1,'a2',...

5 días ago | 2

How to disable Matlab 2022a breaking rows in command window?

This is a bug in release R2022a when MATLAB is started with the -nodesktop startup option. I've alerted the appropriate developm...

5 días ago | 1

Toolboxes installation in MATLAB beta for Native Apple Silicon

As stated on the page to which you linked: "The open beta includes MATLAB only. Simulink and toolboxes are not available."

6 días ago | 0

| accepted

Operator '*' is not supported for operands of type 'function_handle'.

b=0.4;c=11;d=6;e=130;f=10;m=1; % ... f = @(t,x) [a*x(2)+(0.2+0.2.*abs(x(4))).*x(3);b*((x(4).^2)-13).*x(3)-c*x(2);-d*x(1)-e*x(2...

9 días ago | 0

Automatic numbering and cross-referencing of sections in Live Script

Cross references: the Hyperlink entry in the first table on this documentation page indicates you can link to another location i...

9 días ago | 0

| accepted

How to delete a Matrix in a 3D Matrix?

Let's make a sample 3-D array with some NaN values. A = randi(10, 3, 3, 4); A(randperm(numel(A), 3)) = NaN % Make 3 random val...

10 días ago | 0

picking a random number in a range

Do you want a random integer value or just any old number between 1 and 69? The next time you draw a random number, are you goi...

10 días ago | 0

Can anyone help me with this in matlab

if you could help me with the link between the days and the temperature per example Okay, so you need help assembling the vecto...

11 días ago | 0

| accepted

Why does lu function yield different lower triangle matrix if I return [L,U] rather than [L, U, P]?

From the documentation page for the lu function: "[L,U] = lu(A) returns an upper triangular matrix U and a matrix L, such that ...

11 días ago | 0

Readtable is not reading my delimiter and datetime columns correctly

You might want to use the interactive Import Tool to read in your data. This will let you select how the data is delimited / sep...

11 días ago | 0

Performing calculations for specific values in a table defined by certain values from another column (Date)

Since you have time-based data I'd store it in a timetable array instead of a table array. If you do, you can use retime to aggr...

11 días ago | 1

How can i display a vector on Matlab that does the follwing

I suspect this may be part of a homework assignment so I'm not going to give you the answer. But I believe the section on "Vecto...

11 días ago | 0

readtable() custom variable names

If you're using release R2020a or later I would use the renamevars function.

11 días ago | 0

Function inside the function

r=@(s,z) sqrt((s+s0).^2+(z+z0).^2); I'm assuming you've defined s0 and z0 before you run this line to define r. Ds=@(r,s)(c0x+...

11 días ago | 1

Extend a cell array of dates (from days only, to hours and days) in a compact way

I'd probably take advantage of implicit expansion for datetime and duration arrays, introduced for those types in release R2020b...

11 días ago | 0

Is there an official page that gives the MATLAB and associated/compatible Simulink version numbers ?

Since you're asking about compatibility, version numbers are not the right tool to use. The supported workflow is to use the ver...

11 días ago | 0

Can I define a specific method to run upon loading obj from mat file?

From the documentation section talking about how to customize object saving and loading, overload the loadobj method.

12 días ago | 0

How to calculate inverse of 3d array matrices with size 3*3*18 ?

If you're using release R2022a or later you could use the pageinv function. But if you're planning to invert these matrices in o...

12 días ago | 1

Dear Sir,There are only limited options or tools in trial version of librarires of R2022a trial version

I suspect that most if not all of the blocks you're trying to use are part of Simscape Electrical. Check the output of the ver f...

12 días ago | 0

How to save figures using mkdir if paths are variables?

Functions in MATLAB that accept text data can be called in one of two ways: command form or function form. Let me show you each ...

12 días ago | 1

| accepted

Using stem plot for two plots

This looks like a reasonable plot to me. T=4e-3; n=21; x=linspace(0,T/2,2001); x1=linspace(T/2,T,2001); y=sin(pi*x/T); y1=(...

12 días ago | 0