回答済み

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

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

8日 前 | 1

回答済み

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

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

8日 前 | 0

回答済み

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

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

8日 前 | 0

回答済み

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

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

9日 前 | 0

回答済み

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

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

9日 前 | 1

回答済み

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

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

10日 前 | 1

回答済み

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

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

10日 前 | 0

| 採用済み

回答済み

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

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

10日 前 | 0

回答済み

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

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

11日 前 | 0

回答済み

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

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

11日 前 | 0

| 採用済み

回答済み

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

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

11日 前 | 0

回答済み

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

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

11日 前 | 0

| 採用済み

回答済み

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

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

11日 前 | 0

回答済み

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

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

11日 前 | 1

回答済み

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

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

11日 前 | 1

回答済み

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

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

11日 前 | 0

| 採用済み

回答済み

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

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

12日 前 | 0

| 採用済み

回答済み

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

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

12日 前 | 0

回答済み

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

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

13日 前 | 0

回答済み

How to calculate the symbolic integration of rational functions?

If the polynomial has a sufficiently low degree, it can always be factored, in which case as has been pointed out, you just turn...

How to calculate the symbolic integration of rational functions?

If the polynomial has a sufficiently low degree, it can always be factored, in which case as has been pointed out, you just turn...

13日 前 | 1

回答済み

pos function does not work

Now that we see what is meant by pos, we see that in fact, pos is just an array. It is not a function at all. https://in.mathw...

pos function does not work

Now that we see what is meant by pos, we see that in fact, pos is just an array. It is not a function at all. https://in.mathw...

13日 前 | 0

| 採用済み

回答済み

Pipe elbow creation using MATLAB code

What is not working? Why do you think it is not working? I would conjecture that one problem you have is you cannot model a 90 ...

Pipe elbow creation using MATLAB code

What is not working? Why do you think it is not working? I would conjecture that one problem you have is you cannot model a 90 ...

13日 前 | 1

| 採用済み

回答済み

plot using matlab(parabolic)

It IS curved, though not truly parabolic. A parabola means something specific about the shape, as a polynomial curve. But you ju...

plot using matlab(parabolic)

It IS curved, though not truly parabolic. A parabola means something specific about the shape, as a polynomial curve. But you ju...

14日 前 | 0

回答済み

Creating equal lists by minimizing variance on two factors

Why should there be such a function? My guess would be you want to use a tool like kmeans, clustering your data in 2 dimensions...

Creating equal lists by minimizing variance on two factors

Why should there be such a function? My guess would be you want to use a tool like kmeans, clustering your data in 2 dimensions...

14日 前 | 0

回答済み

pos function does not work

which pos We cannot tell you how to use a function that does not exist in MATLAB. Is pos a function that would be found on the...

pos function does not work

which pos We cannot tell you how to use a function that does not exist in MATLAB. Is pos a function that would be found on the...

14日 前 | 0

回答済み

Find integral upper limit knowing the result and having an array

A basic rule is, you CANNOT use integral OR fzero with data, thus a vector of numbers. You CAN approximate your data using a fu...

Find integral upper limit knowing the result and having an array

A basic rule is, you CANNOT use integral OR fzero with data, thus a vector of numbers. You CAN approximate your data using a fu...

15日 前 | 0

回答済み

Optimal routing for building feeders in the form of a radial network

You probably need to use tools from graph theory. And there are a nice set of such tools in MATLAB. help graph help minspantre...

Optimal routing for building feeders in the form of a radial network

You probably need to use tools from graph theory. And there are a nice set of such tools in MATLAB. help graph help minspantre...

16日 前 | 0

回答済み

dize ifadesi matlab'da yazılamaz

Sure it does. S = "Hellow World" However, it is likely that you have an older release of MATLAB, which may not allow the use o...

dize ifadesi matlab'da yazılamaz

Sure it does. S = "Hellow World" However, it is likely that you have an older release of MATLAB, which may not allow the use o...

16日 前 | 0

回答済み

MATLAB error using fzero function

You cannot use fzero on a vector. A vector of elements is NOT a function. It is just a list of numbers. And while you may think ...

MATLAB error using fzero function

You cannot use fzero on a vector. A vector of elements is NOT a function. It is just a list of numbers. And while you may think ...

16日 前 | 0

回答済み

Use of fmincon with objective function as m-file

Easy enough. The simple way, assuming all of the variables: {O_plus,O_minus,L_a,L_c,I_app,t} are defined in your workspace, is t...

Use of fmincon with objective function as m-file

Easy enough. The simple way, assuming all of the variables: {O_plus,O_minus,L_a,L_c,I_app,t} are defined in your workspace, is t...

16日 前 | 1

| 採用済み