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

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...

ongeveer 20 uur 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...

1 dag ago | 0

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...

1 dag 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 ...

2 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...

2 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 ...

2 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 =...

2 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...

2 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...

3 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 ...

3 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...

4 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...

4 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) ...

5 dagen ago | 0

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

5 dagen ago | 0

| accepted

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

5 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...

5 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.

6 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...

7 dagen ago | 1

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

7 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?

7 dagen ago | 0

convert value from radian form to degree form

8 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...

8 dagen ago | 0

list of users for specyfic license

9 dagen ago | 0

Error: Maximum recursion limit of 500 reached.
Do not call ode45 with 'Model' as the first input from within Model.m itself. Move the ode45 call (and the code necessary to cre...

10 dagen ago | 1

Make num2str in engineering format
If you're using release R2021a or later I would use formattedDisplayText instead of evalc. wcutoff = 5.2e10; t = formattedDisp...

11 dagen ago | 1

Example command not available
Do you have Communications Toolbox installed? Check using the ver function. ver comm

11 dagen ago | 0

How to find the changing point in figure?
Take a look at the ischange function.

15 dagen ago | 0

Why can't I open a file on MacBook?
I recommend not creating a variable named path, as path already has a meaning in MATLAB. See doc path for more information on th...

16 dagen ago | 1

| accepted