Beantwortet
Point inside triangle(s)?
Hi Sven, I have encountered this problem many times in the past. I am aware of at least two approaches to solve it. The first...

mehr als 12 Jahre vor | 1

Gelöst


Is my wife right?
Regardless of input, output the string 'yes'.

mehr als 12 Jahre vor

Gelöst


Select every other element of a vector
Write a function which returns every other element of the vector passed in. That is, it returns the all odd-numbered elements, s...

mehr als 12 Jahre vor

Gelöst


Determine if input is odd
Given the input n, return true if n is odd or false if n is even.

mehr als 12 Jahre vor

Gelöst


Make the vector [1 2 3 4 5 6 7 8 9 10]
In MATLAB, you create a vector by enclosing the elements in square brackets like so: x = [1 2 3 4] Commas are optional, s...

mehr als 12 Jahre vor

Gelöst


Eliminate unnecessary polygon vertices
Suppose you have an n-point polygon represented as an n-by-2 matrix of polygon vertices, P. Assume that the polygon is closed; t...

mehr als 12 Jahre vor

Beantwortet
Problem trying to access labeled portion of images (updated 7/5)
The error occurs for m=559. If you look at the object: figure, imshow(K==559) set(gca,'xlim',[481 580],'ylim',[500 6...

mehr als 12 Jahre vor | 0

| akzeptiert

Beantwortet
fminbnd fails to converge with exitflag=1
because TolX is a measure of change in x between two successive iterations and not an indication of how close it is to a true mi...

mehr als 12 Jahre vor | 0

| akzeptiert

Beantwortet
Skull striping without affecting tumor region
The simplest way to segment the tumor in the sample image would be to use region growing algorithm. There are a few implementati...

mehr als 12 Jahre vor | 0

Beantwortet
Solving an implicit function, fsolve vs. fzero
You can try the following approach: abc=rand(3,1); % A, B, C parameters q=8; % order of the polynomial ...

mehr als 12 Jahre vor | 1

Beantwortet
does anybody have a matlab code for revised simplex method with box vriables like -2<=x<=10....etc
yep, there is a submission of this sort on FEX: http://www.mathworks.com/matlabcentral/fileexchange/8277-fminsearchbnd-fminse...

mehr als 12 Jahre vor | 0

| akzeptiert

Beantwortet
weird results with relational operation ==
The expression xchk == X3 is indeed false, however , if you check the value of abs(xchk-X3) you will find it to be le...

mehr als 12 Jahre vor | 1

| akzeptiert

Beantwortet
The "imregconfig" and " imregister" functions . help
You will not find these functions with your version of MATLAB because they were made available quite recently with the R2012a ve...

mehr als 12 Jahre vor | 0

| akzeptiert

Beantwortet
triangles generated by isosurface
Hi Sayed, unfortunately there are no built-in Matlab functions that would allow you to regularize your mesh. There is, however,...

mehr als 12 Jahre vor | 0

| akzeptiert

Beantwortet
Get line properties from it's handle
try this: x=get(lineHandle,'XData'); y=get(lineHandle,'YData'); x and y variables respectively should be the x and y ...

mehr als 12 Jahre vor | 1

| akzeptiert

Beantwortet
Identify decaying or growing sinusoidal graph
find the peaks, order them according to time and compare their magnitudes. see: http://www.mathworks.com/matlabcentral/fileex...

mehr als 12 Jahre vor | 0

| akzeptiert

Beantwortet
why fmincon optimizer does not optimize my last variable ?
it seems that your cost function is independent of that last variable

mehr als 12 Jahre vor | 0

| akzeptiert

Beantwortet
How to smooth an edge. I need you help very urgent
If you have IPT see the documentation for 'bwmorph' function. Amongst other things it allows you to remove spurious details of t...

mehr als 12 Jahre vor | 0

| akzeptiert

Beantwortet
Minimizing mean square error for a body tracking problem
No pen and paper necessary. Here is code for the function that I already have: function [R,t,s]=SymTformParams(Xref,Xsrc) ...

mehr als 12 Jahre vor | 0

| akzeptiert

Beantwortet
Minimizing mean square error for a body tracking problem
If point correspondences are known, do the following: 1) solve for translation, by comparing the centroids of the landmark se...

mehr als 12 Jahre vor | 0

Beantwortet
Clean-up isosurface output
http://www.mathworks.com/matlabcentral/fileexchange/27667-splitfv-split-a-mesh

fast 13 Jahre vor | 1

| akzeptiert

Beantwortet
Shape analysis to distinguish different objects?
see this paper: Mingqiang et al. (2008) "A Survey of Shape Feature Extraction Techniques"

fast 13 Jahre vor | 0

| akzeptiert

Beantwortet
Improve the quality of 3D triangle meshes (surface meshes)
Based on your previous question, I am assuming that you are extracting your mesh from an implicit surface representation. If tha...

fast 13 Jahre vor | 0

| akzeptiert

Beantwortet
Reduce the size of isosurface output
doc reducepatch

fast 13 Jahre vor | 0

| akzeptiert

Beantwortet
Interpolation, sigmoid curve
you mean extrapolate into the future, not interpolate ... If you have Optimization Toolbox, you can try fitting the generalized ...

fast 13 Jahre vor | 0

| akzeptiert

Beantwortet
3D Mesh morphing
Before morphing, you first have to establish dense point correspondences between the two surfaces. You can address this problem ...

fast 13 Jahre vor | 4

| akzeptiert

Beantwortet
How to crop out the object from the image and then store the objects in the image?
Assuming you have Image Processing Toolbox you can try the code below. You can also easily modify it to suit your needs. % ...

fast 13 Jahre vor | 3

| akzeptiert

Beantwortet
FFT vs Time Plot
What you want is called short time Fourier transform. Here is as example: http://www.mathworks.com/matlabcentral/fileexchange/15...

fast 13 Jahre vor | 0

| akzeptiert

Beantwortet
Probability distribution
If you have a univariate data then you can test it for normality using Anderson-Daarling test [1] or Kolmogorv-Smirnov test [2]....

fast 13 Jahre vor | 0

| akzeptiert

Beantwortet
Numerical Jacobian in Matlab
lsqnonlin is not designed for the purpose of evaluating Jacobians. I thought your main concern was that it does not evaluate the...

fast 13 Jahre vor | 0

| akzeptiert

Mehr laden