Beantwortet
Difference fit result form nlinfit and lsqcurvefit
And, so? Many problems will have multiple locally optimal solutions. Neither of those tools even hopes to be a globally optimal...

mehr als 3 Jahre vor | 0

| akzeptiert

Beantwortet
Define a family of functions
DON'T DO IT THAT WAY. Instead, define ONE function. One function to rule them all. (Sorry. That last part just slipped out.) Se...

mehr als 3 Jahre vor | 1

| akzeptiert

Beantwortet
Draw the sphere to find the radius of the sphere
Estimation of the sphere parameters is not too difficult. First, since you have shown no data, I'll make some up. XYZ = randn(5...

mehr als 3 Jahre vor | 0

| akzeptiert

Beantwortet
How can I generate a trigonometric formula for the following case?
Theta= [39.8414239035357 38.0423831220740 35.9925962696569 33.6629179282453 31.0086860615562 27.9576609766453 24.3833553424339...

mehr als 3 Jahre vor | 2

Beantwortet
Randomize vector avoiding consecutive values
Typically, rejection would be necessary. Of course, if your initial vector were composed only of two elements, then there are on...

mehr als 3 Jahre vor | 0

Beantwortet
What does this plot mean? Can an equation be made of it?
Can you get an "equation" for it? No. At least not any more than what you already have. Anyway, an equation involves an equality...

mehr als 3 Jahre vor | 0

Beantwortet
is that really necessary to measure and put the weakness of the thesis if it is not scope of the work?
This is totally inappropriate to Answers, since it has nothing to do with MATLAB. Even if MATLAB would be involved with your the...

mehr als 3 Jahre vor | 0

Beantwortet
Data fitting using thin-plate spline/interpolation
This is a common problem people have with splines in any form. They hope to see some nice simple function they can write down. M...

mehr als 3 Jahre vor | 2

Beantwortet
How to display a message as flashing and in my desired color and font size?
You can do that, but since disp is not written to accept those extra arguments, it might not work. Wanting code to do what you w...

mehr als 3 Jahre vor | 1

Beantwortet
3d plot of Tridimensional parabolic motion
It should look strange. Why? g=9.8; z0= 14325; x0=0; y0=0; V_0= 200*0.3048; gamma=0.78; V_0x=V_0*cos(gamma); V_0y=V_0*co...

mehr als 3 Jahre vor | 0

| akzeptiert

Beantwortet
Can I define or change the direction of 'reshape'?
No. You cannot do so. You cannnot change how reshape works. HOWEVER. Nothing stops you from changing that afterwards. For examp...

mehr als 3 Jahre vor | 1

| akzeptiert

Beantwortet
Isolate horizonal part of curve
What part of this curve is horizontal? syms x F = exp(-10*x) fplot(F,[0,3]) Well, clearly, ithe horizontal part lies above x...

mehr als 3 Jahre vor | 1

Beantwortet
A way to write "if x is in y matrix do this"
You CANNOT use ismember to test if a number is in an interval. Even ismembertol does not do that. Using code to do something it ...

mehr als 3 Jahre vor | 0

Beantwortet
numerical integration inf to inf
You cannot use trapezoidal rule to do the integration exactly fully to the endpoints, since the shape of that function is too ex...

mehr als 3 Jahre vor | 0

Beantwortet
What is the maximum size of *.mat file?
There is no maximum size of either file. It would be strictly dependent on the memory you have available. Well, you could say ...

mehr als 3 Jahre vor | 0

Beantwortet
Upper bound curve that passes through the extreme (highest) points
I would argue a convex hull is probably at least close to what is wanted. That it works here because the envelope is roughly a c...

mehr als 3 Jahre vor | 1

Beantwortet
How to find number of bit change between binary numbers?
Read what @Jan said. xor followed by sum is the simple way to go, of course. And we really have not been given enough informatio...

mehr als 3 Jahre vor | 1

Beantwortet
infinity recursion with in the program
What do you expect? Look carefully at your code. I've extracted the only lines that matter below. function stabil = punktStabil...

mehr als 3 Jahre vor | 0

| akzeptiert

Beantwortet
Most efficient way to solve a symbolic equation system with more than 2k unknowns
Symbolic solvers are SLOW. Well, comparatively so. This is partly because they use high precision. The computations, if they are...

mehr als 3 Jahre vor | 0

Beantwortet
I want to ask how to define the partial fraction code single number located at the numerator?
Remember that MATLAB does not understand implicit multiplication. That is, 4x is not interpreted as 4*x. In MATLAB, 4x is just a...

mehr als 3 Jahre vor | 0

Beantwortet
How to extrapolate the data while some data is already supplied on one spine?
Extrapolation using a spline (in any form)? A terribly bad idea in general. Extrapolation over a long distance? Another terribl...

mehr als 3 Jahre vor | 0

| akzeptiert

Beantwortet
Why DerivativeCheck would be allowed to be on while there is no GradObj?
You can set other options that will be ignored if they are not applicable. Would you rather have the code fail for no reason on ...

mehr als 3 Jahre vor | 0

Beantwortet
Finding the first index of a row where all integers of a defined list have occurred
Given a vector, can you simply find the first index where all have occurred? Just use ismember. x=randi([1,4],1,100) [~,locs] ...

mehr als 3 Jahre vor | 0

| akzeptiert

Beantwortet
How do I separate terms using symbolic expression?
Trying to get a symbolic tool to give you exactly the form you want to see is often terribly difficult, and usually not worth th...

mehr als 3 Jahre vor | 0

| akzeptiert

Beantwortet
Orthogonality by Singular value decomposition "svd"
Seems easy enough. A = randi(5,[5,3]) rank(A) So A is a simple matrix, with rank 3. There are 3 vectors that would form a bas...

mehr als 3 Jahre vor | 1

Beantwortet
How do I solve a linear optimization problem with a constrained output?
Seems easy enough. For example, suppose you have a linear programming problem where you solve it to minimize over x. But you al...

mehr als 3 Jahre vor | 1

Beantwortet
I want to check if something algebraically simplifies to 0 when i sub in values
syms q1 q2 q3 g Y u a rho e E=[q2,((q2^2)/q1)*(1-(g-1)*.5)+(g-1)*q3,((q3*q2)/q1)+(g-1)*((q3*q2)/q1)-.5*(g-1)*(q2^3/q1^2)]; Q=[...

mehr als 3 Jahre vor | 0

| akzeptiert

Beantwortet
How to convert a point in meshgrid to vector coordinates?
You already have the coordinates, so I'm not at all sure what your question asks. Perhaps an example would help. x = -10:5:10 ...

mehr als 3 Jahre vor | 0

| akzeptiert

Beantwortet
How can I access the following builtin function code? [L,p] = chol(A,'lower')
Easy. Get a job at The MathWorks. If that is not an option for you, then sorry, you don't get to see the source code. They don'...

mehr als 3 Jahre vor | 0

Beantwortet
Optimising Limits of Chain integrals
I can't imagine why you want to do this. BUT, it is an interesting problem, so I'll take a look. Assume that all functions are ...

mehr als 3 Jahre vor | 0

Mehr laden