Community Profile

photo

Matt J


Last seen: Today
7,295 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

세부 정보 보기...

참여 게시물
보기 기준

답변 있음
Getting the "Error running optimization. Too many output arguments." when running fmincon with gradient option in derivatives.
Any idea on where the issue may be? It sounds like you have set SpecifyObjectiveGradient=true. However, it does not appear from...

1일 전 | 0

| 수락됨

답변 있음
Passing options from subclass constructor to superclass?
Can't you just convert the options structure back to a cell array of name value pairs and use that to call the super class cons...

1일 전 | 0

| 수락됨

답변 있음
How can I recognize a mesh of points on the same plane?
In this example there are 11 frames, which are 2D structures made up of points located on the same plane and that said plane is ...

2일 전 | 0

답변 있음
Trying to get a function to apply to values in an array
One way to fix it, V=arrayfun(@(z)tank(10,z), d);

3일 전 | 1

| 수락됨

답변 있음
cftool and hyperdimensional data
It cannot, but lsqcurvefit can. https://www.mathworks.com/help/optim/ug/lsqcurvefit.html

3일 전 | 1

답변 있음
How to Use "Ask a Question" Section Correctly?
Clearing cookies was sufficient for me.

3일 전 | 0

질문


Using CUDA mex files interoperably with gpuArray
I have a 3rd party black box CUDA mex file. Every time I use it, it puts my GPU in a state such that gpuArray cannot subsequentl...

3일 전 | 답변 수: 1 | 2

1

답변

답변 있음
How do I remove any Column in a matrix
Nothing is wrong with the code you've posted, but it would be simpler to do, B=A(:,[1:n-1,n+1:end]); or, slightly less effici...

3일 전 | 2

| 수락됨

답변 있음
How to convert a cell containing sub cells to a vector
A={{{rand(5,1)},{rand(7,1)}},{rand(3,1)}}; %Example Vector=A; while iscell(Vector) Vector=cellfun(@(c) c(:), Ve...

3일 전 | 0

| 수락됨

답변 있음
How does vectorized lsqcurvefit() calculate sum-of-square, row-wise or column-wise?
if ydata is m-by-n, then sum-of-squares should be m-by-1. No. The objective function minimized by lsqcurvefit is always just, ...

3일 전 | 1

| 수락됨

답변 있음
Column multiplication of two 2D matrices.
I am planning to take sum along the third dimension That would simply give you A*B.'

3일 전 | 1

답변 있음
Column multiplication of two 2D matrices.
I doubt you will be able to do the computation with the matrix sizes you've indicated. The result will consume 3.5 TB of RAM in ...

4일 전 | 0

답변 있음
multiple loop do not loop
for i=1:noofcol for j=1:noofrow

4일 전 | 0

답변 있음
Rearranging a 512x64 matrix into a 32x1024 matrix
See reshape(). https://www.mathworks.com/help/matlab/ref/reshape.html

4일 전 | 0

답변 있음
Variance when only one observation is not NaN
A=myTable.A; pastvarofA=movvar(A,[4,0],'omitnan'); pastNaNs=movsum(~isnan(A),[4,0],'omitnan'); pastvarofA(pastNaNs<=1)=na...

5일 전 | 0

| 수락됨

답변 있음
Performance of Parfor Loops
Because even when you use just 1 worker, the Matlab code will to some degree be able to use all 8 cores that you have. To see if...

5일 전 | 0

답변 있음
EDITED: Variance when only one observation is not NaN
A=[1;2;3;NaN;5;5;6]; varofA = movvar(A,2,'Endpoints','discard')

5일 전 | 0

| 수락됨

답변 있음
Obtaining min value each month across several years
G=findgroups(filename(:,3),filename(:,4)); [mintemp,rowIndex]=splitapply(@func,filename(:,1),(1:numel(G)).',G) functio...

5일 전 | 0

| 수락됨

답변 있음
Problems running gpuArray function - CUDA driver
Make sure you've rebooted the computer after the installation.

5일 전 | 0

답변 있음
Optimization objective funcion containing a sum
s=sign(sum(PV(1:n,1))); if s<=0, b=1; else, b=0; end

7일 전 | 0

답변 있음
Optimization function with a summation
The solution is simply, b = zeros(144,5); b(PV(1:j)>0,:)=1;

7일 전 | 0

답변 있음
optimization using problem based
Are you sure t should be an optimvar? It seems to me it should be a set of discrete known values t = linspace(0,Time,N) Once...

7일 전 | 0

답변 있음
Error in fminsearch (line 200) fv(:,1) = funfcn(x,varargin{:});
Change the output of your function to a squared error over all 3 companies, or some other scalarization of the current output th...

7일 전 | 0

답변 있음
If I already had a function and some points(x,y), how can I find six parameters in a function?
fminspleas would be a good choice, https://www.mathworks.com/matlabcentral/fileexchange/10093-fminspleas seeing as 3 of your ...

7일 전 | 1

답변 있음
Find the symmetric and skew-symmetric matrices by 2x2 blocks
A=[ 0,-1, 2,3; 1,0, 4,2; -2,3, 0,-1; 4,-2, 1,0; ]; n=length(A)/2; mask = (-1).^( (1:2*n).' ...

9일 전 | 0

답변 있음
Has MATLAB implemented a polygon offset function?
Sounds like you could do that with polybuffer https://www.mathworks.com/help/matlab/ref/polyshape.polybuffer.html and polyshap...

9일 전 | 1

답변 있음
How to get fminimax work for both max and min objectives?
Using Sion's minimax theorem, the min and the max can be interchanged to give a much simpler problem, The solution to t...

9일 전 | 0

답변 있음
How to fit rectangles on blobs on binary image
regionprops(BW, 'BoundingBox')

10일 전 | 0

답변 있음
How to get fminimax work for both max and min objectives?
You could reformulate the problem as follows and solve the whole thing with fmincon. No non-differentiable minimizations require...

10일 전 | 1

답변 있음
How can I create a cell that splits a sequence of numbers (1 : n) in equal parts?
Using mat2tiles, https://www.mathworks.com/matlabcentral/fileexchange/35085-mat2tiles-divide-array-into-equal-sized-sub-arrays ...

11일 전 | 1

| 수락됨

Load more