![photo](/responsive_image/150/150/0/0/0/cache/matlabcentral/profiles/1440443_1521286274132_DEF.jpg)
Matt J
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
RANK
6
of 293,464
REPUTATION
30,836
CONTRIBUTIONS
265 Questions
11,793 Answers
ANSWER ACCEPTANCE
77.74%
VOTES RECEIVED
4,074
RANK
210 of 20,030
REPUTATION
6,482
AVERAGE RATING
4.90
CONTRIBUTIONS
38 Files
DOWNLOADS
219
ALL TIME DOWNLOADS
54397
RANK
of 148,733
CONTRIBUTIONS
0 Problems
0 Solutions
SCORE
0
NUMBER OF BADGES
0
CONTRIBUTIONS
0 Posts
CONTRIBUTIONS
0 Public Channels
AVERAGE RATING
CONTRIBUTIONS
3 Highlights
AVERAGE NO. OF LIKES
2
Feeds
Cannot figure out how to fit a complicated custom equation.
I recommend using fminspleas, downloadable from, https://www.mathworks.com/matlabcentral/fileexchange/10093-fminspleas for th...
1 day ago | 0
How does dlgradient handle two output layers?
Along the lines of what @Catalytic said, it is hard to envision how you are trying to use dlgradient without seeing that code. A...
1 day ago | 1
| accepted
how to extract the learned features from a dlnetwork
featureSet = forward(net,trainData,'Outputs',net.Layers(181).Name);
2 days ago | 0
Is there a setting to move labels on a plot closer
You can use the axis label text object porperties to move them around, e.g., h=gca; h.XLabel.Position(end)=h.XLabel.Position(e...
3 days ago | 0
| accepted
Question
When did the syntax for linprog change
At one point, the input syntax for linprog was x=linprog(f,A,b,Aeq,beq,lb,ub,x0,options) but now (R2023b) I see that it has c...
3 days ago | 2 answers | 0
2
answersSubmitted
Constrained minimum L1-norm solutions of linear equations
Finds least L1-norm solutions to linear equations C*x=d subject to linear and/or integer constraints.
3 days ago | 10 downloads |
The issue of optimization (minimization) of the average relative error between experimental and calculated data
If you download minL1lin from https://www.mathworks.com/matlabcentral/fileexchange/52795-constrained-minimum-l1-norm-solutions-...
3 days ago | 0
How can I efficiently save and access large arrays generated in nested loops?
I used the following given method to save the data, and it produced an 11 GB file, which seems very large. The memory consumpti...
3 days ago | 0
Why ILP Solver Switching to Branch-and-Bound?
Assuming you are using intlinprog, it will always uses the branch-and-bound algorithm at some stage of the processing (not sure...
4 days ago | 0
| accepted
How to average across tables in a cell
AvgTb=Tb{1}; AvgTb{1}{:,:}=(Tb{1}{:,:}+Tb{2}{:,:}+Tb{3}{:,:})/3;
5 days ago | 0
| accepted
Detecting circles in an image to measure inner and outer diameter
Because of the angle of the camera, circular shapes like the ones you are looking for are imaged as ellipses. Since imfindcircle...
6 days ago | 0
Find strings within other strings then pull data from that point
fileContent = fileread('P0300.txt'); prefix="01 3E"; e=" "+digitsPattern(2); pattern = prefix+e+e+e; matches = extractAf...
6 days ago | 0
Submitted
Array Concatenation with Implicit Expansion
Versions of cat(), horzcat(), and vertcat() that support implicit expansion
9 days ago | 4 downloads |
Finding the closest coordinate from a surface plot based on a X, Y location
F=griddedInterpolant({Slab_strike.x,Slab_strike.y},Slab_strike.z,'linear','nearest'); Strike = F(lon_GMM,lat_GMM);
9 days ago | 0
Is it possible to find the line-of-sight for coarsely spaced and uneven terrain data points?
You coulduse linexline2d from this FEX post, https://www.mathworks.com/matlabcentral/fileexchange/93470-intersections-of-multi...
9 days ago | 0
Transforming Optimization Code from Problem-Based to Solver-Based Approach in MATLAB
See prob2struct
9 days ago | 0
Split matrix into N Equal Parts by rows
You can also use mat2tiles, https://www.mathworks.com/matlabcentral/fileexchange/35085-mat2tiles-divide-array-into-equal-sized-...
9 days ago | 0
quadprog output: this problem is non-convex
I think you probably should report it as a bug, but a possible workaround would be to approximate the original problem with ineq...
11 days ago | 0
| accepted
How to change in marker size in the global legend?
You will probably have to use legendflex from the file exchange, https://www.mathworks.com/matlabcentral/fileexchange/31092-leg...
11 days ago | 1
How to generate vector with non-linear spacing?
a=-1; b=+1; d=1/(b-a)^2; y=d*randn(1,500); x=sort(y+(a+b)/2); stem(x,x.^0); xlim([a,b])
11 days ago | 0
Methods of Detecting and Removing Protrusions in Image
Use bwlalphaclose from this FEX package, https://www.mathworks.com/matlabcentral/fileexchange/90762-further-tools-for-analyzing...
12 days ago | 0
liste vertex into polyhedron
See lcon2vert in this FEX download, which does not require the Optimization Toolbox, https://www.mathworks.com/matlabcentral/fi...
12 days ago | 0
| accepted
How can I replace the upper off diagonal(super diagonal) and lower off diagonal(sub diagonal) of a matrix?
n=8; T=diag(rand(n,1)) diagonal=diag(T); offdiagonal=rand(n-1,1)' %desired values B=[ [offdiagonal(:);0], [0;offdiagon...
12 days ago | 0
How can I replace the upper off diagonal(super diagonal) and lower off diagonal(sub diagonal) of a matrix?
n=8; T=diag(repelem(1.8,n)); T(2:2*(n+1):end)=1; T(n+1:2*(n+1):end)=1
12 days ago | 0
Finding the "center" of an extended ring
load Image BW0=BW; A=bwareafilt( imfill(BW,'holes'),1); BW=imclose(A.*BW, strel('disk',3)); B=bwconvhull(~(~A|BW)); m...
12 days ago | 0
| accepted
How can I find the set of vertices of hexagons which are adjacent to a random point?
hex=[ 0 -1.0000 -0.8660 -0.5000 -0.8660 0.5000 0 1.0000 0.8660 0.5000 0.8660 ...
12 days ago | 2
| accepted
How can I continue training my network from the previous state?
Just call trainnet() again, feeding it your net in its current state, rather than an untrained layer graph. You may wish to adj...
13 days ago | 1
colorbar graph exceeding matrix values
You haven't attached Ft for us to examine, so we have no way to verify your claim that the data is bounded to [0,1]. Regardless,...
13 days ago | 0
| accepted
How to use Matlab trainnet to train a network without an explicit output layer (R2024a)
1) Is it possible to use trainnet in a network without an output layer? It is difficult to imagine that a built-in training func...
16 days ago | 0
Work Around for Convolution1DLayer
Why not just use a convolution2dLayer? A 1D input is just a special case of a 2D input.
18 days ago | 0