Community Profile # Matt J

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

#### Statistiques

All
• • • • • • • • • • • • #### Content Feed

Afficher par

A répondu
Scalar structure required for this assignment.
Your intention with the code is not clear, but here is one possibility, [Sis.On]=deal(D_{:,2});

environ 2 heures il y a | 0

A répondu
Finding intersection of line(vector) and an unclosed shape
Use polyxpoly if you have the appropriate toolbox. Otherwise, use this FEX download, https://www.mathworks.com/matlabcentral/fi...

environ 3 heures il y a | 0

A répondu
how to calculate the area of each bin of intersection of a circle and mesh grid?
The efficient way would be to first eliminate the grid squares which are wholly inside or outside the circle, which you can dete...

environ 7 heures il y a | 0

A répondu
lsqnonlin optimization: large condition number of Jacobian matrix at all iterations, but full rank
Your scaling isn't really doing anything meaningful, since all residuals are weighted equally. Really, you are just multiplying ...

environ 13 heures il y a | 1

A répondu
Solving a complicated symbolic equation
A=3; B=9; f=@(x)A-B*x*sinh(x); [x,fval]=fzero(f,[0,10]) %first solution [x,fval]=fzero(f,[-10,0]) %second solution

environ 13 heures il y a | 1

A répondu
All functions in a script must be closed with an 'end'.
Replace "return" by "end"

1 jour il y a | 0

| A accepté

A répondu
Extract "labelhandles" from Legend
Would it be possible to get the content of the second output of the legend, i.e. "labelhandles", just by calling the first outpu...

1 jour il y a | 2

| A accepté

A répondu
Looping scatteredInterpolant across each frame in 3D matrix
Since your grids are related by an affine warping, it might be best to use imwarp, assuming you have the appropriate toolbox.Exa...

1 jour il y a | 0

A répondu
How to plot a function on a user defined plane when using spherical coordinate system by specifying elevation and azimuth values at a given radial distance?
The three spherical coordinates theta, phi, and r are not enough to define the sampling of a plane. You must also define coordin...

3 jours il y a | 0

A répondu
Calculation errors while using subs and det functions
You haven't given us access to the input variables needed to repeat the computation. However, the determinant you are evaluating...

4 jours il y a | 0

| A accepté

A répondu
Extracting from boxchart function the median, quartiles, and whisker data.
I don't believe those quantitites are directly available as permanent property data. When you position the cursor over one of th...

4 jours il y a | 1

| A accepté

A répondu
How to define the order of layers/plots and axes?
1) Hfig=figure('Visible','off); p(1) = plot(...); p(2) = scatter(...). p(3) = line(..); p(4) = fill(...), p(5) = imagesc(...) ...

4 jours il y a | 0

A répondu
error in the process of symbol operation of the matrix
Nothing is wrong with T, though possibly you didn't scroll down far enough to see the definitions of all the sigmas.

5 jours il y a | 0

A répondu
Is it possible to handle a slider with an 'on-line' update? I mean, updating the value continously during the sliding.
Yes, use the ValueCHangingFcn callback https://www.mathworks.com/help/matlab/ref/uislider.html#buicpgg-1_sep_shared-ValueChangi...

5 jours il y a | 0

A répondu
How to extract rows of data according to text containing specific words in cells in Matlab
copepods= contains(C.object_id,"cruise2012") & ... contains(C.object_annotation_hierarchy,"Copepoda");

6 jours il y a | 0

| A accepté

A répondu
lsqcurvefit does not follow convergence criteria in summation.
After the fit has converged (but not giving a useful result) I checked for the convergence criterion and it wasn't replaced with...

6 jours il y a | 0

| A accepté

A répondu
Unrecognized function or variable 'x0'.
Relocate the last 2 lines from newmintafun1 and make x0 the correct length. x0 = [10; 6; 4; 3; 4; 3; 2; 3; 18; 7; 25; 10; 5; 5;...

6 jours il y a | 0

| A accepté

A répondu
How to create big matrix that the item is small matrix
See, How to Generate a Block Toeplitz Matrix. Then replace the last D block with F, Matrix(end-11:end,end-11:end)=F;

6 jours il y a | 0

A répondu
Fit gaussian surface on 3D data
Using gaussfitn from, https://www.mathworks.com/matlabcentral/fileexchange/69116-gaussfitn load Image %cropped to include onl...

6 jours il y a | 1

Question

Why does isequal() return false when the reloaded handle is compared to the original handle, in the code below. h=plot(1:5); s...

7 jours il y a | 2 réponses | 0

### 2

réponses

A répondu
Solve linear equation in matrix form with least square method
If I use (A.'*A)\(A.'*b), i can get the result An even easier and more accurate way to get it is, x=A\b and that is the meth...

7 jours il y a | 0

| A accepté

A répondu
Interpreting the results of 'fsolve'
It means fsolve thinks it found a solution. Whether you can "trust" the solution is an open-ended question. It depends on the ap...

8 jours il y a | 0

A répondu
using matchpairs when objects have different capacities
Then you are not seeking pairings. Therefore, matchpairs will not apply. But you can probably use minL1intlin from this FEX down...

9 jours il y a | 0

A répondu
Coding volume segmentation with multiple thresholds (CT data)
I can iterate through different CT number thresholds, using a function to create a binary mask (a 3D matrix) at each. However, I...

9 jours il y a | 0

| A accepté

A répondu
Attempt to grow array along ambiguous dimension
In this line, idealF1(distance4 <= D01)=0; you have not checked the size of distance4 and of idealF1.

9 jours il y a | 0

A répondu
want to plot ellipses with different a and b values in x^2/a^2 + y^2/b^2 = 1 in Matlab 3d plot
Simplie enough. a=0.1;b=0.15; fsurf(@(x,y) x.^2/a^2+y.^2/b^2) ;

10 jours il y a | 0

A répondu
How do I fit two data sets to each other?
Sounds like a 1D image registration problem. Maybe consider imregtform.

11 jours il y a | 0

A répondu
Trying to do an if/and statement on a vector but have an addition apply to only one element of vector
I think a better method would be to update the compass position incrementally, using the attached file cumangle.m t=linspace(-1...

11 jours il y a | 0

A répondu
generate all variations on a 20-mer, that are 1 to 4 mismatches away