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

presque 14 ans il y a | 2

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

presque 14 ans il y a | 0

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

presque 14 ans il y a | 0

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

presque 14 ans il y a | 1

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

presque 14 ans il y a | 0

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

presque 14 ans il y a | 0

| A accepté

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

presque 14 ans il y a | 0

| A accepté

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

presque 14 ans il y a | 0

Réponse apportée
cropping
doc imcrop

presque 14 ans il y a | 0

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

presque 14 ans il y a | 0

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

presque 14 ans il y a | 6

| A accepté

Réponse apportée
Help with lower/upper limit and step problem
To get you started, doc colon doc mod

presque 14 ans il y a | 0

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

presque 14 ans il y a | 0

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

environ 14 ans il y a | 0

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

environ 14 ans il y a | 0

| A accepté

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

environ 14 ans il y a | 0

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

environ 14 ans il y a | 0

A résolu


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

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

environ 14 ans il y a

A résolu


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

environ 14 ans il y a

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

environ 14 ans il y a | 0

Réponse apportée
Principle Components Regression
Check out princomp in the Statistics Toolbox.

environ 14 ans il y a | 0

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

environ 14 ans il y a | 1

| A accepté

Question


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

environ 14 ans il y a | 1 réponse | 0

1

réponse

Question


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

environ 14 ans il y a | 1 réponse | 0

1

réponse