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

más de 12 años hace | 1

Resuelto


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

más de 12 años hace

Resuelto


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

más de 12 años hace

Resuelto


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

más de 12 años hace

Resuelto


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

más de 12 años hace

Resuelto


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

más de 12 años hace

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

más de 12 años hace | 0

| aceptada

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

más de 12 años hace | 0

| aceptada

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

más de 12 años hace | 0

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

más de 12 años hace | 1

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

más de 12 años hace | 0

| aceptada

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

más de 12 años hace | 1

| aceptada

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

más de 12 años hace | 0

| aceptada

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

más de 12 años hace | 0

| aceptada

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

más de 12 años hace | 1

| aceptada

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

más de 12 años hace | 0

| aceptada

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

más de 12 años hace | 0

| aceptada

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

más de 12 años hace | 0

| aceptada

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

más de 12 años hace | 0

| aceptada

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

más de 12 años hace | 0

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

casi 13 años hace | 1

| aceptada

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

casi 13 años hace | 0

| aceptada

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

casi 13 años hace | 0

| aceptada

Respondida
Reduce the size of isosurface output
doc reducepatch

casi 13 años hace | 0

| aceptada

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

casi 13 años hace | 0

| aceptada

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

casi 13 años hace | 4

| aceptada

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

casi 13 años hace | 3

| aceptada

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

casi 13 años hace | 0

| aceptada

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

casi 13 años hace | 0

| aceptada

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

casi 13 años hace | 0

| aceptada

Cargar más