Community Profile

photo

Matt J


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

Statistiken

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

Abzeichen anzeigen

Content Feed

Anzeigen nach

Beantwortet
calculate the normal for a plane passing through more than three points
Use planarFit() from this FEX package, https://www.mathworks.com/matlabcentral/fileexchange/87584-object-oriented-tools-for-fit...

etwa 20 Stunden vor | 0

Beantwortet
Why is fminimax not accepting sparse constraint matrix data?
Tech Support says it's a documentation bug. fminimax doesn't do sparse.

ein Tag vor | 0

| akzeptiert

Beantwortet
Set constraint for plot with two points that force him to go through a circle
% I have the following input data that is fixed: % 4 Points P{1}= [-18.595112081112493,1.050302529300339e+02,-72.160383747947...

ein Tag vor | 0

Beantwortet
Cone fitting in Matlab
Consider using rightcircularconeFit(), which is non-iterative, from this FEX download, https://www.mathworks.com/matlabcentral/...

2 Tage vor | 0

| akzeptiert

Beantwortet
how do I fill between 3 lines?
One way: b = 48; time = 0:1:40000; mFast = 6/30 ; mSlow = 4.3/30; yFast = (mFast*time)+b; ySlow = (mSlow*time)+b; plot(...

2 Tage vor | 0

| akzeptiert

Frage


Why is fminimax not accepting sparse constraint matrix data?
From the documentation for fminimax, it appears that fminimax is supposed to accept constraint matrices in sparse form, e.g., ...

2 Tage vor | 1 Antwort | 2

1

Antwort

Beantwortet
What will be a suitable option to circumvent a non-invertible matrix?
The approach is valid if A is symmetric, positive definite, but 1e-10 may not be large enough to add substantial conditioning.

4 Tage vor | 0

Beantwortet
Curve fitting for 4 independent variables
If you have four unknown variables, you need four lb(i). Upper bounds would also help. Also, you should address the fact that y...

4 Tage vor | 0

Beantwortet
The simplify function is not completely simplifying my polynomials.
syms x prob2 = ((3*x-4)*(x^2-2*x+4)); problem2 = expand(prob2)

4 Tage vor | 0

Beantwortet
Why does the "fsolve" function in Optimization Toolbox not converge when using a quadratic cost function?
Very often, quadratic functions have no roots to find, e.g., fsolve(@(x) abs(x).^2+1, [1+1i;0+3i])

4 Tage vor | 0

Beantwortet
use the 'patch' function with different results (using different matrices)
If you are trying to recover the boundary from a surface triangulation, then, load trace [~,P]=freeBoundary(delaunayTriangul...

4 Tage vor | 0

| akzeptiert

Beantwortet
Using an anonymous function handle as input into another function handle
It has nothing to do with nesting of hte handles. If you don't call an anonymous function with inputs, it can't return anything ...

4 Tage vor | 0

Beantwortet
generate new coordinates (starting from initial coordinates) that are arranged outwards (by a distance H) and on the same plane
Project the points into a 2D coordinate system on the plane. Then use polyshape. Then project back to 3D. load trace H=0.5; ...

4 Tage vor | 1

Beantwortet
Why is accuracy absent in training progress plot?
Probably because the examples in the docs are for trainNetwork, not trainSOLOV2.

4 Tage vor | 0

Beantwortet
How to test if equation in .p file is linear.
Well, there's no test that will verify linearity globally (for all inputs), but you can select random inputs and test the applic...

4 Tage vor | 0

Beantwortet
Error using trainNetwork (line 184) The training sequences are of feature dimension 1 792 but the input layer expects sequences of feature dimension 1.
fn=@(z) reshape( num2cell(permute(z,[1,3,2]),2) ,[],1); X_train=fn(X_train); y_train=fn(y_train); X_test=fn(X_test); y_te...

5 Tage vor | 1

Beantwortet
Linprogr in Matlab not finding a solution when a solution exists
The problem seems to be that the inequality constrained region has barely any intersection with the equality constrained region....

5 Tage vor | 0

Beantwortet
Problems with savepath in R2023b
Tech Support advised running Matlab "As Administrator" and this did solve the problem.

5 Tage vor | 0

| akzeptiert

Beantwortet
Get indices of matching values (vectorized find function)
[~,b_reconstructed]=ismember(c,a)

5 Tage vor | 0

Beantwortet
generate triangular mesh starting from the external nodes (rx3) of a circle
load V V=num2cell(V,1); [x,y,z]=deal(V{:}); trisurf(delaunay(x,y), x,y,z)

5 Tage vor | 0

| akzeptiert

Beantwortet
Error in the use of fminunc function
I would try a clean re-install of Matlab (i.e., deleting all installation folders that may have been created).

5 Tage vor | 0

Frage


Problems with savepath in R2023b
I have just installed R2023b on two different machines. Both give the following problem, when trying to use savepath >> addpath...

6 Tage vor | 3 Antworten | 4

3

Antworten

Beantwortet
Please, you can help me? Check follow error: License Manager Error -9
Change your username back to what it was.

6 Tage vor | 0

Beantwortet
Rotating data using griddata
You should probably just use imrotate with the loose option flag.

6 Tage vor | 0

Beantwortet
Change axes position in tiled layout
This File Exchange alternative gives considerable flexibility on the spacing, https://www.mathworks.com/matlabcentral/fileexcha...

6 Tage vor | 1

| akzeptiert

Beantwortet
Random points on a curve
Youc an interpolate the curve at random points using interp1.

6 Tage vor | 0

Beantwortet
transform infinite plane into finite circular plane
You can use patch. [a,b,c]=deal(1); %fake input data P=[1 1 1]; R=2; t=(0:359)'; V=R*[cosd(t),sind(t)]*null([a,b,c])' ...

6 Tage vor | 2

| akzeptiert

Beantwortet
Can object properties be assigned in bulk without the need for a loop statement?
Is there a vectorized approach to achieve this without the need for a loop statement? No, there isn't. Nor is there anything t...

6 Tage vor | 0

Beantwortet
How to solve out of memory error when constructing sparse matrix
It's a 5 GB matrix. Are you sure you have enough RAM?

6 Tage vor | 0

Beantwortet
quadruple summation using function
n = 100; tic; sum(sin(0:n))^4; toc

6 Tage vor | 1

Mehr laden