photo

Matt J


Last seen: Today Active since 2010

Followers: 18   Following: 0

Message

Professional Interests: medical image processing, optimization algorithms PLEASE NOTE: I do not read email sent through my author page. Please post questions about FEX submissions in their respective Comments section.

Statistics

All
MATLAB Answers

318 Questions
12,471 Answers

File Exchange

40 Files

Cody

5 Problems
33 Solutions

Discussions

10 Discussions

RANK
6
of 302,101

REPUTATION
32,382

CONTRIBUTIONS
318 Questions
12,471 Answers

ANSWER ACCEPTANCE
79.25%

VOTES RECEIVED
4,318

RANK
201 of 21,546

REPUTATION
6,776

AVERAGE RATING
4.90

CONTRIBUTIONS
40 Files

DOWNLOADS
76

ALL TIME DOWNLOADS
55969

RANK
11,531
of 178,957

CONTRIBUTIONS
5 Problems
33 Solutions

SCORE
598

NUMBER OF BADGES
7

CONTRIBUTIONS
0 Posts

CONTRIBUTIONS
0 Public Channels

AVERAGE RATING

CONTRIBUTIONS
10 Discussions

AVERAGE NO. OF LIKES
1

  • Most Accepted 2025
  • Most Accepted 2024
  • Speed Demon
  • Creator
  • Editor's Pick
  • Personal Best Downloads Level 4
  • Community Group Solver
  • Commenter
  • Promoter
  • Leader
  • Solver
  • Most Accepted 2023

View badges

Feeds

Answered
Lake America used as a name in Mapping Toolbox
I need to know if, like how I now view Google Earth/Maps and Alphabet Inc, I need to inject a level of mistrust and loss of resp...

11 hours ago | 0

Answered
Any quick fix for this matrix-scalar simplification?
Here's one approach. It assumes though that the matrix variable names do not end with numbers, e.g. A1, B2, etc... syms A B C ...

24 hours ago | 0

Answered
pinv function is supported for dlarray input while the pageinv function is not supported
If your inputs to the operation will always be a 3x3XN stack, as in your example, then you can use the code below in conjunction...

4 days ago | 0

Question


functionSignatures.json for built-in functions
I would like to define code suggestions/completions for built-in Matlab functions. This document, https://www.mathworks.com/hel...

4 days ago | 1 answer | 0

1

answer

Answered
How to modify Find Files GUI file size threshold
After consulting Tech Support, I have learned that the field will re-enable if non-empty text is entered into the "Find Files co...

6 days ago | 1

| accepted

Question


How to modify Find Files GUI file size threshold
In the "Find Files" GUI there is a "Skip files over" field that sets an upper limit on the file size to include in the search. F...

7 days ago | 1 answer | 0

1

answer

Answered
How Can Short-Circuiting Logical Operators &&, II be Overloaded in a Classdef?
You can't overload && or || directly. It would make their common usage less efficient if the parser had to check the class of al...

8 days ago | 0

| accepted

Answered
anonymous function with rng call inside
rng('default') T= rand(1,10); t=1:15; T(ceil(t/10)) ans = Columns 1 through 9 0.8147 0.8147 0.8147 ...

9 days ago | 0

Answered
anonymous function with rng call inside
function y=f(t) rng(ceil(t/10)); y=rand(1); end

9 days ago | 0

Answered
Neural Network with custom performance function
If you are using trainnet, the lossFcn input argument lets you supply a custom loss function explicitly, https://www.mathworks....

13 days ago | 0

Answered
Histogram gives a wrong result?
Due to the floating number? Correct. There is no reason to expect exact boundaries, or for data to fall exactly within those bo...

14 days ago | 0

Answered
Get back find in files interface from before 2025b
This search and replace app from the File Exchange might be worth considering as a possible substitute, https://www.mathworks.c...

25 days ago | 0

Answered
Is delegated or department-level license administration possible?
If not, how are other universities or large organizations handling this? It's horrendous. Every time I want to upgrade my Matla...

30 days ago | 0

Answered
Help with this triple nested for loop
I don't know what you're trying to do with Ux, but U is just, U = cat(3, ... repelem(cat(3,A1,A2,A3,A4),1,1,6), ... r...

30 days ago | 0

| accepted

Answered
Classdef Static method calling builtin subsref instead of classdef subsref
With the newer modularized indexing, the overloaded indexing will be active inside the classdef. So, one option is to overload y...

30 days ago | 0

Answered
Plotting fit lines on multiple sets of data in one plot - how to limit each of the fit lines start and end points?
From the documentation: plot(cfit,x,y) plots cfit together with a scatter plot of the data in x and y. The axes limits are give...

1 month ago | 0

Answered
fmincon solver for nmpc applications
FMINCON's sqp algorithm does not accept a HessianFcn parameter. You would need to switch to either trust-region-reflective or in...

1 month ago | 0

Answered
Can I return the xml string from writestruct?
You can't suppress file output, but you can use readlines and writelines to retrieve the file contents in string form and then m...

1 month ago | 0

| accepted

Answered
Handling outliers in Spray Angle calculations
This is one way you might clean things up: fnames={dir('*.bmp').name}; Bcell=cellfun(@cleanUp,fnames,'uni',0); tiledlayout(...

1 month ago | 1

Answered
Graceful exit from a parfor loop
It sounds like a job for onCleanup.

2 months ago | 1

| accepted

Question


gpuArray support for Optimization Toolbox solvers
I have wondered for a while why the OptimizationToolbox doesn't currently support gpuArray data types in its solvers (lsqnonlin,...

2 months ago | 1 answer | 2

1

answer

Answered
Input image rescaled to 0-1 using im2single for ImageNet models, will that result in wrong outputs?
Yes, probably. For all of these networks, the input layer normalization settings are 'zerocenter', which is not a scale invarian...

2 months ago | 0

| accepted

Question


Sparse gpuArray indexing limitations
When trying to extract a sub-matrix of a sparse gpuArray, I get, >> S=gpuArray(sprand(100,100,0.1)); >> S(1:5,1:5) Sparse gpu...

2 months ago | 2 answers | 0

2

answers

Answered
Pagemldivide returns incorrect results for complex gpuArrays
Looks like a bug to me. I would report it. Test Data Acpu=randn(20,10,2)+1j*randn(20,10,2); Bcpu=randn(20,10,2)+1j*randn(20,1...

2 months ago | 0

| accepted

Question


Does A(m:n) trigger the explicit creation of an index array (m:n)?
I was under the impression that in an indexing expression A(m:n) when A is a numeric vector, Matlab was smart enough to optimize...

2 months ago | 1 answer | 0

1

answer

Answered
No more machine transfers available
If you're a license administrator, you can deactivate one of the installations from the License Center.

2 months ago | 0

Question


Has save() bug been fixed?
I have a user-defined object that is failing to save in R2024b, >> save testsave mgr Warning: Variable 'mgr' was not saved. Fo...

2 months ago | 1 answer | 0

1

answer

Answered
When does distributing data improve computation time over overhead expense?
Are your parallel workers all on a single computer, or are they distributed across a cloud? If all of this is on a single comput...

2 months ago | 0

Answered
How is the spectralConvolution1dLayer forward computation process performed
According to the doc you referenced, the convolution is performed with respect to the time dimension in that case, For time ser...

2 months ago | 0

Answered
How to enable viewing workspace variables when hovering
If you upgrade to R2026a, you can recover the capability of viewing variable content in edit mode (in addition to debug mode). A...

2 months ago | 0

| accepted

Load more