Community Profile

photo

Matt J


5,838 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.

連絡する

Matt J's バッジ

  • Master
  • Revival Level 4
  • 36 Month Streak
  • Thankful Level 4
  • Knowledgeable Level 4
  • First Answer

詳細を表示...

貢献した分野
表示方法

回答済み
How to speed up function approximation?
There are a few inefficiencies that I see. Firstly, you shouldn't pick an arbitrary StartPoint like [0.8,0.8]. The problem can b...

1日 前 | 1

| 採用済み

回答済み
Fit NonLinearLeastSquares to data and constrain curve to pass through point (0,1)
This answer incorporates Torsten's advice, but I also think you should re-formulate the model to make the exponential terms asym...

1日 前 | 0

回答済み
Right-truncating a lognormal distribution
I think this is right. How can I code this? function out=conditionalCDF(a,b,x,beta,sigma) pa=normcdf(log(a)-x*beta,0,sig...

2日 前 | 1

| 採用済み

回答済み
Coordinate system of matlab
However, i read that Matlab uses two types of coordinate systems which i find really frustrating and confusing at the same time....

2日 前 | 0

| 採用済み

回答済み
How to find the area of the object in the center?
impoly worked pretty well for me. The area in pixels was 1358238 h=impoly(); area=numel(h.createMask) % 1358238

4日 前 | 1

| 採用済み

回答済み
Plot feasible region of a high-dimensional linear programming along some dimensions
I tried to use this without success ... which stops with a long error message that I'm struggling to intepret. The error mess...

4日 前 | 0

回答済み
Quadratic Programming (quadprog):
Using your posted A matrix I find that >> cond(H) ans = 7.5703e+18 For numerical purposes, this is a singular matrix ...

4日 前 | 0

| 採用済み

回答済み
Increasing the bounds of integration on a strictly positive function decreases the result
A plot of the function reveals highly oscillatory behavior in the interval [-2e-6,0] which then flattens out to zero in [-1,-2e-...

4日 前 | 0

| 採用済み

回答済み
Can multiple classes share external methods without inheritance?
Is it possible to have external methods that multiple classes share? It sounds like the "external methods" you are trying to im...

4日 前 | 1

回答済み
How do I help quadprog converge?
Is checking that the constraints are satisfied and the optimality measure is low a good rule of thumb for making this decision? ...

5日 前 | 0

回答済み
How to find mean line of the this edge?
Try bwskel

6日 前 | 0

回答済み
Insert desired number of spaces in the string contains numerical value
How about txt="0 STR "+1

6日 前 | 0

回答済み
Regression of a vector in a optimization problem
As the others have said, all regression routines in the Optimization Toolbox allow you to represent the unknown variable in vect...

7日 前 | 0

| 採用済み

回答済み
abstract class with inherite handle class
You cannot create an instance of an abstract class. Also, your constructor expects arguments EEG and INFO, which you have not pr...

9日 前 | 1

回答済み
indexing takes a very long time
It takes a long time because every time you execute the line b = A(i:i+10,i+10,:) memory is allocated for b. Instead of itera...

9日 前 | 0

回答済み
How to setup gamultiobj to "explore farther" along a specific objective?
Maybe redefine Obj2 so that it jumps from 16.6 to infinity, Obj2 = Obj2-1+1/(Obj2<16.6)

9日 前 | 0

回答済み
Loss function in CNN
I expect you might have to feed the hidden layer outputs forward, making them inputs/outputs of your custom output layer. That w...

12日 前 | 0

回答済み
How to add an extra column to a 1x1 structure
I can't be sure from your description exactly what you are trying to do, but it sounds like a table might be much better for wha...

12日 前 | 0

回答済み
Extracting part of an image
Use impoly instead of drawpolygon. Use the createMask() method of the impoly object h to extract the ROI pixels pixelvalues = y...

12日 前 | 0

回答済み
How to find out the cordinates of the intersection point of a line and a surface?
Plug the equation for the line into the equation for the surface and use fzero to find the root. This root will give the locatio...

22日 前 | 1

| 採用済み

回答済み
How to make a long equation line more efficient?
I thought this should help because I have hundreds of these instances If the expression came from matlabFunction, be sure you a...

22日 前 | 0

回答済み
Finding threshold for skull segmentation of Head CT images
What about multithresh()?

22日 前 | 0

| 採用済み

回答済み
"fmincon" optimization with nonlinear constraints: colon error
You are returning a function handle in c_eq, when really you should be evaluating the function at Cpv, c_eq = Anonymous(Cpv); ...

22日 前 | 0

| 採用済み

回答済み
Fast 2D distance calculation
If you have the Parallel Computing Toolbox, you can execute the computations on the GPU just by building p1 and pn as gpuArrays....

22日 前 | 0

送信済み


Structure fields to variables
Code writing tool for importing/exporting workspace variables to or from a struct.

22日 前 | ダウンロード 29 件 |

回答済み
Can I Dynamically Overload A Class Method?
You can't dynamically overload a class method, but you can get the same effect by making function handle properties that dictate...

22日 前 | 0

回答済み
Division by an OptimizationVariable not supported.
The problem-based solver is largely limited to linear and (in R2019) quadratic programs. If you find yourself computing non-line...

24日 前 | 0

| 採用済み

回答済み
How to use Matlab to fill gaps
This might be what you are looking for Mnew=M; [nr,nc]=size(M); xq=(1:nr).'; for i=1:nc m=M(:,i); ...

24日 前 | 1

| 採用済み

回答済み
How to use linear interpolation for filling with 3s inside empty spaces in a matrix of os and 3s
One way: result = sqrt(cummax(M,1).*cummax(M,1,'reverse'))

25日 前 | 0

回答済み
lsqcurvefit not adjusting some parameters as expected
It helps to pre-normalize your x,y data and to use polyfit to generate a smart initial guess, %data pre-normalization y=y.'/ma...

25日 前 | 0

| 採用済み

Load more