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

alrededor de 14 años hace | 2

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

alrededor de 14 años hace | 0

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

alrededor de 14 años hace | 0

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

alrededor de 14 años hace | 1

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

alrededor de 14 años hace | 0

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

alrededor de 14 años hace | 0

| aceptada

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

alrededor de 14 años hace | 0

| aceptada

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

alrededor de 14 años hace | 0

Respondida
cropping
doc imcrop

alrededor de 14 años hace | 0

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

alrededor de 14 años hace | 0

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

alrededor de 14 años hace | 6

| aceptada

Respondida
Help with lower/upper limit and step problem
To get you started, doc colon doc mod

alrededor de 14 años hace | 0

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

alrededor de 14 años hace | 0

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

alrededor de 14 años hace | 0

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

alrededor de 14 años hace | 0

| aceptada

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

alrededor de 14 años hace | 0

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

alrededor de 14 años hace | 0

Resuelto


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

alrededor de 14 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.

alrededor de 14 años hace

Resuelto


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

alrededor de 14 años hace

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

más de 14 años hace | 0

Respondida
Principle Components Regression
Check out princomp in the Statistics Toolbox.

más de 14 años hace | 0

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

más de 14 años hace | 1

| aceptada

Pregunta


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

más de 14 años hace | 1 respuesta | 0

1

respuesta

Pregunta


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

más de 14 años hace | 1 respuesta | 0

1

respuesta