回答済み

Solving an inequation of first degree issue

syms x a = 3*x + 21 <= 5*x + 13 asol = solve(a,'returnconditions',true) asol.x asol.conditions It looks like x >= 4 is the ...

Solving an inequation of first degree issue

syms x a = 3*x + 21 <= 5*x + 13 asol = solve(a,'returnconditions',true) asol.x asol.conditions It looks like x >= 4 is the ...

約1ヶ月 前 | 1

| 採用済み

回答済み

datetime values appear to be equal but return not equal

format long does NOT tell you every single digit in the number!!!! format long does NOT tell you every single digit in the numb...

datetime values appear to be equal but return not equal

format long does NOT tell you every single digit in the number!!!! format long does NOT tell you every single digit in the numb...

約1ヶ月 前 | 0

| 採用済み

回答済み

Distribute data in the form of a circle

You say you want to distribute data, which implies you want to see random numbers, based on some vague, unspecified distribution...

Distribute data in the form of a circle

You say you want to distribute data, which implies you want to see random numbers, based on some vague, unspecified distribution...

約1ヶ月 前 | 0

| 採用済み

回答済み

Cody Problem 19. Swap the first and last columns

This is NOT a provblem with the Cody problem, but with your code to solve it. First, see what happens when A is 1. I'll show wh...

Cody Problem 19. Swap the first and last columns

This is NOT a provblem with the Cody problem, but with your code to solve it. First, see what happens when A is 1. I'll show wh...

約1ヶ月 前 | 0

| 採用済み

回答済み

How I can separate a matrix that is not positive definite, into two matrices?

Please learn to use operators and to clearly explain your question. Are you asking to find a new matrix Sq, such that the linea...

How I can separate a matrix that is not positive definite, into two matrices?

Please learn to use operators and to clearly explain your question. Are you asking to find a new matrix Sq, such that the linea...

約1ヶ月 前 | 0

回答済み

Search for combination of parameters that make minimum function output.

Before you go too far, some ideas to consider. I hope you have a FUNCTION, not a script. Learn to use functions. You will need...

Search for combination of parameters that make minimum function output.

Before you go too far, some ideas to consider. I hope you have a FUNCTION, not a script. Learn to use functions. You will need...

約1ヶ月 前 | 0

回答済み

Interpolating non-independent values

x is non-monotonic as a function of time. I have no idea what you mean by bounce, but I assume it indicates the failure to be mo...

Interpolating non-independent values

x is non-monotonic as a function of time. I have no idea what you mean by bounce, but I assume it indicates the failure to be mo...

約2ヶ月 前 | 1

回答済み

Is not there a way to erase all the NaNs from a mxn matrix once and left the index values empty ?

A matrix cannot have "empty" elements. Well, a cell array can, or if you wrote a completely new class of your own, but standard ...

Is not there a way to erase all the NaNs from a mxn matrix once and left the index values empty ?

A matrix cannot have "empty" elements. Well, a cell array can, or if you wrote a completely new class of your own, but standard ...

約2ヶ月 前 | 1

| 採用済み

回答済み

Can't solve for x with (a = y/x)

I'm not sure what a rational integer is. How is that distinct from an integer? Anyway, assume x and y are integers, with a comp...

Can't solve for x with (a = y/x)

I'm not sure what a rational integer is. How is that distinct from an integer? Anyway, assume x and y are integers, with a comp...

約2ヶ月 前 | 0

回答済み

How can I use while loops to determine if an element is larger than the element below it and store the results in a vector with 1 representing true and 0 representing false?

"While" this does not answer your question, I would not use a while loop at all. Learn to use MATLAB as it is designed. A = ran...

How can I use while loops to determine if an element is larger than the element below it and store the results in a vector with 1 representing true and 0 representing false?

"While" this does not answer your question, I would not use a while loop at all. Learn to use MATLAB as it is designed. A = ran...

約2ヶ月 前 | 2

回答済み

Function after spline fitting

You cannot extract any "function" from a spline. At least, if you did, it would not be anything you could read or type without m...

Function after spline fitting

You cannot extract any "function" from a spline. At least, if you did, it would not be anything you could read or type without m...

約2ヶ月 前 | 0

回答済み

How to extrapolate a curve using a data set?

Ah, if people were able to accurately and easily extrapolate data, then everyone would agree about things like global warming. O...

How to extrapolate a curve using a data set?

Ah, if people were able to accurately and easily extrapolate data, then everyone would agree about things like global warming. O...

約2ヶ月 前 | 1

回答済み

Solving a first order ODE with dsolve

While you may THINK that is the only answer, is it true that y==0 is also a solution? How about the constant value of sqrt(2)? ...

Solving a first order ODE with dsolve

While you may THINK that is the only answer, is it true that y==0 is also a solution? How about the constant value of sqrt(2)? ...

約2ヶ月 前 | 0

| 採用済み

回答済み

does pp.breaks represent the arc length ?

NO. Not even remotely close to the arc length for a standard spline, perhaps something computed using the function spline. Alth...

does pp.breaks represent the arc length ?

NO. Not even remotely close to the arc length for a standard spline, perhaps something computed using the function spline. Alth...

約2ヶ月 前 | 0

回答済み

How to efficiently solve a matrix eqation when the matrix is updated?

The problem is, it very much depends. If you can write the change in A as a rank 1 update, AND you write the code well, then you...

