回答済み
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...

12年以上 前 | 0

回答済み
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...

13年弱 前 | 1

解決済み


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

約13年 前

解決済み


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

約13年 前

解決済み


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

約13年 前

解決済み


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

約13年 前

解決済み


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

約13年 前

回答済み
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...

約13年 前 | 0

| 採用済み

回答済み
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...

約13年 前 | 0

| 採用済み

回答済み
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...

約13年 前 | 0

回答済み
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 ...

約13年 前 | 1

回答済み
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...

約13年 前 | 0

| 採用済み

回答済み
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...

約13年 前 | 1

| 採用済み

回答済み
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...

約13年 前 | 0

| 採用済み

回答済み
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,...

約13年 前 | 0

| 採用済み

回答済み
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 ...

約13年 前 | 1

| 採用済み

回答済み
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...

約13年 前 | 0

| 採用済み

回答済み
why fmincon optimizer does not optimize my last variable ?
it seems that your cost function is independent of that last variable

約13年 前 | 0

| 採用済み

回答済み
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...

約13年 前 | 0

| 採用済み

回答済み
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) ...

約13年 前 | 0

| 採用済み

回答済み
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...

約13年 前 | 0

回答済み
Clean-up isosurface output
http://www.mathworks.com/matlabcentral/fileexchange/27667-splitfv-split-a-mesh

13年以上 前 | 1

| 採用済み

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

13年以上 前 | 0

| 採用済み

回答済み
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...

13年以上 前 | 0

| 採用済み

回答済み
Reduce the size of isosurface output
doc reducepatch

13年以上 前 | 0

| 採用済み

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

13年以上 前 | 0

| 採用済み

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

13年以上 前 | 4

| 採用済み

回答済み
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. % ...

13年以上 前 | 3

| 採用済み

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

13年以上 前 | 0

| 採用済み

回答済み
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]....

13年以上 前 | 0

| 採用済み

さらに読み込む