답변 있음
point in convex hull?
There is a file on the File Exchange called 'inhull'. I have used it for precisely this purpose. <http://www.mathworks.com/ma...

14년 초과 전 | 2

답변 있음
fmincon satisfying constraints
I've had this problem before with fmincon. Unfortunately, I could not figure out a way to force MATLAB to ensure that the interm...

14년 초과 전 | 0

답변 있음
Re-formulate the image into a vector of zeros and ones.
If your image is an indexed or grayscale image, it is just a matter of comparing the image to a pre-defined threshold. You will ...

14년 초과 전 | 0

답변 있음
invalid file identifier when more text files are introduced
I'm not that familiar with the Java errors that Matlab can throw, but this one looks like you have too many open file identifier...

14년 초과 전 | 1

답변 있음
curvature direction
It sounds like you mean you want to find the curvature itself (using a technique like shown here: <http://en.wikipedia.org/wiki/...

14년 초과 전 | 0

답변 있음
basic code question
It is a function handle. It means that you are defining an anonymous function 'kerf' that takes z as an input. The actual equat...

14년 초과 전 | 0

| 수락됨

답변 있음
curvature direction
Is the circle actually part of an image, or do you have the coordinates of the circle? If you have the coordinates, it's just a ...

14년 초과 전 | 0

| 수락됨

답변 있음
unique
Take a look at the second and third outputs in the documentation for 'unique', to see how to determine which rows were deleted...

14년 초과 전 | 0

답변 있음
cropping
doc imcrop

14년 초과 전 | 0

답변 있음
Seeking help to automate a simple process if possible
For automation, it would be a lot easier if you can call the function from the command line, without having to do any of the mou...

14년 초과 전 | 0

답변 있음
Drawing a semi-circle in Matlab about a point
th = linspace( pi/2, -pi/2, 100); R = 1; %or whatever radius you want x = R*cos(th) + 5; y = R*sin(th) + 4; plot(x,y)...

14년 초과 전 | 6

| 수락됨

답변 있음
Help with lower/upper limit and step problem
To get you started, doc colon doc mod

14년 초과 전 | 0

답변 있음
image
Hi Krishendu, Suppose you call imread as follows A = imread('/filename.jpg') The resulting matrix A will be MxNxP, wh...

14년 초과 전 | 0

답변 있음
FSOLVE No Solution Found yeilds valid answers
Does MATLAB throw an error or a warning? If it's a warning, you can turn the warning off using warning(WARNID,'off') wh...

14년 초과 전 | 0

답변 있음
How to find the pixel value at any point on a greyscale image(not on an rgb image?)
Function impixel works for grey images too. For such an image, all three RGB values will be the same.

14년 초과 전 | 0

| 수락됨

답변 있음
What am I doing wrong!?
This is not the approach you want to follow. First, you are calling feval, which will not minimize anything, only evaluate a spe...

14년 초과 전 | 0

답변 있음
Forced Vibration Test Data - Damping calc from frequency response data
Calculate the error between d and 1, and find the index where this error is minimized, which represents the point where Strain i...

14년 초과 전 | 0

문제를 풀었습니다


Find all elements less than 0 or greater than 10 and replace them with NaN
Given an input vector x, find all elements of x less than 0 or greater than 10 and replace them with NaN. Example: Input ...

14년 초과 전

문제를 풀었습니다


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

14년 초과 전

문제를 풀었습니다


Times 2 - START HERE
Try out this test problem first. Given the variable x as your input, multiply it by two and put the result in y. Examples:...

14년 초과 전

답변 있음
Plotting the resual difference between two plots, example picture in the thread.
Add to your code: hold on; line([x;x], [yx;y],'color','green'); plot(x,yx,'bo','markerfacecolor','blue'); You can ...

거의 15년 전 | 0

답변 있음
Principle Components Regression
Check out princomp in the Statistics Toolbox.

거의 15년 전 | 0

답변 있음
Matlab figure
All of the data that is presented in the figure is provided in the figure file itself, so you don't need the original M-file tha...

거의 15년 전 | 1

| 수락됨

질문


fmincon get x/fval if output function stops execution
Hello all, I am performing a constrained nonlinear optimization using fmincon, which for convergence reasons I wish to have a...

거의 15년 전 | 답변 수: 1 | 0

1

답변

질문


DAQ Toolbox Counter Input integer overflow problem
Hello everyone, I am trying to sample a counter output from a position encoder attached to a servo motor. I am sampling the c...

거의 15년 전 | 답변 수: 1 | 0

1

답변