photo

Matt J


Last seen: Today Active since 2009

Followers: 3   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
  • Most Accepted 2023
  • Most Accepted 2022
  • Editor's Pick
  • Personal Best Downloads Level 4
  • Grand Master
  • Most Accepted 2021
  • First Review
  • 5-Star Galaxy Level 5
  • First Submission
  • Revival Level 4
  • 36 Month Streak
  • Thankful Level 5

View badges

Feeds

Answered
How to re-generate script from already built workspace
The script, if you saved it is a file somewhere on your computer. We have no way fo knowing where you put it. However, if you re...

3 hours ago | 0

| accepted

Answered
Improving chose of guesses in my fit
It appears from the plot that you are giving nlinfit the data for all peaks simultaneously. You should not be doing that. Rather...

8 hours ago | 0

Answered
Identifying all elements and their nodal coordinates given all possible nodes
Assuming the cube is unrotated, V=[0,0,0;0,0,1;0,1,0;0,1,1;1,0,0;1,0,1;1,1,0;1,1,1]+[5,6,7] %cube vertices vmin=min(V); vma...

21 hours ago | 1

Answered
Passing additional minibatchable quantities to a trainnet() loss function
Tech support has told me that the way to do this is to supply N strings in the TargetDataFormats training options parameter. tra...

21 hours ago | 0

| accepted

Answered
Object-Oriented: strange behavior that leads to shared reference
The reason this occurs is documented here. Default property values are only generated once when the classdef is first instantiat...

2 days ago | 0

| accepted

Answered
Extract area from elipsoidal/cirle trajectory.
load data ymin=min(y); [xx,yy]=deal(x,y); xx(end+1)=x(end); yy(end+1)=ymin; p=regions(polyshape(xx,yy)); h=arrayfun(@...

2 days ago | 0

| accepted

Answered
I want all possible distinct lists of the pairs of the elements that can be made from a vector having j ones, j twos, and j threes where j is an even integer.
This code doesn't seem to do too badly. I can easily run up to j=100. As you can see from the loop limits, I find the number of ...

3 days ago | 1

| accepted

Answered
How can I restart the optimization in "Optimize Live Editor"?
Not sure what you mean by "clean"? The widgets in the Live Task must always be populated with something, so if you want to run w...

3 days ago | 0

Answered
how to remove variables of a table with a zeros in it
keep=all(yourTable{:,:},1); yourTable=yourTable(:,keep);

4 days ago | 0

Answered
3D resize image for BIG image size
My another strategy is I can read them separately for all Z and reduce image half in X and Y using "tiffreadVolume" and "imresi...

6 days ago | 0

Answered
How do I put a uitable in a tiledlayout?
If you are going to be inserting uitables, it would be advisable to use UI graphics elements everywhere else too, fig=uifigure...

6 days ago | 1

Answered
How can you update plot data from properties in an object?
Consider animatedline

7 days ago | 0

Answered
Error with Vector Length
The code you've shown produces empty t: t0=0; t1=-10; t2=20; [x,t]=step(t0,t1,t2); x=x',t

7 days ago | 0

Answered
Can I use lsqcurvefit for a multivariable nonlinear regression
Yes, lsqcurvefit can be applied to problems of any dimension.

7 days ago | 0

Answered
How to rotate a hyperbola drawn along with the reference line?
%% Input values D = 250; % mm distance c = 4; % mm/s velocity del = 10; % a constant theta...

7 days ago | 0

| accepted

Answered
Circle fit in pointcloud, stl
See the section "Fitting a 2D Shape to 3D Points" in the Examples tab of this FEX submission: https://www.mathworks.com/matlabc...

7 days ago | 0

Answered
How can I rotate a volshow image programatically?
Can I rotate the volume instead of the camera? Yes, you can use the Transformation property. I tried using CameraPosition an...

7 days ago | 1

| accepted

Answered
What is the best data structure for mapping a key to an array of values in MATLAB?
Dictionaries are supposed to be faster than structs, but they require a recent Matlab version. keys="UniqueKey"+(1:3)'; valu...

8 days ago | 1

| accepted

Answered
Property Type in constructor vs dependent
Property type specifiers, such as the double specifier in, properties (Dependent) D_b double end only perfor...

8 days ago | 2

| accepted

Answered
Which is the difference between 'multi-gpu' and 'parallel-gpu' in 'trainingOption' function of the DeepLearning Toolbox?
According to the doc, 'parallel-gpu' has the additional capability of being able to use remote GPUs. Since that doesn't apply to...

8 days ago | 1

| accepted

Answered
Find the coordinates of the nodes of an matrix inside another matrix
Sounds like you could just use ismember(___,'rows')

10 days ago | 0

Answered
Use of tensorprod function to compute multilinear forms
res=A; while ~isvector(res) res=pagemtimes(v',squeeze(res)); end res=res*v

10 days ago | 0

Answered
Use of tensorprod function to compute multilinear forms
n = 3; A = rand(n,n,n,n); v = rand(n,1); J=pagemtimes(v',pagemtimes(A,v)); res=v'*reshape(J,[n,n])*v

10 days ago | 0

Answered
What happens to cleared custom `handle` objects?
If you clear c, then that copy of the handle is gone, while other shared instances of it that you may have created remain. If yo...

10 days ago | 1

| accepted

Answered
How plot a grid of rectangles on an overlaid circle?
R = 5; % circle radius H = 1; % rect height W = 2; % rect width circ=nsidedpoly(1000,"Radius",R); %polyshape for the circle...

10 days ago | 0

| accepted

Answered
How can I make the layout in the attached image with tiledlayout
If you download nestedLayouts, https://www.mathworks.com/matlabcentral/fileexchange/161736-grids-of-tiled-chart-layouts then y...

11 days ago | 0

Answered
Conditional array accumulation inside parfor
map = false(N,M); parfor k=1:M*N [n,m]=ind2sub([N,M],k); map(k) = ( f(m,n)>0 ); end [I,J]=fin...

11 days ago | 2

| accepted

Answered
Lower precision in trainnet workflow
Just pass in training data with a lower precision type (e.g., singles versus doubles).

12 days ago | 0

Answered
Understanding implicit surface plot behavior
Re-running the code in the latest release, R2024a, it appears the problem has been fixed. Q=diag([0,1,1]./3^2); axis([-5 5 -...

15 days ago | 0

| accepted

Question


Passing additional minibatchable quantities to a trainnet() loss function
I am calling trainnet() with the syntax, netTrained = trainnet(cds,net,lossFcn,options) where lossFcn=f(Y,T) is a handle to a ...

15 days ago | 1 answer | 0

1

answer

Load more