How to efficiently solve a matrix eqation when the matrix is updated?

The problem is, it very much depends. If you can write the change in A as a rank 1 update, AND you write the code well, then you...

約2ヶ月 前 | 0

回答済み

2d plot of a non-linear equation

Walter has already told you how to plot it. But so you can learn how to find that for yourself, learn to use lookfor. The trick...

2d plot of a non-linear equation

Walter has already told you how to plot it. But so you can learn how to find that for yourself, learn to use lookfor. The trick...

約2ヶ月 前 | 0

回答済み

Basins of attraction and Newtons Method

Since this is clearly homework, and we don't do homework for people on this site, think about it! First, you almost always want...

Basins of attraction and Newtons Method

Since this is clearly homework, and we don't do homework for people on this site, think about it! First, you almost always want...

約2ヶ月 前 | 0

回答済み

Multiple Equations in Matlab Solver

No. You have ONE equation. It just happens that you defined it in 4 pieces, then you added them all up. If you defined them as ...

Multiple Equations in Matlab Solver

No. You have ONE equation. It just happens that you defined it in 4 pieces, then you added them all up. If you defined them as ...

約2ヶ月 前 | 0

回答済み

Fitting nonlinear noisy data

This is something I recall reading about many years ago. Nonlinear least squares in the presence of high noise is a classically ...

Fitting nonlinear noisy data

This is something I recall reading about many years ago. Nonlinear least squares in the presence of high noise is a classically ...

約2ヶ月 前 | 0

| 採用済み

回答済み

Solving an Improper Integral

Think of it like this. Do ALL problems you might pose to a computer have a solution? If so, then I might try solve('Peace ...

Solving an Improper Integral

Think of it like this. Do ALL problems you might pose to a computer have a solution? If so, then I might try solve('Peace ...

約2ヶ月 前 | 0

回答済み

Find range of values of independent variable so the dependent variable is in a certain range

No. Given a completely general nonlinear function as a black box, so you cannot see inside the box, just pass in values, the ans...

Find range of values of independent variable so the dependent variable is in a certain range

No. Given a completely general nonlinear function as a black box, so you cannot see inside the box, just pass in values, the ans...

約2ヶ月 前 | 0

回答済み

Please Help - How do I solve this for M

You need to understand that solve is a solver that will produce an analytical solution if possible. And this apparently reduces ...

Please Help - How do I solve this for M

You need to understand that solve is a solver that will produce an analytical solution if possible. And this apparently reduces ...

約2ヶ月 前 | 0

回答済み

How to transform matrix V? (A = V*F*inv(V))

If a solution exists to the problem, you finding it in a fully robust way using the transformation A*V == V*F may be problematic...

How to transform matrix V? (A = V*F*inv(V))

If a solution exists to the problem, you finding it in a fully robust way using the transformation A*V == V*F may be problematic...

約2ヶ月 前 | 2

回答済み

Graph of a truss

Just plot each line segment using line, where you define the end points of the segments. You can provide a color spec for each s...

Graph of a truss

Just plot each line segment using line, where you define the end points of the segments. You can provide a color spec for each s...

約2ヶ月 前 | 0

回答済み

binary quadratic optimization under linear constraints

How is this not just a linear least squares estimation of the two unknown parameters? There is nothing binary about this, except...

binary quadratic optimization under linear constraints

How is this not just a linear least squares estimation of the two unknown parameters? There is nothing binary about this, except...

約2ヶ月 前 | 1

| 採用済み

回答済み

how can I linear interpolation without using function

Simple. just use interp1. You are not allowed to use interp1q. But interp1 is not interp1q.

how can I linear interpolation without using function

Simple. just use interp1. You are not allowed to use interp1q. But interp1 is not interp1q.

約2ヶ月 前 | 0

回答済み

Curve on specific X and Y coordinates

x = [429.245/3, 303.996/3, 287.771/3, 267.384/3, 252.095/3,239.755/3,224.149/3,201.129/3,0,-198.87/3, 222.745/3,237.498/3,249.83...

Curve on specific X and Y coordinates

x = [429.245/3, 303.996/3, 287.771/3, 267.384/3, 252.095/3,239.755/3,224.149/3,201.129/3,0,-198.87/3, 222.745/3,237.498/3,249.83...

約2ヶ月 前 | 0

回答済み

I want to solve the equation find metric

Sorry, but your question makes no sense mathematically. H is 64x199. Frf is 100x5. So H*Frf is 64x5. No problem there. Both mat...

I want to solve the equation find metric

Sorry, but your question makes no sense mathematically. H is 64x199. Frf is 100x5. So H*Frf is 64x5. No problem there. Both mat...

約2ヶ月 前 | 1

回答済み

Why is this output nothing and what can i change to make it work

I had to laugh at your statement that there is nothing wrong with the code. That seems counter to the fact that it produces noth...

Why is this output nothing and what can i change to make it work

I had to laugh at your statement that there is nothing wrong with the code. That seems counter to the fact that it produces noth...

約2ヶ月 前 | 0

| 採用済み

回答済み

fminsearch curve fitting HELP!!

You use sl in places in your code, yet you never defined sl. Yes, that is a lower case L, not the number 1. My guess is you mean...

fminsearch curve fitting HELP!!

You use sl in places in your code, yet you never defined sl. Yes, that is a lower case L, not the number 1. My guess is you mean...

約2ヶ月 前 | 0