Respondida
linprog failed to work. why? Did I do something wrong?
Feasibility, infeasibility If linprog tells you the problem is infeasible, that means it could not find a solution that satisfi...

más de 3 años hace | 0

Discussion


linprog failed to work. why? Did I do something wrong?
I've now seen linear programming questions pop up on Answers recently, with some common failure modes for linprog that people se...

más de 3 años hace | 1

Pregunta


linprog failed to work. why? Did I do something wrong?
I've now seen linear programming questions pop up on Answers recently, with some common failure modes for linprog that people se...

más de 3 años hace | 3 respuestas | 1

3

respuestas

Respondida
Find all global minima und maxima of an Graph
A peak is a peak. If your data has many peaks in it, can findpeaks really know that? At the same time, findpeaks is the correct ...

más de 3 años hace | 0

Respondida
Using error in splinetool with more complicated functions
Looks like the code is a bit buggy. Save this function m-file on your search path. function y = myfun(x) y = x.*cos(x); Then...

más de 3 años hace | 1

| aceptada

Respondida
Maximize Linear Programming using linprog Problem is unbounded?
Look carefully at the problem you have posed. Is there some direction we can move infinitely far out, and still obey those const...

más de 3 años hace | 0

| aceptada

Respondida
How to solve this multi equation using matlab program
It is a really, really, really bad idea to name a variable with the name pi. Why? Because as soon as you do, when you actually ...

más de 3 años hace | 0

| aceptada

Respondida
Are the top-ranked Matlab users working for MathWorks, or do they have another job ?
In most cases, we are not MathWorks employees. Those who do work there, have the word "staff" attached to their names. But Answe...

más de 3 años hace | 2

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

más de 3 años hace | 0

| aceptada

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

más de 3 años hace | 0

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

más de 3 años hace | 1

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

más de 3 años hace | 0

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

más de 3 años hace | 0

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

más de 3 años hace | 1

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

más de 3 años hace | 1

| aceptada

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

más de 3 años hace | 1

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

más de 3 años hace | 0

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

más de 3 años hace | 1

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

más de 3 años hace | 0

| aceptada

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

más de 3 años hace | 0

| aceptada

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

más de 3 años hace | 0

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

más de 3 años hace | 0

| aceptada

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

más de 3 años hace | 0

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

más de 3 años hace | 0

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

más de 3 años hace | 0

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

más de 3 años hace | 0

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

más de 3 años hace | 0

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

más de 3 años hace | 1

Pregunta


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

más de 3 años hace | 1 respuesta | 1

1

respuesta

Cargar más