Community Profile

photo

Matt J


Last seen: 1 day ago Active since 2009

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

View badges

Content Feed

Answered
How to fit an ellipse to an image in matlab.
You can use ellipticalFit from this FEX download /matlabcentral/fileexchange/87584-object-oriented-too...

5 hours ago | 0

Answered
Copy a file to a parent folder
Is there a way to fun a script from inside the subfolder to copy the file up one level? Yes, but I wonder why you think the scr...

6 hours ago | 0

Answered
combination of two matrcies
S=log(kron(exp(4*L), exp(M)))

6 hours ago | 0

Answered
How do you build the matrix for finite difference 2D Laplace equation
Using func2mat from this download, /matlabcentral/fileexchange/44669-convert-linear-functions-to-matri...

1 day ago | 0

Answered
Brace Indexing Not Supported when in matlab app designer but when transferred to matlab script, it works properly.
I also tried to use msgbox() just to see what is stored in app.StudentName. Why use msgbox()? Why not just pause execution and ...

1 day ago | 0

Answered
Computing on multiple notes with multiple cores
The problem is, that the outer loop has 10 repetitions and the inner loop 50 repetitions Combine the loops into one, i.e., inst...

2 days ago | 1

| accepted

Answered
Implicit expansion for griddedInterpolant
Use the grid vector syntax of griddedInterpolant: zq=J({xq,yq})

2 days ago | 1

| accepted

Answered
Applying an affine transformation of one image to another image
Use imregtform to do the registration instead. Then use imwarp to apply the transformation that imregtform gives you.

2 days ago | 1

| accepted

Answered
Using Optimizing Nonlinear Functions to find mutiple variations
There are also FEX downloads that can do gauss fitting for you, e.g., /matlabcentral/fileexchange/6911...

3 days ago | 0

Answered
How to find the position index of vector array
start=find(A(1,:),1,'first'); stop=find(A(1,:),1,'last');

3 days ago | 0

| accepted

Answered
Plotting Ellipsoids on XYZ graphs.
You can plot an arbitrarily oriented ellipsoid using this FEX download /matlabcentral/fileexchange/875...

3 days ago | 0

Answered
Issue with gradient of interpolated data
Here are some applicable FEX submissions (which I myself have not used), /matlabcentral/fileexchange/8...

3 days ago | 0

Answered
Elegantly refer to the second output from a function
data = (1:8)*100 result = data( argEval(2,@ismember,1, [0,1,2,3,4,5])) function out=argEval(n,fh, varargin) %Get the n-th...

3 days ago | 1

Answered
for loop keeps putting out error
% Loop to generate garden layouts along the length for start_y = 0:spacing:garden_length % Plot the garden layout for ...

3 days ago | 0

Answered
Find the volume of the region bounded between the planes x + y + 2z = 2 and 2x + 2y + z = 4 in the first octant.
Using this FEX download, /matlabcentral/fileexchange/30892-analyze-n-dimensional-convex-polyhedra [A...

3 days ago | 0

Answered
Reduce the number of elements tretamesh
This looks applicable, /matlabcentral/fileexchange/87112-isocut?s_tid=srchtitle in particular IsoCut...

4 days ago | 1

Answered
MATLAB out of memory, Image Processing
imageDatastores are provided for situations like that.

4 days ago | 0

Answered
How to plot a shifted signal?
One way: t=linspace(0,2*pi); y=sin(t); plot(t,y,t-pi/2,y,'x'); legend Original Shifted

4 days ago | 0

Answered
How to subtract 1 from a property of every instance of a class in an array?
If possible I would like to do this without using a FOR loop for speed. There is no way to do it faster than a for-loop, but th...

4 days ago | 0

Answered
select rows based on the value of the last column of the matrix
This solution requires only 1 sorting operation. A = [334 1358 175 3 335 1359 176 3 335 1359 175 1 336 1360 176 2 337 1361 ...

8 days ago | 1

| accepted

Answered
save each struct to vector-like format
I think you have a misunderstanding about what a struct is. None of the variables in your code are structs. However, the followi...

8 days ago | 0

Answered
keep a firm column in scrolling
Perhaps put the still-column in its own separate table, but position them side-by-side so that they look like just one table.

8 days ago | 0

| accepted

Answered
How to append text and numbers into a title
start_month=12; start_day=1; mth = month(datetime(1, start_month, 1), 'Name'); % To get the name of the month title({'C. Beau...

8 days ago | 1

Answered
common legend and common for multiple plots
% Make up data: xivals = 1:10; intul = rand(1,10); intabsul = rand(1,10); intur = rand(1,10); intabsur = rand(1,10); %...

8 days ago | 0

| accepted

Answered
How can the plot be divided into 2 using the graph line?
Perhaps something like the following: load roadPoints [X,Y]=ndgrid(0:2.5:100); p1=polyshape([roadPoints;min(roadPoints(:,...

9 days ago | 1

| accepted

Answered
adding all fields of a structures
Tables=arrayfun(@(f)mystruct.(f) ,"bin_"+(1:10) ,'uni',0); my_new_struct.Bin=vertcat(Tables{:});

9 days ago | 1

Answered
Remove non-finite values while decimating
Likely, there are NaNs in your data that you have to remove. find(~isfinite(data{:,4}))

10 days ago | 0

Answered
Curve fitting a function that is dependent on a difference of 2d functions
The Curve Fitting Toolbox is meant for fitting a small number of parameters. Here, you have 15 parameters, so you should use ls...

11 days ago | 0

Answered
Display 4D double size with Editor datatips
If you mean you want the dimensions displayed in the form AxBxCxD, I don't think there is any way to have the Editor datatip do ...

11 days ago | 1

Load more