Community Profile

photo

Matt J


Last seen: Today
6,608 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 배지

  • 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

세부 정보 보기...

참여 게시물
보기 기준

답변 있음
Perform processing over each row of table starting from first non-zero element in that row
Your question implies that all elements of the table are numeric., e.g., T = 5×3 table Var1 Var2 Var3 ...

약 5시간 전 | 0

답변 있음
Returning values from Blockproc
You could use mat2tiles https://www.mathworks.com/matlabcentral/fileexchange/35085-mat2tiles-divide-array-into-equal-sized-sub-...

약 11시간 전 | 0

답변 있음
Column space of a matrix
You can use this FEX submission, https://www.mathworks.com/matlabcentral/fileexchange/77437-extract-linearly-independent-subset...

약 12시간 전 | 0

답변 있음
How to label sorted variables
Maybe what you want: >> labels=string({"A","B","C"}); >> x = [1,1,3; 2,2,1; 3,3,2]; >> labels(x) ans = ...

약 12시간 전 | 0

답변 있음
FSOLVE requires all values returned by user functions to be of data type double
The result I get from this is, xc = 0.1000 0.1500 0.2000 0.2500 0.3000 0.3500 0.4000 ...

약 12시간 전 | 0

| 수락됨

답변 있음
Matrix 2-norm Condition number
sadly this isn't the first tine that the equal function fails with me and don't know the reason. The isequal() function didn't ...

약 14시간 전 | 0

| 수락됨

답변 있음
Adding two linear inequality constraints in Optimization toolbox
But the optimization algorithm should still be able to handle it, right? Can it be accomodated in Aineq and bineq? One way you ...

4일 전 | 0

답변 있음
Interpolate values to the nearest 0.25 and create indices for these values
vals=linspace(0,8,32+1); rp1(:)=interp1(vals,vals, rp1(:),'nearest')

5일 전 | 0

| 수락됨

답변 있음
How to extend line of best fit to find x intercept ?
roots(p)

5일 전 | 1

| 수락됨

답변 있음
Operator '-' is not supported for operands of type 'cell'.
Check the contents of ATtable{1,3} and ATtable{1,5}. I bet they're not numbers.

5일 전 | 0

답변 있음
How to draw a graph for function with constraints?
fimplicit(@(x,y) x.^2 + 4*x.*y +5*y.^2 - 10,'r'); hold on; fcontour(@(x,y) 3*x+4*y) ; hold off

5일 전 | 0

| 수락됨

답변 있음
Unable to perform assignment because the size of the left side is 98-by-50 and the size of the right side is 98-by-32.
Make the right hand side and the left hand side the same size.

5일 전 | 0

답변 있음
Repeatedly interpolating from scattered to regular grid with varying sample values
You can change the Values property of the scatteredInterpolant object. That can eliminate significant object re-building time, a...

5일 전 | 1

| 수락됨

답변 있음
Constraint function in optimization toolbox
As far as I can see from your code, the mass flow constraint is linear in para. You would use the linear inequality constraint a...

5일 전 | 0

| 수락됨

답변 있음
Creating optimization constraint with loop is too slow
The problem-based framework is not built for speed. It's built to make setting up small problems easy. So, it's already question...

6일 전 | 0

| 수락됨

답변 있음
Does anyone know how to use the matlab to calculate the minimu distance between a point outside oval and the oval surface?
You can use trustregprob from the File Exchange https://www.mathworks.com/matlabcentral/fileexchange/53191-quadratic-minimizati...

6일 전 | 0

| 수락됨

답변 있음
coefficient determination of two variables
lsqcurvefit would be one choice, https://www.mathworks.com/help/optim/ug/lsqcurvefit.html Note that your equation can be reorg...

7일 전 | 1

| 수락됨

답변 있음
How should I store the value of f(x) in the output of fsolve?
>> norm(fval).^2 ans = 3.2953e-13

7일 전 | 0

제출됨


Extract linearly independent subset of matrix columns
Loop-free code routine to find a maximal subset of linearly independent columns in a matrix

8일 전 | 다운로드 수: 3 |

답변 있음
counting how many times a certain value is repeated in a fixed interval
If you have the Image Processing Toolbox, reg=regionprops(X,'Area'); score = sum(structfun(@(a) floor(a/2), reg))

8일 전 | 0

답변 있음
How to get the minimum number of rows that, if removed, reduces the rank.
Well, if A were full rank, it's rank would be min(size(A)); So, perhaps you want the difference between this and the actual ra...

8일 전 | 0

답변 있음
splitting a matrix into vectors
See here, https://www.mathworks.com/matlabcentral/answers/554587-making-a-row-vector-from-a-nxn-matrix

9일 전 | 0

답변 있음
Removing zeroes from 3d matrrix
reshape(nonzeros(Fx),11,2,3);

9일 전 | 0

답변 있음
How to divide an images into two parts?
Use the save command, save filename Image1 Image2

11일 전 | 1

답변 있음
How to disable a toolbox
Add all your code to the top of the Matlab path using addpath https://www.mathworks.com/help/matlab/ref/addpath.html#btpdm64-5 ...

11일 전 | 0

| 수락됨

답변 있음
Making a row vector from a nxn matrix
>> BCD=num2cell(A,2); >> BCD{:} ans = 1 2 3 ans = 4 5 6 ans = 7 8 ...

11일 전 | 0

| 수락됨

답변 있음
Using a for loop to find max value for each row in matrix
Just use max() >> A=rand(1001,251 ); >> rowmax=max(A,[],2);

12일 전 | 0

| 수락됨

답변 있음
why lsqlin constraint, lsqnonneg do not answer correctly
To get reasonable results, the problem needs to have a reasonable solution.

13일 전 | 0

답변 있음
How to get bounding boxes around rectangular rooms which are rotated by some angle ?
You could also use this FEX file to get the vertices of each room, https://www.mathworks.com/matlabcentral/fileexchange/74181-f...

13일 전 | 0

| 수락됨

답변 있음
Numerical operations are slow on class properties versus in workspace
It is the repeated M-coded function calls that are slowing you down. Implement the whole loop in a single function call: ...

13일 전 | 0

Load more