Matt J
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
RANK
6
of 294.421
REPUTATION
30.929
CONTRIBUTIONS
266 Questions
11.830 Answers
ANSWER ACCEPTANCE
77.82%
VOTES RECEIVED
4.092
RANK
209 of 20.110
REPUTATION
6.514
AVERAGE RATING
4.90
CONTRIBUTIONS
38 Files
DOWNLOADS
261
ALL TIME DOWNLOADS
54705
RANK
of 151.653
CONTRIBUTIONS
0 Problems
0 Solutions
SCORE
0
NUMBER OF BADGES
0
CONTRIBUTIONS
0 Posts
CONTRIBUTIONS
0 Public Channels
AVERAGE RATING
CONTRIBUTIONS
3 Highlights
AVERAGE NO. OF LIKES
2
Feeds
I have shifted from lsqnoneg to lsqlin because lsqnonneg does not support additional constraint is it right or wrong choice?
If your lsqlin can solve your problem, then there is usually never any reason to use lsqnonneg. lsqnonneg is for nonlinear least...
ongeveer 4 uur ago | 0
Why is my hamming window and rectangular window values the same for sigma_omega when I make L = 21?
% Set window length L = 21 L = 21; % Generate rectangular and Hamming windows rect_window = window(@rectwin, L); hamming_w...
ongeveer 18 uur ago | 0
| accepted
How to identify Gaussian type maxima in an image
using imregionalmax i can generate a list of candidate. I wanna check each one now. I may like to filter the one which are non s...
3 dagen ago | 0
transform linear inequality constraints into bound constraints for optimization solvers
Yes, a set A*y>=0 is a cone and so can equivalently be expressed as where are the so-called extreme rays of the cone and are ...
3 dagen ago | 0
Cannot define a cell array of custom classes in function argument validation
classdef Session < handle %SESSION Summary of this class goes here % Detailed explanation goes here properties (Acc...
3 dagen ago | 1
How to convert two nested for-loops to one parfor loop.
It does not seem advisable to use parfor. Everything in your code is vectorizable. However, here is what a parfor approach could...
7 dagen ago | 0
| accepted
Why can't we define properties on enumerations extending from built-in classes?
I don't know why. I suspect it is for the same reason why builtin indexing and concatenation no longer works when you add proper...
8 dagen ago | 0
| accepted
Why did CD folder; give such a goofy error message when I just forgot ()
Because cd apploc is equivalent to, cd('apploc') This is a general thing in Matlab function-calling syntax. For any functio...
10 dagen ago | 1
moving median with variable window
Anyway, I will be very happy for any hint how to apply robust median filter on my use case, where separate parts of signal shoud...
12 dagen ago | 0
moving median with variable window
x = rand(1,6) k = [2,3,3,5,3,2]; n=numel(x); J=repelem(1:n,k); I0=1:numel(J); splitMean=@(vals,G) (accumarray(G(:),vals...
13 dagen ago | 0
Minimum CUDA driver version which works with R2024a
The driver version you need is a function of your GPU card. Why not just install the latest one as the error message suggests? ...
13 dagen ago | 2
Modifying arrow length based on intersection with polygon
An alternative to Mike's approach using linexlines2D() from the File Exchange, https://www.mathworks.com/matlabcentral/fileexch...
18 dagen ago | 1
Should table Indexing be Faster?
I haven't profiled it, but I would bet that the following line, from @tabular/braceReference b = t.extractData(varIndices); is...
20 dagen ago | 1
| accepted
N-dimension curve fit how to
Perhaps polyfitn will help, https://www.mathworks.com/matlabcentral/fileexchange/34765-polyfitn
22 dagen ago | 0
How to speed up vectorized operations for dynamic programming
This might be a little faster. betaPZtransp=beta*PZ'; tic while err>tol && iter<=max_iter RHS = Ret + reshape(V0*bet...
22 dagen ago | 1
| accepted
Is there a meaningful guideline on when to use parentheses vs square brackets vs curly brackets in writing MatLab code?
General If we forget about indexing for the moment, it becomes very simple. Function calls use parentheses, and only parenthese...
22 dagen ago | 2
Chasing what is wrong with 'dual-simplex-highs' in linprog
It doesn't like your super-small Aeq values. load('linprog_test.mat') Aeq(abs(Aeq)<1e-8)=0; linprogopt = optimset('Algori...
24 dagen ago | 1
How to log the data in the workspace without modifying the content of the for loop?
What does "log the data" mean? Do you mean you want to store it to a file on disk, or do you want to store it in some sort of ar...
25 dagen ago | 0
whether is imageInputLayer flattened?
No, an imageInputLayer does not reshape the input that it receives, as demonstrated in the following, net=dlnetwork(imageInputL...
25 dagen ago | 0
| accepted
Question
Accessing network drives from within Matlab
I have two Windows 10 computers running Matlab 2023b on the same network. On one computer, I am able to reach a remote network d...
26 dagen ago | 1 answer | 0
1
answerHow to quantify shape similarity between two vectors.
Perhaps you could use correlation-based similarity? x1 = 0:0.1:10; Y1 = gaussmf(x1,[0.8 5 ]); Y2 = gaussmf(x1,[0.8 3 ]); Y3 ...
27 dagen ago | 0
I need to apply constrain using least square non negative function in Matlab
Use lsqlin instead.
ongeveer een maand ago | 0
Slice of a 3D plot and projection of that function in a plane.
[x,y,yhalf]=deal(linspace(-2,2,100)); yhalf(y<0)=nan; Z = exp(-( x.^2 + y.^2')); figure, mesh(x,yhalf,Z,'FaceAlpha',1); ...
ongeveer een maand ago | 0
| accepted
Why imregtform registration fails on similar images
Perhaps as follows, load Images g=@(z) entropyfilt(z); f=@(z) z.*(z>=1.5); im=f(g(im)); ref=f(g(ref)); ov=imref2d(size(i...
ongeveer een maand ago | 0
How to numerically evaluate this singular integral in integral2?
As demonstrated in the comment above, the integral is theoretically non-convergent unless c>=norm([10/a,10/b]). Here is a furthe...
ongeveer een maand ago | 1
Simply trying to find a value in the same row as my known value but in a different column.
Everything I have tried also gives me an answer of "0×1 empty double column vector," but without any value. You haven't shown...
ongeveer een maand ago | 0
Poor performance of linprog in practice
There are some papers in the computational literature that show that if you recast a DP problem as LP problem you can achieve si...
ongeveer een maand ago | 0
| accepted
Can we specify an "outward" direction to normal obtained from pcfitplane approach?
I doubt you can, but it shouldn't matter. If the normal is pointing the wrong way, just post-process the fit by flipping its dir...
ongeveer een maand ago | 0
Out of memory when solving large system of non-linear equations (fsolve, fminunc, ...)
I have more then 50000 variables. And ideally, I still want to scale up to number of variables. This means your Jacobian matrix...
ongeveer een maand ago | 1