Community Profile

photo

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

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

All
  • Treasure Hunt Participant
  • Scavenger Finisher
  • Thankful Level 4
  • Master
  • Solver
  • Personal Best Downloads Level 2
  • Editor's Pick
  • 36 Month Streak
  • 5-Star Galaxy Level 4
  • First Submission
  • Revival Level 3
  • Knowledgeable Level 4

View badges

Content Feed

Answered
How to find the index of the minimum value in a matrix.
Since you're using release R2021b (according to the information listed on the right side of this page) you can use 'all' as the ...

environ 19 heures ago | 0

Answered
isequal command suddently stops working
So how different are the two datetime arrays you expected to be equal? Do they just look equal? T = datetime('today') N = date...

1 jour ago | 1

Answered
How to call a function with multi variable in real coded GA in function handle and how to define upper and lower bound of that variable in matlab?
If you've defined Torque to accept 3 inputs as per the code at the end of this answer, you can still use that function in your g...

1 jour ago | 0

Answered
calculate the minimum probability
Assuming they are the same class and size, you can concatenate them and call min with a dimension input. A = randi([-5, 5], 4) ...

1 jour ago | 0

Answered
Write sections of a long string as new lines in a text document
sub = 'XYZYXYZYZYZXYZYXYZ0XYXYXYX'; sub2 = replace(sub, '0', newline)

2 jours ago | 1

Answered
bitget function working explanation needed
Here's an unsigned 8-bit integer. x = 0b10011010u8 % x is 10011010 The lowest order bit of x is 0. This makes sense since x is...

5 jours ago | 0

| accepted

Answered
How can I create this script??
If you're trying to create examples like the ones in this part of the documentation take a look at the tools described on this d...

6 jours ago | 0

| accepted

Answered
How to turn a function handle with 3 inputs (1 variable and 2 parameters) and then assign the inputs parameters and get a function handle with one input? ?
Let's look at the actual time difference between the two approaches. y=1; z=1; f=@(x,y,z)x+y+z; g=@(x)f(x,y,z); h = @(x) x+...

6 jours ago | 0

Answered
how can I plot in symbolic math with defined x axis limit and Y axis limit with marker at specific points
syms x T=[1 x x^2 x^3]; l=1; N=[1 0 0 0;0 1 0 0;-3/l^2 -2/l 3/l^2 -1/l;2/l^3 1/l^2 -2/l^3 1/l^2]; g=[1 2 3 4]'; f=T*N*g; ...

6 jours ago | 0

| accepted

Answered
How to generate random coordinates and store the values?
The easiest solution is not to use a for loop at all. p = randi([-10 10], 5, 2) If you must use a for loop, preallocate p to b...

7 jours ago | 0

| accepted

Answered
Standard keyboard shortcut editor
You can customize the keyboard shortcuts via the Preferences window. You can change individual actions or you can change between...

7 jours ago | 1

Answered
Can't create a folder outside of the current directory
Use fullfile instead of manually concatenating the path and file name then use the function form of mkdir rather than the comman...

8 jours ago | 0

| accepted

Answered
matlab home license activation
See this Answers post.

9 jours ago | 1

| accepted

Answered
Standolane application is not working like in app designer
That picture suggests there is an issue but it doesn't say anything about what that issue is. Can you review the log file linked...

10 jours ago | 0

| accepted

Answered
hi i want to ask,why matlab cannot process the condition for the while loop ? Thank you!
Since you're using the short-circuiting or operator you should check the size of the inputs first. Rather than asking if they're...

10 jours ago | 0

Answered
Why is opening a file in compiled mode different than direct Matlab mode?
If you're trying to have your compiled application run code that was not present and included in the application at the time the...

14 jours ago | 0

Answered
How to compare two non-integer value together?
Is what you're trying to do as simple as just multiplication and relational operators? x1=85.36; x2=73.52; x2 >= 0.8*x1

14 jours ago | 0

Answered
does two polygons interest or not?
You may be able to use the approach from this blog post that determines if two states (represented as polyshape objects) share a...

14 jours ago | 1

| accepted

Answered
why I cant use laplace?
which -all laplace The laplace function is only defined for symbolic inputs. Your ut is not symbolic, it is a numeric array. A...

14 jours ago | 0

| accepted

Answered
Does lidarViewer app exist?
The last line of the documentation page for that app says "Introduced in R2021b". If you're using release R2021a (as indicated b...

15 jours ago | 0

| accepted

Answered
Saving values from a for loop in a table
temp = [1;2;4;5;1;8;3;4]; % temperature ind = [1;1;1;1;2;2;2;2]; % index cycle = [1;1;2;2;1;1;2;2]; % cycle f = table(cycle,t...

15 jours ago | 0

| accepted

Answered
Renumber matrix with some restrictions
I'm not completely sure how you got from conn to Con, in particular I'm not sure how you generated the third row in Con. [3 4] d...

15 jours ago | 0

Answered
Error using matlab.graphics.chart.primitive.GraphPlot/highlight>checkEdgesNodePair
s = {'a' 'a' 'a' 'a' 'a' 'b' 'b' 'b' 'b' 'c' 'c' 'c' 'd' 'd' 'd' 'e' 'e' 'e' 'e' 'f' 'f' 'f' 'f' 'g' 'g' 'g' 'g' 'g'}; t = {'a'...

16 jours ago | 2

| accepted

Answered
get number of output arguments of a function handle
Calling nargout on the function handle itself may give an answer. nargout(@sin) % The sin function returns 1 output But it may...

16 jours ago | 0

Answered
double error syms code
Preallocate C to be a sym array. syms x C=zeros(3, 6, 'sym') C(2, 3) = x.^2

16 jours ago | 0

| accepted

Answered
matlab url encoding doubt
s1 = 'Hello\nWorld' s1E = urlencode(s1) s2 = sprintf('Hello\nWorld') s2E = urlencode(s2) whos s1 contains 12 characters inc...

18 jours ago | 0

| accepted

Answered
Can't load saved yoloV2 network in standalone Matlab app 2021a
See the Tip in the "Fixing Callback Problems: Missing Functions" section of this documentation page. Use the %#function pragma t...

21 jours ago | 0

Answered
ifft matlab to cpp
The ifft function supports the extended capability of C/C++ code generation using MATLAB Coder. If you have MATLAB Coder availab...

24 jours ago | 0

Answered
How to rename a graph node labels ?
Let's take a sample graph and look at it. [B, V] = bucky; B10 = B(1:10, 1:10); V10 = V(1:10, :); G = graph(B10); plot(G, 'X...

30 jours ago | 0

| accepted

Answered
Convert time vector of Year, Month, Day, Hours, Minute to Decimal format
% Sample data d = datetime(2019, 10, (2:6).', 12, 0, 0) startOfYear = dateshift(d, 'start', 'year') p = years(d-startOfYear) ...

environ un mois ago | 0

Load more