Community Profile

photo

Matt J


Last seen: 1日 前 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
  • Personal Best Downloads Level 4
  • First Review
  • 5-Star Galaxy Level 5
  • First Submission
  • Master
  • Revival Level 4
  • 36 Month Streak
  • Thankful Level 4
  • Knowledgeable Level 4
  • First Answer

バッジを表示

Content Feed

表示方法

回答済み
If the quadprog problem is infeasible, how i can solve it with a certain tolerance?
It never really makes sense to have more equality constraints (here 36) than you do unknowns ( here 6). In order for the problem...

約18時間 前 | 0

回答済み
How to construct a "ones" matrix with zero blocks in the diagonal
repelem(1-eye(4),4,4)

1日 前 | 1

回答済み
Iterative solution of non-linear equation with a provided guess value?
You could use fzero's OutputFcn option https://www.mathworks.com/help/optim/ug/fzero.html#btn3z5s-options to access the sequen...

1日 前 | 0

回答済み
Iterative solution of non-linear equation with a provided guess value?
Using fsolve() instead of fzero(), you could solve the problem as a system of two equations in two unknowns. The two unknowns ar...

1日 前 | 0

回答済み
Failure in initial user-supplied nonlinear constraint function evaluation
One problem: nonlcon = @simple_constraint; There is no function called 'simple_constraint' in your attached script. There is a...

2日 前 | 1

回答済み
for loop for permutations of for length of array
List=nchoosek([a,b,c],2); for i=1:size(List,1) p1=List(i,1); p2=List(i,2); ... end

3日 前 | 1

| 採用済み

回答済み
2*2 Matrix factorization/decomposition
I also found out what I wanted may have something to do with PLU(permuted lower upper decomposition), but am clueless to how to ...

3日 前 | 0

回答済み
How can I call a script within a for loop, looping over multiple files?
result = scriptname(ID{nSubject},Visit{nVisit});

3日 前 | 0

| 採用済み

回答済み
I am trying to find the exact distance of a curvy line.
Why not as follows? I2 = imread('image.jpeg'); blue=bwareafilt( I2(:,:,1)<=50 & I2(:,:,2)<=50 & I2(:,:,3)>=200, 1); Len...

4日 前 | 0

回答済み
Number of branches per branch point
Perhaps as follows: k=ones(3); k(5)=0; neighborCount=conv2(double(BW),k,'same'); neighborCount=neighborCount.*(neighborCo...

4日 前 | 0

| 採用済み

回答済み
Rank deficient error.
Are you attempting to do matrix division? if not use ./ instead.

4日 前 | 1

| 採用済み

回答済み
Merge struct with matrix
You cannot avoid a for-loop altogether, but you can avoid writing your own for-loop as follows: tmp=num2cell(modelOutputSignal,...

4日 前 | 0

| 採用済み

回答済み
Unable to detect Iris boundary using imfind circles
Increasing the lower radius bound as suggested by @Jonas as well as increasing the sensitivity setting seems to help: A=any( im...

4日 前 | 0

| 採用済み

回答済み
adjusting the code from optimization output from minimum to maximum
fun=str2func(FUNCTION_NAME); fun=@(x) -fun(x); [Scaled_x_Single,fval,exitflag,output,population,scores] = ga(,3,[],[],[],[],...

5日 前 | 0

質問


Re-import a binary map into Image Segmenter or Color Thresholder
I have generated a binary mask of an image using the Image Segmenter app. I am wondering if it is possible to re-import that mas...

5日 前 | 1 件の回答 | 0

1

回答

回答済み
Find elements from a submatrix in the main 3D matrix
[row,col]=find( reshape( ismember(M(:),A(:)) , size(M) ) );

5日 前 | 1

| 採用済み

回答済み
How to smooth data to a negative curve
Thie File Exchange submission allows you to do spline smoothing with monotonicity constraints: https://www.mathworks.com/matlab...

5日 前 | 0

| 採用済み

回答済み
Create new field on struct from names on existing field
names={Stimuli.names}; idxBlue=contains(names,["H1" "H2" "H3"]); idxRed =contains(names,["H4" "H5" "H6"]); [Stimuli(idxBlue...

5日 前 | 0

| 採用済み

回答済み
How to guide bwconncomp to specific region of image?
If you have a binary circleMask of the circular region, you can use bwlmaskpropfiltn (Download) to eliminate all objects in a la...

5日 前 | 0

回答済み
Calculating efficiently the euclidean distance
In recent Matlab, you can just do, vecnorm(A(:, 1:2) - A(:, 3:4),2,2); In less recent Matlab, you can do, sqrt(sum( (A(:, 1:...

6日 前 | 1

| 採用済み

回答済み
How to map subdivisions in a squared geometry
I can't tell from your code what the rules are that determine which cells are connected to or interact with other cells. However...

6日 前 | 0

回答済み
Confusing about applying weighted least square for constant fitting
I would recommend lscov p=lscov(x(:).^[1,0],y,w/N); yfit=polyval(p,x)

6日 前 | 0

| 採用済み

回答済み
How to run a matlab function using a button pushed in AppDesigner
The typical way would be to invoke addition() from your callback the way you would from any ordinary function, function Execute...

6日 前 | 1

| 採用済み

回答済み
How to generate a connection graph with vertices and edges
I don't know if you even need a for-loop. You should probably just build a graph object using one of the syntaxes listed in the ...

6日 前 | 1

| 採用済み

回答済み
Delete the line that are repeated
what I want to do is to delete from the old strings the lines that are in the new one. For example, oldstring=["dog"; "fish"; ...

6日 前 | 0

回答済み
Get coefficients of variables in constraints (solver-based approach)
Yes, you can use prob2struct or prob2matrices: https://www.mathworks.com/matlabcentral/fileexchange/74481-prob2matrices-a-sele...

7日 前 | 2

| 採用済み

回答済み
fitting straight line to part of data and extrapolate to x-axis at y = zero
region=(y<0.01); p=polyfit( x(region),y(region) ,1); xroot= roots(p) % the extrapolated root

7日 前 | 0

回答済み
Why can I not open task in live script?
I don't know for sure if this applies to you, but I experienced similar errors due to some modifications to default groot settin...

7日 前 | 0

質問


ConvNets and sliding windows
(Rephrased) I am starting to play with the Deep Learning Toolbox and deepNetworkDesigner. An example of what I'd like to be abl...

7日 前 | 1 件の回答 | 0

1

回答

もっと読み込む