Réponse apportée
Dividing a triangle into equal parts
Suppose you have a triangle defined by the vertices A, B and C. To subdivide this triangle into n triangles of equal area you ca...

environ 13 ans il y a | 0

Réponse apportée
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...

plus de 13 ans il y a | 1

A résolu


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

plus de 13 ans il y a

A résolu


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...

plus de 13 ans il y a

A résolu


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

plus de 13 ans il y a

A résolu


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...

plus de 13 ans il y a

A résolu


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...

plus de 13 ans il y a

Réponse apportée
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...

plus de 13 ans il y a | 0

| A accepté

Réponse apportée
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...

plus de 13 ans il y a | 0

| A accepté

Réponse apportée
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...

plus de 13 ans il y a | 0

Réponse apportée
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 ...

plus de 13 ans il y a | 1

Réponse apportée
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...

plus de 13 ans il y a | 0

| A accepté

Réponse apportée
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...

plus de 13 ans il y a | 1

| A accepté

Réponse apportée
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...

plus de 13 ans il y a | 0

| A accepté

Réponse apportée
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,...

plus de 13 ans il y a | 0

| A accepté

Réponse apportée
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 ...

plus de 13 ans il y a | 1

| A accepté

Réponse apportée
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...

plus de 13 ans il y a | 0

| A accepté

Réponse apportée
why fmincon optimizer does not optimize my last variable ?
it seems that your cost function is independent of that last variable

plus de 13 ans il y a | 0

| A accepté

Réponse apportée
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...

plus de 13 ans il y a | 0

| A accepté

Réponse apportée
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) ...

plus de 13 ans il y a | 0

| A accepté

Réponse apportée
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...

plus de 13 ans il y a | 0

Réponse apportée
Clean-up isosurface output
http://www.mathworks.com/matlabcentral/fileexchange/27667-splitfv-split-a-mesh

presque 14 ans il y a | 1

| A accepté

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

presque 14 ans il y a | 0

| A accepté

Réponse apportée
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...

presque 14 ans il y a | 0

| A accepté

Réponse apportée
Reduce the size of isosurface output
doc reducepatch

presque 14 ans il y a | 0

| A accepté

Réponse apportée
Interpolation, sigmoid curve
you mean extrapolate into the future, not interpolate ... If you have Optimization Toolbox, you can try fitting the generalized ...

presque 14 ans il y a | 0

| A accepté

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

presque 14 ans il y a | 4

| A accepté

Réponse apportée
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. % ...

environ 14 ans il y a | 3

| A accepté

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

environ 14 ans il y a | 0

| A accepté

Réponse apportée
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]....

environ 14 ans il y a | 0

| A accepté

Charger plus