photo

Steven Lord

MathWorks

Last seen: 1 day 前 自 2002 起处于活动状态

Followers: 6   Following: 0

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.

统计学

All
  • Treasure Hunt Participant
  • Scavenger Finisher
  • Thankful Level 5
  • 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 5

查看徽章

Feeds

排序方式:

已回答
"platform" error after copying Matlab example to a PC
Comparing the version of the example from release R2023a and the version from the most recent release (as I type this, release R...

11 hours 前 | 0

| 已接受

已回答
when open MATLAB there is such error on command window Error using settings. Too many output arguments. how to solve it
If you've written your own settings.m file, it's likely conflicting with the settings function that's part of MATLAB. Rename you...

1 day 前 | 0

已回答
Error "gausswin requires Signal Processing Tool"
The gausswin function is part of Signal Processing Toolbox. Do you have this toolbox installed and licensed? To check if you hav...

1 day 前 | 0

已回答
What is wrong with my approach to building this histogram?
From the documentation for the polarhistogram function: "polarhistogram(theta) creates a histogram plot in polar coordinates by ...

1 day 前 | 0

已回答
If else statement now hanging up and error message Subscripting into a table using one subscript
If I remember correctly, indexing into a table array using parentheses and one subscript has never been supported. So if that wo...

1 day 前 | 0

已回答
Why don't I need a comment character after an (...) ellipsis?
Because that's what the ellipsis is documented to do. From that documentation page: "The ellipsis symbol (...) continues the cur...

5 days 前 | 1

| 已接受

已回答
Linear indices from colon operator
See sub2ind.

5 days 前 | 1

已回答
Multiple outputs from anonymous function
When you define an anonymous function, assign it to one output. f = @(x) svd(x, "econ") % Define f When you call an anonymous ...

6 days 前 | 0

已回答
null or NaN entries in image arrays?
If your images are stored in an integer data type, assigning a NaN value into that array will store a 0 in that location. There ...

7 days 前 | 0

已回答
Class property described, but not available for serialPort objects?
The Version History section on that documentation page states that there is a "New Tag Property" introduced in release R2024a. S...

8 days 前 | 1

| 已接受

已回答
Is there a way to define a callback function in Matlab that triggers on runtime errors?
Depending on what exactly you want to clean up, creating an onCleanup object may be of use to you. When this object is destroyed...

10 days 前 | 0

已回答
Unit testing of a script that requires a file as input
I would split your script into two pieces: An interface piece that calls input. This piece would not be used during automated t...

11 days 前 | 0

已回答
Constructing a string with several index requirements
r2 = [0 30 60 90 120 150 180 210]; ind = 0:numel(r2)-1; result = join("ScanArray(0)(" + ind + ")=" + r2, newl...

11 days 前 | 1

已回答
Changing values in an array with unknown dimension
You can use ind2sub as suggested in the answer posted by @Jaynik. But as they wrote that code, they hard-coded the number of dim...

13 days 前 | 1

已回答
Mesh error on my Matlab R2024a home edition
You have your own script named strings.m. MathWorks introduced a strings function in release R2016b and this function appears to...

19 days 前 | 0

| 已接受

已回答
Sparse matrix memory understanding
Please don't post pictures of code. MATLAB Answers can't run pictures of code. rng default Yb = unifrnd(-1, 1, [20000 20000]);...

20 days 前 | 0

| 已接受

已回答
if/elseif statement with rand() falling between two values
You could either write your code like this: rng default % Allow both code segments to generate the same sequence of random numb...

21 days 前 | 0

| 已接受

已回答
Rock, Paper, Scissors Game
You could, instead of making a matrix of results, make a table. possibilities = ["rock", "scissors", "paper"]; results = array...

21 days 前 | 1

已回答
How to remove some xticklabels (but still keeping all the xticks)?
x = 1:100; y = exp(-0.1*x); plot(x,y) xticks(0:10:100) xl = xticklabels; xl(1:2:end) = {''}; % Replace every other label x...

22 days 前 | 1

已回答
ltefadingchannel built-in function
which -all ltefadingchannel So this is a MATLAB code file. dbtype 189 lteFadingChannel.m It's a MATLAB function file. You can...

22 days 前 | 0

已回答
Solve and Vpasolve can't find solutions
I am trying to solve this system of equations for my class. No, you have a system of inequalities and equations. Let's try solv...

22 days 前 | 1

| 已接受

已回答
Suppressing braces and single quotes of a string matrix
That's not a string matrix. That's a cell array each cell of which contains a char vector. Commonly that's referred to as a cell...

25 days 前 | 0

已回答
Array indices must be positive integers or logical values
If you are attempting to compile code using MATLAB Compiler that calls load to load an object from a MAT-file and there is no in...

26 days 前 | 0

已回答
Problem with iradon in Matlab 2024b
Can you confirm that you're using the iradon function included in Image Processing Toolbox? The error message indicates the fail...

27 days 前 | 0

已回答
Circshift bug for sparse logical.
This bug was fixed in release R2018a.

27 days 前 | 0

| 已接受

已回答
Downsampling array data from counts per minute to counts per hour
Another potential approach would be to use the groupsummary function.

27 days 前 | 0

已回答
I am struggling to store a function without it being evaluated so the function can be differentiated later.
The correct syntax to make that into an anonymous function is: startfunc = @(t) 1./t + log(t) Then evaluating it works like: ...

28 days 前 | 0

已回答
Attempted to access solutionsofar(:,0); index must be a positive integer or logical.
To clarify, most likely solutionsofar starts off as a 0-by-0 matrix because it was declared as global. From that documentation p...

28 days 前 | 0

已回答
A parfor loop and random number generator
See this documentation page for an explanation and a suggested approach to do what you want.

29 days 前 | 2

已回答
MATLAb Solve function not solving
I ran the code using release R2019a and it seems to have worked correctly, giving results that match what others have posted in ...

29 days 前 | 1

| 已接受

加载更多