Answered
H,S,V components
trivial, really. help rgb2hsv So simply convert to HSV. Then you can use a tool like imshow waves = imread('waves.jpg'); wav...

4 years ago | 1

Answered
I get "Warning: Unable to determine poles" when I try to find the poles and zeros of a 5th-order equation with multiple variables.
You need to understand that this becomes a problem of solving for the roots of a general 5th degree polynomial. If ALL of the co...

4 years ago | 1

| accepted

Answered
How can I find the mean of multiple variables in for loop
You have asked 22 questions so far, and are still numbering your variables? This is yet another reason for why you need to learn...

4 years ago | 1

Answered
Equation and plot of an image
NO polynomial function will EVER have that shape, thus s nice smooth parabolic looking shape, and then almost perfectly constant...

4 years ago | 0

Answered
Finding local extrema of sinusoidal points
You can do it using my SLM toolbox. load matlab.mat x = WaveProf1(1:545,1); y = WaveProf1(1:545,2); [f,gof,out] = fit(x,y,'s...

4 years ago | 1

Answered
A problem with function handle
NaNs are like wire coathangars, they multiply. Or perhaps evil zombies is a better description. They slime everything they touch...

4 years ago | 0

| accepted

Answered
How to define a constant inside the 'fittype' function?
Use a function handle, as documented by fittype. fittype ft = fittype(@(a1,a2,b1,b2,b3,x) 1.21+(a1+a2.*T1).*x+s.*log((b1+b2./T...

4 years ago | 0

| accepted

Answered
How do I find the minimum Surface area of a cylindrical shape and its corresponding minimum radius and height which have a range of values
You did write JUST enough MATLAB that I cannot in good faith close this as a homework assignment with no effort made. So I'll an...

4 years ago | 0

Answered
Сalculate total contact area of two bodies?
The contact area as you have drawn is it zero. For example, the area where a plane touches a sphere? ZERO. A single point of con...

4 years ago | 0

| accepted

Answered
How can I fit curve quadratically such that fit goes like in the picture?
It appears you have chosen to fit a quadratic polynomial to your data. And you say you want a quadratic polynomial, but you DREW...

4 years ago | 0

Answered
Find x and y cordinates and t for z=0
It seems that from your comments, you want to find where z == 0, so the (x,y) coordinates where that happens, and t at that poin...

4 years ago | 0

Answered
Split big matrix in many submatrices having same size
So many times this gets asked for. DON'T DO IT. Instead, learn to use arrays, of many types. For example, just make it into a 3 ...

4 years ago | 0

Answered
interp2 problem in size dimesion
Your problem is you are trying to use the wrong tool. interp2 allows you to interpolate in two dimensions, but ONLY for data tha...

4 years ago | 0

Answered
Elliptic Integrals ruin my solution of coupled system of differential equations
elliptic integrals are not just some nice linear function. So if you don't know the value of S, this will not be evaluable: sym...

4 years ago | 0

Answered
Approximating the function 1/x, as a series in negative exponentials
First, is the curve fitting toolbox the best way to approach the problem? You COULD use it. Sadly, not really a good idea. That ...

4 years ago | 1

Question


Approximating the function 1/x, as a series in negative exponentials
Sadly, this question was posted on Answers, but then quickly deleted. Yes, it was probably homework, but it is an interesting pr...

4 years ago | 1 answer | 1

1

answer

Answered
No solution found using fsolve, what should I do?
A simple rule is fsolve assumes the function you feed it is well behaved. That means things like continuity. Differentiable. At ...

4 years ago | 1

| accepted

Answered
Curve fitting toolbox can return bogus results for 2 term exponential functions. Is this a bug?
Is it bug? NO. Is it due to poor starting values? Almost always, yes. At least, unless the curve is simply not well fit by a t...

4 years ago | 0

Answered
How do i further simplify this solution in matlab. I have used the simplify(.....) but it still gives me the same solution with the sin functions.
ARGH!!!!!! Why would you define the value of pi in MATLAB? Worse, then not even defining it to be the correct value? pi already...

4 years ago | 0

Answered
How to comute double integral of a long symbolic vector through parallel computing in Matlab?
In general, you cannot force the symbolic toolbox to use multi-threaded computations. At least, the last time I recall, that was...

4 years ago | 0

Answered
Invalid expression. When calling a function or indexing a variable, use parentheses. Otherwise, check for mismatched delimiters.
When you open a door, you must then close it, else MATLAB will not be happy. Look carefully at the line in question. After all, ...

4 years ago | 0

| accepted

Answered
How to input equation, in to two separate places, at once
There are two simple solutions, both of which are equally valid. For example, start out with a function handle, perhaps like thi...

4 years ago | 0

| accepted

Answered
certification for exchange student
I'm sorry, but Answers is not customer support. We have no ability to help you on this forum. You can contact the MATLAB admin ...

4 years ago | 0

Answered
Detect all local minimum and remove them
@Matt J showed you how to use a convex hull. Very possibly that is what you want, even though you did not flag the other points....

4 years ago | 0

Answered
Definite integral with a parameter in the bound
syms X W F = ((W-X)^2)*((X^2-1)^(1/2))*X; int(F,X,1, W) As you found, int fails to generate a result. That does not mean a cl...

4 years ago | 1

| accepted

Answered
Create function with 8 input and 1 output
First, dont write a function with 8 variables as input. Have ONE variable be a vector of length 8. LEARN TO USE VECTORS AND ARRA...

4 years ago | 0

Answered
Is there an inbuilt function like Delaunay triangle for generating Quad element mesh with the irregular nodal points?
Sorry, but not at all. Not that you could not write something both trivial and crude, that would start with a triangulated mes...

4 years ago | 0

Answered
How to smooth surf?
interp2 does NO smoothing. It is NOT designed to smooth anything, and would NOT be appropriate, because interpolation does not c...

4 years ago | 4

Answered
uniform noise or normal noise
Not a question at all about MATLAB. But I have a few moments to answer. When do you add uniform noise versus normal? A simple ...

4 years ago | 0

| accepted

Load more