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

321 Questions
12,496 Answers

File Exchange

41 Files

Cody

5 Problems
33 Solutions

Discussions

10 Discussions

RANK
6
of 302,320

REPUTATION
32,438

CONTRIBUTIONS
321 Questions
12,496 Answers

ANSWER ACCEPTANCE
78.82%

VOTES RECEIVED
4,328

RANK
201 of 21,708

REPUTATION
6,809

AVERAGE RATING
4.90

CONTRIBUTIONS
41 Files

DOWNLOADS
241

ALL TIME DOWNLOADS
56294

RANK
11,588
of 181,170

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
How can I find a set of numbers in a larger set of numbers
A = [4 3 7]; B = [6 7 9 10 5 9 5 4 3 7 9 10 34 2 3 4 3 7 32 46 1]; n=numel(A); xc=normxcorr2(A,B); I=find(xc>0.9999)-cei...

17 hours ago | 0

Question


Are properties with Access class lists private?
I have the simple class hierarchy below: classdef myclass properties (Access = {?ClassA}) p=1; end meth...

2 days ago | 1 answer | 2

1

answer

Answered
How to overload a single parentheses indexing operation, not all of them?
Is there a way to provide just a single method that I need? I have created a general-purpose parent class to help with this, ...

5 days ago | 0

Answered
Can I use Matlab's default implementation of empty with matlab.mixin.indexing.RedefinesParen?
I think in most/many cases, you could just define the empty() method to return a base class object. As long as the child classes...

5 days ago | 0

Submitted


RedefinesIndexing: a class for incremental modular index overloading
Subclasses of RedefinesIndexing can make incremental changes to modular indexing methods while keeping traditional array semanti...

6 days ago | 0 downloads |

0.0 / 5

Answered
How to avoid recursion with parenReference
I have created a general-purpose class called RedefinesIndexing ( Download ) which elaborates on the example in the RedefinesPar...

7 days ago | 1

Answered
How can I capture all outputs in a cell array, if the function uses varargout and the number of outputs is dependent on the function parameters.
Since the function in question is supplied by the user, I have no control over it and cannot e.g. use the first result to return...

11 days ago | 0

Answered
Reliable way to separate entangled points into different lines?
or do i need to run some sort of weird RANSAC strategy across every cluster until it converges towards a set of lines If it hel...

13 days ago | 0

Answered
Zero Hessian Matrix using dlgradient and dljacobian
The call to dljacobian should be, hessian = dljacobian(gradients.Value{2}(:), net.Learnables.Value{2},1); The reason, I believ...

15 days ago | 0

| accepted

Answered
How can I capture all outputs in a cell array, if the function uses varargout and the number of outputs is dependent on the function parameters.
except trial and error, which will not work for me due to side effects and the runtime of the function I don't think there is a...

19 days ago | 0

Answered
Why is trainlm in train is extremely faster than lm in trainnet options
I suspect that trainnet does not explicitly compute the Jacobian J and J.'*J the way trainlm does. There are memory-conserving v...

26 days ago | 0

| accepted

Answered
Why is trainlm in train is extremely faster than lm in trainnet options
The network architectures in the two cases are not equivalent. By default, feedforwardnet uses tansig activations for hidden lay...

26 days ago | 0

Answered
Is There Any Practical Difference Between Extraction and Deletion When Reducing a Vector?
I remember past tests showing that extraction was more efficient, but that was many years and Matlab versions ago. It still appe...

29 days ago | 0

Answered
How to avoid recursion with parenReference
The problem is that no matter how I try to select the subset of objects to return in the third line, it calls parenReference rec...

30 days ago | 0

Answered
How to get var(2:3).fun indexing to work for my custom classdef file (Part 3)
Attached is an alternative solution that skips subsref/subsasgn altogether and instead inherits from the matlab.mixin.indexing.R...

1 month ago | 0

Answered
How to get var(2:3).fun indexing to work for my custom classdef file (Part 3)
You need to implement a numArgumentsFromSubscript method, for example, as attached. a = myclass(1:7); a(2:3).add I surmise...

1 month ago | 0

| accepted

Answered
How to get "end" indexing to work in my custom classdef file
It doesn't appear that you have supplied an overloaded end(...) method for the class. I imagine you would want something like t...

1 month ago | 0

| accepted

Answered
Is it More Efficient to Load a Subset of Variables from a .mat File Rather than All of the Variables?
I would expect Option 2 to be more efficient, especially when compression is applied. By specifying a subset of variables, load...

1 month ago | 1

| accepted

Answered
Is rowfun Showing Strange Behavior when the Target Function Returns an Empty Output?
How could fun2 return an output with more than one row when applied to the third row of T when the output in that case should be...

1 month ago | 1

Answered
How to erase a substring that starts with a given pattern?
c = ["Glucose C6H12O6"; "Benzol C6H6"]; pat = " C" + digitsPattern + "H" + digitsPattern; extractBefore(c,pat)

1 month ago | 0

| accepted

Question


Interacting with the sub-components of a Custom UI Component
I have started gettng my feet wet with custom UI components in App Designer. Here's one I just created, which consists of severa...

1 month ago | 0 answers | 1

0

answers

Question


Why does Matlab care how many output arguments I specify?
I've never known any native Matlab function to place a requirement on the number of ouput arguments that I request. For some rea...

1 month ago | 1 answer | 0

1

answer

Answered
Is it possible to print results from appdesigner, using Matlab 2018?
Are you saying you just want a screenshot of the app window itself? If so, there is Matlab code for screnshotting on the File Ex...

2 months ago | 0

Answered
Best practice for passing structure to a function and adding new fields when returning it
Which of the following is considered best practice? I would say the most common (and therefore perhaps the best) practice is Op...

2 months ago | 1

Answered
Saving large mat-files 2-4 GB takes 1 or 2 min. how to do things in paralell?
See Run Functions in Background. You might also consider storing directly in HDF5 using h5create and h5write. It is essentially...

2 months ago | 0

Answered
Sequential neural network training with 1-D function layer
You could try islocalmax instead, if a mask of the maxima locations is sufficient.

2 months ago | 0

| accepted

Answered
Can Same Commands in Debugger and Command Window Exhibit Different Behavior?
I suspect the only reason size() reports that foo is 1x2 in the first place is because size() is overloaded by class sym to do s...

2 months ago | 0

| accepted

Answered
Improving my forwardfill call
A = [0.1 0.2 0.3 NaN NaN NaN 0.7 NaN 0.9 1] A_ffilled = forwardfill(A,1) A_ffilled = forwardfill(A,2) EDIT: function [B,...

2 months ago | 0

| accepted

Answered
Transparency of background in MATLAB figure
Use export_fig, https://www.mathworks.com/matlabcentral/fileexchange/23629-export_fig with the "-transparent" flag.

2 months ago | 1

| accepted

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

2 months ago | 0

Load more