# Matt J

Last seen: Today Actif depuis 2009

Followers: 3   Following: 0

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.

All

#### Feeds

Afficher par

Réponse apportée
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...

environ 23 heures il y a | 0

Réponse apportée
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...

1 jour il y a | 0

Réponse apportée
How can you update plot data from properties in an object?
Consider animatedline

2 jours il y a | 0

Réponse apportée
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

2 jours il y a | 0

Réponse apportée
Can I use lsqcurvefit for a multivariable nonlinear regression
Yes, lsqcurvefit can be applied to problems of any dimension.

2 jours il y a | 0

Réponse apportée
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...

2 jours il y a | 0

| A accepté

Réponse apportée
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...

2 jours il y a | 0

Réponse apportée
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...

2 jours il y a | 1

| A accepté

Réponse apportée
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...

3 jours il y a | 1

| A accepté

Réponse apportée
Property Type in constructor vs dependent
Property type specifiers, such as the double specifier in, properties (Dependent) D_b double end only perfor...

3 jours il y a | 2

| A accepté

Réponse apportée
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...

3 jours il y a | 0

| A accepté

Réponse apportée
Find the coordinates of the nodes of an matrix inside another matrix
Sounds like you could just use ismember(___,'rows')

5 jours il y a | 0

Réponse apportée
Use of tensorprod function to compute multilinear forms
J=A; while ~isvector(J) J=pagemtimes(v',squeeze(J)); end res=J*v

5 jours il y a | 0

Réponse apportée
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

5 jours il y a | 0

Réponse apportée
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...

5 jours il y a | 1

| A accepté

Réponse apportée
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...

5 jours il y a | 0

| A accepté

Réponse apportée
How can I make the layout in the attached image with tiledlayout

6 jours il y a | 0

Réponse apportée
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...

6 jours il y a | 2

| A accepté

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

7 jours il y a | 0

Réponse apportée
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 -...

10 jours il y a | 0

| A accepté

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

10 jours il y a | 1 réponse | 0

### 0

réponse

Réponse apportée
fminunc not converging objective function
You need to a better choice of units for x(3), at least for the optimization step. Below, I modify the objective function so tha...

11 jours il y a | 0

| A accepté

Réponse apportée
Need help in MATLAB tiled layouts (nested)

11 jours il y a | 1

Réponse apportée
Save a 3D image to TIFF
See saveastiff, https://www.mathworks.com/matlabcentral/fileexchange/35684-multipage-tiff-stack?s_tid=srchtitle

11 jours il y a | 0

Réponse apportée
Coding the Jacobian efficiently in MATLAB
minusA = -A; J=@(u) JacobianEngine(u,minusA); function Jn = JacobianEngine(u,Jn) p=numel(u); Jn...

12 jours il y a | 0

Réponse apportée
Should the discrete 2D convolution from MATLAB be multiplied with twice the nodal step size ?
Yes, that is correct.

15 jours il y a | 1

| A accepté

Réponse apportée
Error with spdiags size dimensions in pentadiagonal matrixes
Does anyone know if spdiags has undergone any significant updates between versions these 2 years? Yes, support for the syntax y...

16 jours il y a | 1

| A accepté

Réponse apportée
Why can't polyshape.union() consolidate neighboring polygons?
Tech Support has confirmed this as a bug, and have indicated the incremental loop-based method as a valid workaround.

16 jours il y a | 0

| A accepté

Réponse apportée
How to Improve Performance of an Over-fit Convolutional Neural Network
By enforcing regularization penalty for generalization. I'm still figuring out what functions or options may allow me to do that...

17 jours il y a | 0

Réponse apportée
How to choose one between two constraint conditions
Considering Walter's answer, your example may not have captured your real question. If you really do have a feasible set of the ...

17 jours il y a | 0

| A accepté