Community Profile # Steven Lord

### MathWorks

Last seen: Today Active 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

#### Statistics

All
• • • • • • • • • • • • #### Content Feed

View by

Convert Python time to Matlab datum
Don't convert to a datenum. Depending on how the Python timestamp represents the date and time, I suspect some of the values for...

etwa 9 Stunden ago | 0

PSAT does not work
I suspect that toolbox has a settings.m file that is in conflict with the settings function included in MATLAB. You can check th...

ein Tag ago | 0

| accepted

Can someone explain to me line by line whats happening in this code? Im REALLY in need of help.
If you mean what each of the commands does, you'd probably get faster answers if you looked at the documentation for the functio...

2 Tage ago | 0

Maximizing along n-1 dimensions of an n-dimensional array without a for loop
VV=randi(1000, 5, 5, 5); [values, locations] = max(VV, [], 1:ndims(VV)-1, 'linear'); check = [reshape(values, [], 1), reshape(...

3 Tage ago | 1

How to show that calculation is going in MATLAB App
You could use a uiprogressdlg dialog.

3 Tage ago | 1

I cannot find function hRISelect for Matlab's 5G Toolbox example.
Try opening the example in MATLAB. When you do MATLAB will change directory to the one containing the example. Look in that dire...

4 Tage ago | 0

Multiplying a 2d matrix with each slice of 3d matrix
In release R2020b we introduced the pagemtimes function for this purpose.

4 Tage ago | 2

problem in unresolvedSymbols.txt: how to solve the undeployable problems?
Creation of symbolic variables using sym or syms is not supported with MATLAB Compiler. You may be able to perform your symbolic...

6 Tage ago | 0

Looking for the example dataset used in the tachorpm demonstration (to do a live demo for a class).
Check the output of the ver function. Do you have Signal Processing Toolbox installed? I suspect you do not.

7 Tage ago | 0

| accepted

Can I get the mathematical expression of an interpolation?
Are you looking for a mathematical expression for the fitted model or do you just want to be able to evaluate the fitted model a...

7 Tage ago | 0

| accepted

Splitting matrix and create new matrix
Can you create variables named B1, B2, ...? Yes. Should you do this? The general consensus is no. See that Answers post for an ...

7 Tage ago | 0

MATLAB online doesn't work
There was an outage between 2:01 AM and 6:50 AM EST according to the Application Status page. Were you trying to use MATLAB Onra...

7 Tage ago | 0

Unrecognize position() function
Looking at the documentation page it appears you're trying to use the "Define UAV Platform and Mount Sensor" section of the exam...

7 Tage ago | 1

An error occurred while establishing the MATLAB course session
There was an outage between 2:01 AM and 6:50 AM EST according to the Application Status page. Were you trying to use MATLAB Onra...

7 Tage ago | 0

How to create vectors out of (histogram) bins and take averages?
You can use groupsummary. x = rand(10, 1); y = rand(10, 1); data = table(x, y) % For display edges = 0:0.25:1; % Take the m...

7 Tage ago | 0

The notes at the end of the documentation page for addVoid and the documentation page for addCell states that each of those func...

7 Tage ago | 0

| accepted

No MATLAB resources available
There was an outage between 2:01 AM and 6:50 AM EST according to the Application Status page. Were you trying to use MATLAB Onra...

7 Tage ago | 1

convert cell of 'True' and 'False' values to a numeric array of 1s and 0s
s = {'true', 'false'}; C = s(randi(numel(s), 5, 5)) L = matches(C, 'true') This same works if you wanted to use a string arra...

8 Tage ago | 0

Solved

The Piggy Bank Problem
Given a cylindrical piggy bank with radius g and height y, return the bank's volume. [ g is first input argument.] Bonus though...

8 Tage ago

How to average strings and numbers in the same table
Something like this? filename = {'A1B10'; 'A1B10'; 'A3B10'; 'A3B10'; 'A3B5'}; X = [60; 45; 70; 40; 38]; Y = [25; 21; 24; 23; ...

8 Tage ago | 1

| accepted

Find graph node names beginning with a few characters
Using a modified version of one of the documentation examples and splitting the code into multiple lines for ease of explanation...

8 Tage ago | 1

| accepted

How to install toolbox offline?
Follow the steps on this documentation page.

8 Tage ago | 0

Help in producing a Matlab code that simulates Sine and cosine from rotating vector in a circle
It probably wouldn't be too hard to do something like that using the techniques described in this section of the documentation.

8 Tage ago | 0

| accepted

Using F1 for help, gives help for wrong function
Does the variable p exist in the workspace when you ask for help? It's not sufficient that the code to create that variable as a...

8 Tage ago | 0

HOW DO I USE AVERAGEIF(excel) IN MATLAB?
Take a look at the |groupsummary| function.

8 Tage ago | 0

How to run(scriptname) with string argument?
The run function is intended to run script files, not function files. Scripts do not accept input arguments. If you want to run...

9 Tage ago | 0

a simple vector to a matrix
X=[1 2 3]; I = eye(3); kron(X, I) kron(I, X)

9 Tage ago | 2

I want to make a function of x that uses loop for (x-x(i))
If the display isn't important: x = [1 2 4]; f1 = @(value) sum(cumprod(value-x)) f2 =@(x) (x-1) + (x-1)*(x-2) + (x-1)*(x-2)*(...

9 Tage ago | 0