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

etwa 14 Jahre vor | 2

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

etwa 14 Jahre vor | 0

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

etwa 14 Jahre vor | 0

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

etwa 14 Jahre vor | 1

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

etwa 14 Jahre vor | 0

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

etwa 14 Jahre vor | 0

| akzeptiert

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

etwa 14 Jahre vor | 0

| akzeptiert

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

etwa 14 Jahre vor | 0

Beantwortet
cropping
doc imcrop

etwa 14 Jahre vor | 0

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

etwa 14 Jahre vor | 0

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

etwa 14 Jahre vor | 6

| akzeptiert

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

etwa 14 Jahre vor | 0

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

etwa 14 Jahre vor | 0

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

etwa 14 Jahre vor | 0

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

etwa 14 Jahre vor | 0

| akzeptiert

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

etwa 14 Jahre vor | 0

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

etwa 14 Jahre vor | 0

Gelöst


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

etwa 14 Jahre vor

Gelöst


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

etwa 14 Jahre vor

Gelöst


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

etwa 14 Jahre vor

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

mehr als 14 Jahre vor | 0

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

mehr als 14 Jahre vor | 0

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

mehr als 14 Jahre vor | 1

| akzeptiert

Frage


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

mehr als 14 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


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

mehr als 14 Jahre vor | 1 Antwort | 0

1

Antwort