Community Profile

photo

Matt J


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

Statistics

All
  • Grand Master
  • Most Accepted 2021
  • Editor's Pick
  • Personal Best Downloads Level 4
  • First Review
  • 5-Star Galaxy Level 5
  • First Submission
  • Revival Level 4
  • 36 Month Streak
  • Thankful Level 5
  • Knowledgeable Level 5
  • First Answer

バッジを表示

Content Feed

回答済み
Having trouble getting my gaussian filter to display filtered image.
% Load the image and convert it to grayscale if necessary img = imread('cameraman.tif'); if size(img, 3) == 3 img = rgb2g...

約10時間 前 | 0

| 採用済み

回答済み
Trying to run my code in GPU
Your code isn't gettng the benefit of the GPU because you are not applying any parallelized functions to your gpuArray, A. In th...

約10時間 前 | 0

回答済み
How to standardize an array so that the maximum value is 1 and minimum is -1 keeping the zero value as zero?
A=[-1 -2 -3 -4 0 1] I=logical(A); StdA=A; StdA(I) = rescale(A(I),-1,1)

1日 前 | 0

回答済み
generate 3d periodic geometry matlab
P=scale(nsidedpoly(1000),[1,2]*0.1); X=P.Vertices(:,1); Y=P.Vertices(:,2); Z=0*X; for i=1:30 patch(X+rand,Y+rand,Z+rand,'b'...

1日 前 | 0

| 採用済み

回答済み
How to compute the centriod of a 2D gaussian
Download gaussfitn, https://www.mathworks.com/matlabcentral/fileexchange/69116-gaussfitn >> [X,Y]=ndgrid(1:10); >> params=ga...

3日 前 | 0

回答済み
determine the outermost coordinates of a 3D object
Use freeBoundary

3日 前 | 0

回答済み
parametrization of an ellipse
syms x y real ellipse=(x^2)/16+(y^2)/25==1; a=abs(solve([ellipse,y==0]).x(1)) b=abs(solve([ellipse,x==0]).y(1))

3日 前 | 0

| 採用済み

回答済み
How do you find radius from input circle?
syms x y real syms r real positive c=2*(x-3)^2 + 2*(y+7)^2 == 8; c0=str2sym(extractBefore(char(c),'==')); sol0=solve...

4日 前 | 0

| 採用済み

回答済み
So i want to curve fit special function ?
Just do an analytical fit, RSSI = [ -42.11, -46.395833333333336, -48.40816326530612, -53.91836734693877, -60.52542372881356, -5...

5日 前 | 1

| 採用済み

回答済み
I have differnt coodinate after use fmincon
x0=[0 0]; lb=[-1 -1]; ub =-lb; fmincon(@distance,x0,[1,1],2,[],[],lb,ub) function f = distance(x) A=x(1); C=x(2); f= (...

6日 前 | 0

| 採用済み

質問


Is there a function to find the paired factors of an integer?
Is there a function in Matlab to find the pairs of factors that multiply together to give a specified integer, e.g, F=somefunc(...

6日 前 | 1 件の回答 | 0

1

回答

回答済み
Covert vector into an image using matlab?
n is not a perfect square, so sqrt(n) will not give you valid integer dimensions for your image. Choose different dimensions.

6日 前 | 0

回答済み
how to check if inputs for my function are strings or vectors
function [output] = function(varargin) varargin(4:end)=[]; valid=all( cellfun(@(z)isstring(z) | isvector(z),varargin) );...

6日 前 | 0

回答済み
Using optimization algorithms to find minimum path with obstacles
You could represent the forbidden area by a polyshape object, pgon, then form a nonlinear constraint function compatible with fm...

6日 前 | 0

回答済み
Using optimization algorithms to find minimum path with obstacles
It's doubtful you can do it with fmincon, but you might be able to do it by creating a graph object to model steps between allow...

6日 前 | 0

回答済み
Align and stitch non-overlapping images
As seen from here, the blocks of 32 measurements can be slightly shifted vertically by few(1-4) pixels, So, wiuth 4 blocks and ...

6日 前 | 1

回答済み
3D cylinder code debugging
Much of your code seems to be an unnecessary reinvention of the cylinder() command. nCS = 2; %number of cross section of cylind...

6日 前 | 1

| 採用済み

回答済み
Different output for find(X) and find(X<5)
Because the argument you've passed to find() is (X>0) which is a logical array. Therefore, the values returned are taken from th...

6日 前 | 1

回答済み
Error 'lscurvefit' (Function value and YDATA sizes are not equal)
Since you have no bounds on K, you should probably just solve for K analytically, rather than iteratively with lsqcurvefit: K=(...

7日 前 | 0

回答済み
Error 'lscurvefit' (Function value and YDATA sizes are not equal)
f = @(K, x) K(1) + K(2)./ x + K(3)./ x.^2;

7日 前 | 1

| 採用済み

回答済み
Rounding a decimal down
x=0.147; floor(x*100)/100

7日 前 | 1

回答済み
How to store the results of a loop in matlab.
[B,C,m,k,c]= deal(cell(1,20)); A=nan(1,20); for t = 1:20 z=t-1; m{t}= [1.0, 0.89*sin(0.17*z); 0, 1...

7日 前 | 0

回答済み
How to assign point name to points in an array and then plot them ?
names={'Jack','Fred','Emily','Carol','Donald'}; A = [0,1.5+1.5i,4.5i,-6.75+6.75i,-20.25]; n=numel(A); H=plot(graph(speye(n)...

8日 前 | 0

回答済み
How to assign point name to points in an array and then plot them ?
Hi all, I would like to name my points that are inside a matrix. You could convert the matrix to a table with row names that yo...

8日 前 | 1

回答済み
Can a function known whether/which specific output is ignored (tilde operator)?
You can do it with this FEX download, https://www.mathworks.com/matlabcentral/fileexchange/121487-outputnames but there are so...

8日 前 | 1

回答済み
Equivalent of inputname() for output variables
I've implemented Jan's idea in this FEX submission, https://www.mathworks.com/matlabcentral/fileexchange/121487-outputnames b...

8日 前 | 0

送信済み


outputnames
Get a list of the output argument names of the currently executing function.

8日 前 | ダウンロード 0 件 |

質問


Why doesn't evalin('caller','nargout') work?
Why doesn't the mynargout() function correctly return n=3? How can one programmatically evaluate nargout in the calling functio...

8日 前 | 1 件の回答 | 0

1

回答

回答済み
Numerical calculation of Hessian for a very complex problem
but this neighboorhood might be super small region about x0 and I do know how small it is. I assume you meant to say you don't ...

8日 前 | 0

回答済み
making a connectivity array for an ellipse based of rectangles and traingles
Using spatialgraph2D from this FEX download, https://www.mathworks.com/matlabcentral/fileexchange/73630-spatialgraph2d load x...

9日 前 | 0

| 採用済み

さらに読み込む