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

All

#### Content Feed

View by

Unrecognized property 'fig' for class 'matlab.ui.Figure'.
You'd already stored a figure handle in the variable named h, and indeed a Figure handle doesn't have a property named fig like ...

ongeveer 17 uur ago | 0

Marker Indices automation using 'set' function
What you've written second would almost work if you turned hold on. However you can't use a line specification in a set call lik...

1 dag ago | 1

| accepted

How to initialize polyshape array?
P = repmat(polyshape, 1, 5); for k = 1:5 P(k) = nsidedpoly(2+k, 'Center', [2*k, 0]); end plot(P) axis equal

2 dagen ago | 1

| accepted

Are you trying to display a numeric result (in which case you should use the format function to change the format used to displa...

3 dagen ago | 0

Finding coefficients of variables of specific powers
syms x y r z = x^2*y + 3*y + 5*x^2 +4*y^2 + 3*x*y*r + 5 [coeffsOfX, powersOfX] = coeffs(z, x, 'all') [coeffsOfX2y, powersOfY]...

3 dagen ago | 0

Difference between orth(A) and classical Gram Schmidt
See the Algorithms section on the documentation page for the orth function.

3 dagen ago | 0

| accepted

When the variables of the equation are zero, the equation cannot be solved and results in reading 'Value' must be a double scalar within the range of 'Limits'.
I'm guessing you have a NumericEditField in your app. What are the values for the properties Value and Limits of your edit field...

5 dagen ago | 0

checking an interval by using switch case function
switch and case are not the best tools for this application, at least not alone. If you have a small number of potential cases e...

5 dagen ago | 0

| accepted

How can i assign sybolic values to ymbolic variables in an symbolic matrix?
Can you create variables named c1, c2, c3, etc.? Yes. Should you do this? The general consensus is no. See that Answers post fo...

5 dagen ago | 0

how to convert date to milliseconds (Binance format)
So your input is a number of milliseconds since January 1st, 1970? msSince1970 = 1234567; start = datetime(1970, 01, 01); T1 ...

6 dagen ago | 0

| accepted

How can I calculate the cumulative sum of this file?
"calculate the cumulative" what of the file? Cumulative sum? cumsum. Cumulative product? cumprod. Cumulative minimum or maxim...

6 dagen ago | 0

| accepted

Generating random numbers with a different probabilities
If you know the probabilities you want each number to have you could use discretize. For instance if I want to generate numbers ...

6 dagen ago | 0

Convert epoch to human readable data and time
What's the unit of time a value of 1 in your epochtime represents? Seconds, microseconds, nanoseconds, etc.? t = 6000; start =...

6 dagen ago | 0

What is this block called in MATLAB R2021a
In the context of the model in which it's used, what's its purpose? If you know what it's intended to do you could search in the...

6 dagen ago | 0

creating a loop of a 158 component vector
As shown in the "Decrement Values" example on the documentation page for the for keyword, you can specify a vector with start, i...

7 dagen ago | 0

Storing small numbers and logarithms.
How large is "very large"? Can you perform the calculation symbolically (by converting a and b into sym values before trying to ...

7 dagen ago | 1

How can I stop ode45 when certain derivative is negative?
Your events function can return a vector of values and detect an event if any of the elements of that vector crosses zero. See t...

8 dagen ago | 0

YOLOV3 example missing functions
Open the example in MATLAB (either MATLAB Online or desktop MATLAB). The directory that contains the example .mlx file also cont...

8 dagen ago | 0

| accepted

Generating Geometry Patterns at Scale
Consider using polyshape and the convenience function nsidedpoly. h = nsidedpoly(6, 'Center', [10 10], 'Radius', 5); plot(h) ...

9 dagen ago | 0

Symmetric/Centered Moving Average
Take a look at the movmean function.

9 dagen ago | 0

| accepted

How can i get the double % to highlight a section again?

9 dagen ago | 0

| accepted

what does this mean in matlab code????
If for whatever reason you cannot type the | character (which on my QWERTY keyboard is Shift plus the key to the far right of th...

10 dagen ago | 1

Is it possible to code solver tool in Excel as a Matlab code?
If you have Optimization Toolbox take a look at this documentation page and the pages to which the first section link.

10 dagen ago | 0

Why is MATLAB not recognizing my variables in my switch block?
First, you probably want to have an otherwise block in your switch / case to handle the case where a user enters something other...

11 dagen ago | 1

Make an app from matlab app designer a executable .
Use the MATLAB Compiler product to create and deploy a web app.

11 dagen ago | 0

How can I adjust the patch function to display correctly?
I'm not sure patch is the right tool for this job. Have you tried using geoplot or perhaps patchm from Mapping Toolbox instead?

11 dagen ago | 0

convert value from radian form to degree form

12 dagen ago | 0

| accepted

Can log in on MathWorks website, cant in the MATLAB app on windows
Try renaming your flip.m script file located in: C:\Users\jonat\OneDrive\Documents\MATLAB\flip.m Its existence prevents MATLAB...

12 dagen ago | 0