Community Profile

photo

Matt J


Last seen: 2 days ago Active since 2009

Followers: 0   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
Saving 3D image after segmentation
There are several File Exchange submissions that are applicable. I have used this one and been pretty happy, https://www.mathwo...

2 days ago | 0

Answered
Condition for if-statement not updating inside for-loop without pause function
A more standard solution is to use drawnow rather than pause. for c2 = 1:length(time) f2 = figure(2); ... draw...

2 days ago | 0

| accepted

Question


Retrieve initialization specifics from a dlnetwork object
I have applied replaceLayer() to a dlnetwork object DLN1 that I have. DLN2=replaceLayer(DLN1,layerName,newLayer); As a result ...

4 days ago | 1 answer | 0

1

answer

Answered
Does struct manipulation work in place when using arrayfun on an array of structs?
It does indeed appear that with arrayfun (unlike loops), pre-existing field contents get deep-copied to a new memory address (as...

5 days ago | 0

| accepted

Answered
M^2 fitting for a Gaussian beam with measured data
Your post doesn't give much detail on what you are trying to do, but if you are just trying to fit a 1D Gaussian to the data in ...

6 days ago | 0

| accepted

Answered
Class property validator reports an error if no default value is set
I have the following class defintion which is using a validator function You're not using a property validation function anywh...

6 days ago | 0

Answered
Optimization problem with non convex constraints
Is there a way to write these constraints so that they could be feasible for fmincon, linprog? There is, but it is generally no...

6 days ago | 0

Answered
Using contours and inpolygon, an issue of unclosed contours
There's no way to define a unique shape based on knowledge of just the isocontour line cooordinates. This gives you the boundari...

7 days ago | 0

Answered
mage segmentation of 3D X-Ray micro computed tomography images using Unet.
The examples here show basic steps for creating and training a Unet, https://www.mathworks.com/help/vision/ref/unet.html#mw_a26...

7 days ago | 0

Answered
Why does this code give error?
As you can see, VecteurDirectionnel and S are the wrong sizes for matrix multiplication, whos VecteurDirectionnel S % Array ...

8 days ago | 0

| accepted

Answered
DNN training 3D Parameters
The parameters you mention experimenting with do not include all the training options (see below for a more complete list). You ...

12 days ago | 0

Answered
Store arrays of different size in each for loop itertaion
b=sparse(sz(:,1)'); kkkk = nonzeros( (A(:)>=b & A(:)<=b+100).*(1:numel(A))' );

12 days ago | 0

Submitted


Block transposition, permutation, and reshaping of arrays
Analogues for transpose(), reshape(), and permute() but where sub-blocks of the array are treated as scalar elements.

12 days ago | 6 downloads |

Question


Why is it that Line objects can be instances of two different classes? How can I use findobj to detect only chart primitives?
Using findobj, I have ended up with two arrays of Line graphics handles, load handleArrays hL hD However, the arrays do ...

13 days ago | 2 answers | 1

2

answers

Answered
How to modify subplots to create a new subplots?
close all H(1)=openfig('pac4.fig'); ax1=flip(findobj(H(1),'Type','axes')); H(2)=openfig('pvc4.fig'); ax2=flip(findobj(H(2)...

13 days ago | 0

| accepted

Answered
Store arrays of different size in each for loop itertaion
kkk=cell(4,1); for i=1:4 kkkk{i} = find(A>=sz(i,1) & A<=sz(i,1)+100); end kkkk=vertcat(kkkk{:});

13 days ago | 0

| accepted

Answered
Using imageDatastore to load Input image and get output as predicted image
and predict an image as output of the model. Labels are text scalar that are assigned to an image in a classification problem....

15 days ago | 0

Answered
Most time-efficient conversion from logical matrix to fixed-point vector
n = 1e6; % number of fi objects m = 16; % number of bits of each fi object tic; A = randi([0,1], [n m], "logical"); t1 = toc...

17 days ago | 1

| accepted

Answered
Tracking the variation of the distance between optimization variable and the optimal solution over the iteration time
function x_opt = locao2(h, C, BS_positions, alpha,x0) objective = @(x) -calculatePDF(x(1), x(2), h, C, BS_positions, alph...

19 days ago | 0

Answered
Help with getting drawnow to show one point at a time
The loop variable i is not being used, Perhaps you meant to have, for i = 1:numel(roll) plotOrientation(op, roll(i), ...

21 days ago | 0

| accepted

Answered
The sufficient and necessary conditon of fmincon funciton can find out the global optimal solution but not some other local optimal solutions
fmincon has no awareness of, and so does not consider, the function's global properties, like whether it is convex or not. It on...

21 days ago | 0

| accepted

Answered
What is the finite nature of MATLAB?
It is not the finite nature of Matlab, but rather the finite nature of an FFT. You are not transforming a true sinc function bec...

21 days ago | 1

| accepted

Answered
Overloading subsrefs for class and using it from another method in the same class
As an alternative to subsref or set/get, you could look at RedefinesDot, but I find that the newer, modular indexing can have su...

22 days ago | 0

| accepted

Answered
Overloading subsrefs for class and using it from another method in the same class
No, subsref is only called by indexing operations invoked outside the classdef. This design decision was to avoid triggering rec...

22 days ago | 0

Answered
Passing Structure through fminsearch
If p is the unknown parameter vector, it must be passed separately from the fixed parameters, S.PHI=... S.TAU=... [p...

22 days ago | 0

| accepted

Submitted


ezplane
Plot an arbitrary 3D plane given its equation.

23 days ago | 1 download |

Answered
multiple 3D plane plotting
Using this FEX download, https://www.mathworks.com/matlabcentral/fileexchange/161351-ezplane planedip = 30; planeazim = 12...

23 days ago | 0

| accepted

Answered
Why do i get "Error using vertcat Dimensions of arrays being concatenated are not consistent" while using fmincon to do nonlinear optimization
However, as i searched, it seems appear for error in matrix calculation. there really isnt matrix calcualtion in my codes Certa...

23 days ago | 1

| accepted

Answered
Volume of union and volume of intersection of convex hulls?
Use intersectionHull from this FEX download to find the intersection, https://www.mathworks.com/matlabcentral/fileexchange/3089...

24 days ago | 0

Load more