Community Profile

photo

Matt J


6,052 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 バッジ

  • First Review
  • 5-Star Galaxy Level 5
  • First Submission
  • Master
  • Revival Level 4
  • 36 Month Streak
  • Thankful Level 4
  • Knowledgeable Level 4
  • First Answer

詳細を表示...

貢献した分野
表示方法

回答済み
Fminsearch to minimize norm of rms vector and thus giving me an optimized A and B matrix
fun=@(X) RMSE(X,Test_C,Test_D,Test_U,Test_t,Test_SV, Surge_field, Heave_field, Pitch_Angle_field, Pitch_Rate_field) X_Min = f...

1日 前 | 0

回答済み
Applying a change of variables inside fmincon
You could add a regularizing penalty to better specify the solution p_i in the cases where it is ambiguous. Maybe an L1 penalty ...

1日 前 | 0

回答済み
Applying a change of variables inside fmincon
If the dimension R^l is not too large, you could use vert2lcon https://www.mathworks.com/matlabcentral/fileexchange/30892-analy...

1日 前 | 0

回答済み
How to check if an entire column of string variables can potentially be converted to numerical values?
all(48<=yourMatrix(:) & yourMatrix(:)<=57)

2日 前 | 0

回答済み
Calculating statistical functions for a structure array which each cell has a different size
A structure array doesn't have "cells" and doesn't look like that. I assume you really mean your data is a cell array, in which ...

2日 前 | 0

| 採用済み

回答済み
For loop for summation
R= zeros(size(y)); N= -500:500; for j=1:numel(N) n=N(j); R = R + f(n).*y.^(-n); end

2日 前 | 0

回答済み
Produce matrix B from matrix A
B=[A(1,2:3); A(1:2,1).'; 10 11]

2日 前 | 0

回答済み
How to check if an entire column of string variables can potentially be converted to numerical values?
~any(isletter(yourMatrix(:)))

2日 前 | 0

| 採用済み

回答済み
Superimposing matrices in a specific location
Something like this, perhaps: [i0,j0]=deal(700,850); %target location [I,J,S]=find(smallMatrix); result = largeMatrix + ...

2日 前 | 0

| 採用済み

回答済み
Trouble calculating column mean from a matrix - using different indices for each row
[m,n]=size(myMatrix); %Edited e=1:n; mask=VariableIndex1(:)<=e & e<=VariableIndex2(:); result=sum(myMatrix.*mask,2)./sum(...

3日 前 | 0

| 採用済み

回答済み
Kron error when dealing with sparse gpuarrays
You may want to look at, https://www.mathworks.com/matlabcentral/fileexchange/25969-efficient-object-oriented-kronecker-product...

3日 前 | 0

回答済み
Use several pools of workers in a parfor loop
Your terminology is a bit confusing. There is only ever 1 pool of workers, but each worker may use multiple cores and the entire...

4日 前 | 0

回答済み
How to write your own function for infinity-norm of a matrix
To sum the rows of any matrix A, sum(A,2)

4日 前 | 0

回答済み
Fastest way to substitute elements in a matrix at given positions?
idx = sub2ind([n,m], repmat((1:n).',1,l) ,B); A(idx)=value;

5日 前 | 0

| 採用済み

回答済み
Matlab fmincon(function based) optimality issue :: constrained nonlinear optimization
But , in my case, optimality is very large even though the objective fval is converge (please check img.) Your plots are uninte...

5日 前 | 1

| 採用済み

回答済み
How to use fzero in a loop to obtain the first 3 positve solutions for cos3x=sin3x?
It seems like a strange homework problem, since it is so easily solved analytically. Well, assuming we play dumb to that, you ne...

5日 前 | 0

回答済み
gap filling with liner interpolation
A=xlsread('data.xlsx'); I=A==-9999; J=find(~I); B=A; B(I)=interp1(J,A(J),find(I));

5日 前 | 0

| 採用済み

回答済み
what is the source code of gridinterpolant function? what is the algorithm?
No, there is no way to see the souce code for griddedInterpolant.

5日 前 | 1

| 採用済み

回答済み
Sum of a series?
Hint: >> 1./(1:5) ans = 1.0000 0.5000 0.3333 0.2500 0.2000

5日 前 | 0

回答済み
Rasterize a triangle in 3-D space.
One way is to use vert2lcon, https://www.mathworks.com/matlabcentral/fileexchange/30892-analyze-n-dimensional-polyhedra-in-term...

9日 前 | 0

| 採用済み

回答済み
How to find the x and y coordinates corresponding to a given value of f(x,y)?
maxval=max(f(:)); [xmax,ymax]=find(f==maxval);

9日 前 | 1

| 採用済み

回答済み
Why do results of fft() on a matrix differ from fft() on one row as a vector?
The same dicrepancy exists with most Matlab functions that do operations along rows or columns. Here is the same test replacing ...

9日 前 | 1

| 採用済み

回答済み
why the script show wrong output can you help me?
tplot=[0:0.01:2*pi]; x=double(subs(pos,tplot)); y=double(subs(v,tplot)); z=double(subs(a,tplot)); p=plot3(x,y,z);

9日 前 | 0

回答済み
From a set of curves, how to find the one that the "most similar" to the reference curve?
The code below uses fminspleas https://www.mathworks.com/matlabcentral/fileexchange/10093-fminspleas to do a simple 1D registr...

10日 前 | 0

回答済み
Sparse gpuArray accumulation in for-loop
I would guess that your Kernel matrix is becoming less and less sparse as you accumulate until its memory consumption is growing...

10日 前 | 0

| 採用済み

回答済み
Optimization with loops Error in optim.problemdef.OptimizationProblem/solve
I believe it will probably involve multiplication by some upper triangle matrices of 1 with some other operations but I cannot w...

10日 前 | 0

| 採用済み

回答済み
Find the points on circumference of a circle
Okay Considering 5 pixels + or - for the inaccuracy to find all the x,y, points on the circumference; how can I find even those....

10日 前 | 0

回答済み
Matlab code to split an image into a square grid of square blocks
This uses mat2tiles (Download) A=mat2tiles( imread('cameraman.tif'), [32,32]); [m,n]=size(A); B=cell2mat(A(randperm(...

10日 前 | 0

| 採用済み

回答済み
Find matching points from two coordinate systems
If the shear component of the deformation isn't too strong, the matchpoints function defined below might work. It will sort the ...

11日 前 | 0

回答済み
Find cycles in an undirected graph
Because this sounds like a generally useful thing, I cooked up the attached polyregions class to do the partitioning that you de...

12日 前 | 1

| 採用済み

Load more