Community Profile

photo

Steven Lord


MathWorks

3,453 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 バッジ

  • 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

詳細を表示...

貢献した分野
表示方法

回答済み
How can i create a new matrix that equationally depends on another matrix?
I would use discretize. % Generate some sample data for this example v = randi([0, 100], 50, 1); % Discretize into bins (th...

約3時間 前 | 0

回答済み
How to perform norm on each row of a matrix?
John's explanation is one way. Another is to use the vecnorm function. u = [-1 1 0; -1 1 0] v = [0 1 1; 0 1 -1] N = vecnorm...

約9時間 前 | 1

回答済み
Adding Hexadecimal numbers?
If you're using release R2019b or later, you can enter hexadecimal numbers directly. >> 0x3afb + 0x2839 ans = uint16 25...

約12時間 前 | 1

回答済み
Generating vector and made it variable
Do you want exactly the same number of +1 and -1 values or do you just want each element to have an equal probability of being +...

約12時間 前 | 0

回答済み
list of all not recommended keywords
Open the Preferences using the icon in the Environment section of the Home tab on the Toolstrip. Under MATLAB, navigate to the C...

約12時間 前 | 0

回答済み
Warning: Variable 'bending_model' originally saved as a cfit cannot be instantiated as an object and will be read in as a uint32.
The installation on the machine where you receive that warning message does not have Curve Fitting Toolbox installed (or perhaps...

1日 前 | 0

回答済み
I don't know why ODE45 function does not count time. Runs forever.
In addition to what Stephan wrote, the fact that you have numbers in your variable names is also a bit of a code smell and is cl...

1日 前 | 2

回答済み
Can the "Value" display of variables be customized?
You are missing something. The methods that your class inherits when you subclass from matlab.mixin.CustomDisplay are used when ...

1日 前 | 0

回答済み
Run Matlab file on each Node of Hadoop Cluster
This documentation page describes how to configure a Hadoop cluster so that client MATLAB sessions can submit to it. The first s...

1日 前 | 0

| 採用済み

回答済み
How to get source code and object code in MATLAB. Have tried a lot unable to generate the object and source code...
I have been asked to submit object and source code for a program (software developed) written in MATLAB. If this is for a homew...

1日 前 | 0

回答済み
Add line curves to histogram in image that has two y axes
Here's an example of creating a pair of axes, one with a histogram and one with a line. % Sample data x = randn(1, 1e5); % ...

1日 前 | 0

| 採用済み

回答済み
Opening a simulink file that has an extension .MDL
Can you open it if you change the extension from .MDL (all caps) to .mdl (all lower-case)?

2日 前 | 0

回答済み
Find and count how many capital characters are in str, and then change them to lower cases USING LOOPS
The isstrprop function can help you identify which characters are upper-case, which are lower-case, and which are neither. After...

2日 前 | 0

回答済み
Algorithm for R square
For the second one, see the "More About" section on the documentation page for the corrcoef function.

2日 前 | 1

| 採用済み

回答済み
How to draw a nicer graph
Use the xlim function to change the limits of your X axis. Also FYI you don't need to call plot twice. You can specify both a c...

2日 前 | 1

| 採用済み

回答済み
How to make empty array of specific size?
Replace ClassName with the name of the class for which you want to create the empty array. But in order to use the empty method...

3日 前 | 0

回答済み
ODE45 change y at event
You can use the ballode example as a model. That has an events function that stops the solver each time the bouncing ball touche...

3日 前 | 0

回答済み
Explain this please?
c = 5 + (x < 2 || (e < pi)); Let's look at each section of the code inside the outer parentheses in turn. x < 2 Since x is eq...

4日 前 | 0

| 採用済み

回答済み
Numerical Solution of 3rd order nonlinear differential equation
See this documentation page and this other documentation page for the techniques you'll need to use to solve this assignment. If...

5日 前 | 0

回答済み
a='C:\code'. cd 'C:\code' works fine but cd a gives error: Name is nonexistent or not a directory
The following two cd calls do the same thing, changing directory to a directory named a. cd a cd('a') The following two cd ca...

6日 前 | 1

| 採用済み

回答済み
Inverse of 5x5 matrix
The answer, written out as text, is about 731,000 characters long. >> length(char(Answer)) ans = 731073 A quick Google...

6日 前 | 0

回答済み
This error was detected while a MEX-file was running. If the MEX-file is not an official MathWorks function, please examine its source code for errors. Please consult the External Interfaces Guide for information on debugging MEX-files.
As the message shown at the end of the crash log file indicates, if you were running a MEX-file that you wrote, downloaded, or w...

7日 前 | 0

回答済み
Is it possible to pre-define user input values and skip input dialogs in a script?
Is there an easier method to do this? Or rather, is it even possible? Or am I better off just creating a custom version of each ...

7日 前 | 0

回答済み
GUI handles issue and behavior in 2019a but not in 2013b
How does that button launch the GUI that's not showing up correctly? Does it call the GUI's function file or does it simply use ...

7日 前 | 0

回答済み
Changing the color of one particular node into different colors
What is the full and exact text of the error message you receive when you run that code? Include all the text displayed in red, ...

7日 前 | 0

| 採用済み

回答済み
Triple integral (NO with @func)
integral3 doesn't care whether or not you can write your integrand in a particular way. All it cares about is that it can call t...

7日 前 | 0

回答済み
XMIN must be a floating point scalar. Kindly help me in clearing the error.
Bz=@(y,x) <lengthy expression that doesn't depend on x OR y snipped> yl=@(x) sqrt(aj^2-x^2) M=integral2(Bz(x,y),-yl(x), yl(x),...

8日 前 | 0

回答済み
fopen() in R2008 does not use variables?
The FName output in your uigetfile call is a cell array. When you use parentheses to index into a cell array the result is also ...

8日 前 | 0

| 採用済み

回答済み
Why can't I solve this, it's simple. (Incorrect dimensions.... use .^) (I did then it says Invalid Operator.......)
The operator .^ (period followed by a caret) performs elementwise matrix power. There is no operator ^. (caret followed by a pe...

8日 前 | 0

回答済み
maximum amount of data that matlab works with
The table to which Stephen Cobeldick linked is from 2013, so some of the rows on it are no longer applicable. In fact the only o...

8日 前 | 1

| 採用済み

Load more