Réponse apportée
is it possible to make this code shorter?
Even if I could make the code you show shorter, I would not do so, not to create that huge mess of variable names. EVER. Anyway,...

plus de 3 ans il y a | 0

| A accepté

Réponse apportée
Unable to find explicit solution
Does a solution exist for EVERY possible function you can write down? (NO.) In fact, it is trivially easy to write down infinite...

plus de 3 ans il y a | 0

Réponse apportée
How do I perform the inverse of a number to be applied in the encryption and decryption in multiplication encoding in MATHLAB? With GUI.
A gui is irrelevant. It is YOUR job to write a gui, if you need one. You compute the inverse of a number by dividing it into 1...

plus de 3 ans il y a | 1

Réponse apportée
Solve equation without symbolic toolbox
Do you understand this is not a simple quadtatic polynomial? In fact, it is equivalent to a rather high order polynomial. And is...

plus de 3 ans il y a | 0

Réponse apportée
How do you verify if a training curve is overfitting?
This is why you need to segregate some of your data for validation purposes. Split your data into two parts, perhaps selected r...

plus de 3 ans il y a | 0

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

plus de 3 ans il y a | 1

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

plus de 3 ans il y a | 1

| A accepté

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

plus de 3 ans il y a | 1

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

plus de 3 ans il y a | 0

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

plus de 3 ans il y a | 1

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

plus de 3 ans il y a | 0

| A accepté

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

plus de 3 ans il y a | 0

| A accepté

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

plus de 3 ans il y a | 0

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

plus de 3 ans il y a | 0

| A accepté

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

plus de 3 ans il y a | 0

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

plus de 3 ans il y a | 0

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

plus de 3 ans il y a | 0

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

plus de 3 ans il y a | 0

Réponse apportée
if i have matrix of 20X2048 and i want to make it 20000X2048 how to do it
help repmat

plus de 3 ans il y a | 0

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

plus de 3 ans il y a | 0

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

plus de 3 ans il y a | 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...

plus de 3 ans il y a | 1 réponse | 1

1

réponse

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

plus de 3 ans il y a | 1

| A accepté

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

plus de 3 ans il y a | 0

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

plus de 3 ans il y a | 0

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

plus de 3 ans il y a | 0

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

plus de 3 ans il y a | 0

| A accepté

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

plus de 3 ans il y a | 0

| A accepté

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

plus de 3 ans il y a | 0

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

plus de 3 ans il y a | 0

Charger plus