Community Profile

photo

Matt J


Last seen: Today
7,455 total contributions 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.

Contact

Matt J's Badges

  • 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

View details...

Contributions in
View by

Answered
computing the cumulative matrix with some conditions
Is this what you want? T=[0, 2, 4, -5] ; result=cumsum(T(AR))

2 hours ago | 0

Answered
intersection area of 3 or more rectangles
If you put your rectangles in the form of a polyshape vector (I'll call it polyvec), then it is very easy: Area = area(intersec...

1 day ago | 0

Answered
overall area of intersecting rectangles
If you put the rectangles in the form of a polyshape vector, poly, then it is quite easy: Area= area(union(poly));

1 day ago | 0

Answered
Concatenate matrices not the same size - without NaN
Is there an existing function for this There is now: a=NaN; C = padcat(a, [1 2 3; 4 5 6; 7 8 9] , [1 2; 3 4] ) functi...

1 day ago | 1

| accepted

Answered
fsolve terminate far before finding answer when using TolFun option
Can anyone help me to know how should I solve this issue You should make TolFun a lot smaller. Note that x_solution and TolF...

1 day ago | 0

Answered
Shift columns of a matrix with different values
A = [10, 12, 14, 11; 8 , 10, 13, 10; 7 , 8, 12, 8; 6 , 7, 10, 7; 5 , 6, 8, 6; 3 , 5, 7, ...

2 days ago | 0

Answered
Shift columns of a matrix with different values
A = [10, 12, 14, 11; 8 , 10, 13, 10; 7 , 8, 12, 8; 6 , 7, 10, 7; 5 , 6, 8, 6; 3 , 5, 7, ...

2 days ago | 1

Answered
Troubles with MATLAB genetic algorithm nonlinear constraint function
If you re-run your code after executing, >>dbstop if caught error you will be able to trace the problem.

2 days ago | 1

Answered
How to fit an exponential curve? error: Dimensions of arrays being concatenated are not consistent
Did you mean, [[ones(size(time)); -exp(-time)].\E_f; ones(size(time))]

5 days ago | 0

Answered
Why does subclassing a numeric type break its use as a property of a custom class?
1. Why does my code work for double but not ExtendDouble? The ExtendDouble example is old. It's subsasgn() method was not writt...

5 days ago | 2

| accepted

Answered
How can I create a vector like this : X = [1, 2, 1, 2 ......
X=ones(1,n); X(2:2:end)=2;

6 days ago | 2

Answered
For loop with nested if loop
Perhaps this is what you want, condition=( (HipVel > .0014) & (KneeAngle < minAngle); drop_time = VJ_P1_T1.data( condition ...

6 days ago | 0

Submitted


whosGPU
Provides WHOS-like output for gpuArray variables in the current workspace.

6 days ago | 1 download |

Answered
General conic curve fit with constrained coefficients
Here's a basic analytical fit, using the tools in this File Exchange package: [xy,T]=conicFit.homogNorm([x(:),y(:)].'); x=xy...

6 days ago | 0

| accepted

Answered
How to check the Bytes of gpuArray?
See whosGPU (Download).

7 days ago | 0

Answered
Obtain memory usage and class for GPU variable
See whosGPU.

7 days ago | 0

Answered
GPU equivalent of "whos" or "feature memstat" ?
See this File Exchange submission, https://www.mathworks.com/matlabcentral/fileexchange/88024-whosgpu

7 days ago | 0

Answered
Fontsize using Latex interpreter
You can set fontsizes as shown here, https://www.mathworks.com/matlabcentral/answers/350036-latex-interpreter-with-sentences-an...

7 days ago | 0

| accepted

Answered
how to write a bisection loop?
Because y is a polynomial, it is much more expedient to use roots(), y = [(-0.50598*10^-10) , (0.38292*10^-7) , (0.74363*10^-4)...

7 days ago | 0

Answered
How to compare two strings with different sizes?
Another guess: a = 'AAGCTACGC'; b = 'ACGCAA'; match = ( a(:)==b )

7 days ago | 0

| accepted

Answered
feval distorted in ga after using nonlinearconstr
The main thing I see that looks out of place is that is the role of SSP_restored_1st15day. If it is a variable, I cannot see wh...

8 days ago | 0

| accepted

Answered
How can I plot ln(1-x)/x using colon operator?
x = linspace(-10^(-15),10^(-15),300); f = log(1-x)./x; plot(x,f)

9 days ago | 0

| accepted

Answered
How to plot a graph that I already have in on paper
Yuo can use this, https://www.mathworks.com/matlabcentral/fileexchange/7173-grabit to extract the points on the curve, which y...

9 days ago | 0

Answered
Check if nullspace is contained in another + finding intersection of 2 nullspaces.
Hints: (1) Consider [null(A), null(B)] (2) Consider [A;B]

9 days ago | 1

Answered
Linear programming code not showing the solution
As long as your feasible set is bounded, you can use this FEX submission instead, https://www.mathworks.com/matlabcentral/filee...

9 days ago | 0

Answered
exp(-b/x) fit, inf problem when fitting
When x goes to zero, y should go to zero as well since anything power negative infinity is zero. Only if b>=0. g = fittype('ex...

10 days ago | 0

| accepted

Answered
accumulating unique indices in array
B = histcounts(A,1:max(A)+1)

10 days ago | 0

Answered
Sum subarrays of a Matrix.
Using sepblockfun https://www.mathworks.com/matlabcentral/fileexchange/48089-separable-block-wise-operations out=sepblockfun(A...

10 days ago | 1

Question


Recover former state of Matlab Editor
I had quite a few files open in the Matlab Editor, but then inadvertently closed the editor window. Is there any way to re-open ...

12 days ago | 1 answer | 0

1

answer

Load more