# Matt J

Last seen: Today Aktiv seit 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.

#### Statistik

All

Abzeichen anzeigen

#### Feeds

Anzeigen nach

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

etwa 4 Stunden vor | 0

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

etwa 4 Stunden vor | 1

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

etwa 17 Stunden vor | 1

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

etwa 19 Stunden vor | 1

| akzeptiert

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

etwa 19 Stunden vor | 0

| akzeptiert

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

2 Tage vor | 0

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

3 Tage vor | 0

Beantwortet
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

3 Tage vor | 0

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

3 Tage vor | 1

| akzeptiert

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

3 Tage vor | 0

| akzeptiert

Beantwortet
How can I make the layout in the attached image with tiledlayout

4 Tage vor | 0

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

4 Tage vor | 2

| akzeptiert

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

4 Tage vor | 0

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

8 Tage vor | 0

| akzeptiert

Frage

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

8 Tage vor | 0 Antworten | 0

### 0

Antworten

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

9 Tage vor | 0

| akzeptiert

Beantwortet
Need help in MATLAB tiled layouts (nested)

9 Tage vor | 1

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

9 Tage vor | 0

Beantwortet
Coding the Jacobian efficiently in MATLAB
minusA = -A; J=@(u) JacobianEngine(u,minusA); function Jn = JacobianEngine(u,Jn) p=numel(u); Jn...

9 Tage vor | 0

Beantwortet
Should the discrete 2D convolution from MATLAB be multiplied with twice the nodal step size ?
Yes, that is correct.

13 Tage vor | 1

| akzeptiert

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

14 Tage vor | 1

| akzeptiert

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

14 Tage vor | 0

| akzeptiert

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

14 Tage vor | 0

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

15 Tage vor | 0

| akzeptiert

Beantwortet
Rank value matrix from 3d Matrix
Also how can NaN values be ignored in this solution? Here's a revised method (loop-free) that also handles NaNs. As before, ran...

15 Tage vor | 0

| akzeptiert

Beantwortet
Non linear fitting with 3 independent variables
S=load('Data'); f=@(E,S)exp(-E.*S.Vf); funlist={f, @(E,S) -S.IL.*f(E,S), @(E,S) -S.a.*f(E,S)}; [E,ABC]=fminspleas(funlist...

15 Tage vor | 0

| akzeptiert

Gesendet

spatialgraph2D
Creates a graph object with 2D spatial locations associated with the nodes

Frage

Why can't polyshape.union() consolidate neighboring polygons?
I have a polyshape vector pv consisting of 4 adjacent triangles, load tstcase_pv plot(pv) Why is it that when the polyshape v...

16 Tage vor | 2 Antworten | 0

### 2

Antworten

Frage

Strange dependence of object display behavior on debugger state
Consider the following simple classdef, classdef myclass properties (Dependent) data end methods ...

17 Tage vor | 1 Antwort | 0

### 1

Antwort

Beantwortet
How do I find the value closest to my desired value in a vector
interp1(FA,FA, freqlims,'nearest')

17 Tage vor | 0