답변 있음

How to obtain the 3 × 3 symmetric covariance matrix of a 3x1 matrix?

If all you have are three numbers, then a covariance matrix is meaningless. There are two cases we might consider, since I have ...

How to obtain the 3 × 3 symmetric covariance matrix of a 3x1 matrix?

If all you have are three numbers, then a covariance matrix is meaningless. There are two cases we might consider, since I have ...

15일 전 | 0

답변 있음

How to plot three variables in matlab?? A*cos(w*t+theta)

It certainly is possible. All you need is a multi-dimensional holographic monitor to view it. Sadly, these are hard to come by, ...

How to plot three variables in matlab?? A*cos(w*t+theta)

It certainly is possible. All you need is a multi-dimensional holographic monitor to view it. Sadly, these are hard to come by, ...

16일 전 | 2

| 수락됨

답변 있음

Stop Bit growth for power computation

Case 1: You CANNOT raise a double precision number to a power such that it exceeds flintmax (2^53 - 1) and expect the result to ...

Stop Bit growth for power computation

Case 1: You CANNOT raise a double precision number to a power such that it exceeds flintmax (2^53 - 1) and expect the result to ...

17일 전 | 1

답변 있음

Unable to find solution to matrix using Gauss Seidal code. How should I proceed to get the solution?

By the way, the name is spelled Seidel, not Seidal. https://en.wikipedia.org/wiki/Gauss–Seidel_method A=[-0.707 -1 0 0 0 0 0 -...

Unable to find solution to matrix using Gauss Seidal code. How should I proceed to get the solution?

By the way, the name is spelled Seidel, not Seidal. https://en.wikipedia.org/wiki/Gauss–Seidel_method A=[-0.707 -1 0 0 0 0 0 -...

18일 전 | 1

| 수락됨

답변 있음

Is there any alternate ways to make payment while registering for MATLAB associate certification

This is not a question for Answers, but a question to pose DIRECTLY TO THE MATHWORKS. Answers is a user supported site. We are a...

Is there any alternate ways to make payment while registering for MATLAB associate certification

This is not a question for Answers, but a question to pose DIRECTLY TO THE MATHWORKS. Answers is a user supported site. We are a...

18일 전 | 0

| 수락됨

답변 있음

Writing a math equation.

Good. You made an effort, did some reading. Not only that, but you are trying things, getting your hands dirty. Keep that up and...

Writing a math equation.

Good. You made an effort, did some reading. Not only that, but you are trying things, getting your hands dirty. Keep that up and...

19일 전 | 0

| 수락됨

답변 있음

How to determine the coefficient from the argmin function ?

What you need to unerstand is there is NO simple solution. There are no unique set of values a1, b1, c1 that solve the problem. ...

How to determine the coefficient from the argmin function ?

What you need to unerstand is there is NO simple solution. There are no unique set of values a1, b1, c1 that solve the problem. ...

20일 전 | 1

답변 있음

Solve Equation which has 2 solutions but returns imaginary numbers

Super-complicated? Seriously? :) NOT. But I suppose complexity is in the eyes of the beholder. Start with this: Theta=[ 15] T...

Solve Equation which has 2 solutions but returns imaginary numbers

Super-complicated? Seriously? :) NOT. But I suppose complexity is in the eyes of the beholder. Start with this: Theta=[ 15] T...

20일 전 | 0

답변 있음

Unique values for each sequence

Hint: What does diff give you? TRY IT! x = [1 1 1 1 2 2 1 1 1 3 3 3 2]; diff(x) What would happen if we tried find on that re...

Unique values for each sequence

Hint: What does diff give you? TRY IT! x = [1 1 1 1 2 2 1 1 1 3 3 3 2]; diff(x) What would happen if we tried find on that re...

20일 전 | 2

답변 있음

Hi Guys.. I need to print X values from intlinprog output from all 24 iterations as a matrix, when am trying to assign the values to A matrix its not happening. PLz help

Of course, we cannot answer your question in more depth, since you have not provided your data. But if we look at the screenshot...

Hi Guys.. I need to print X values from intlinprog output from all 24 iterations as a matrix, when am trying to assign the values to A matrix its not happening. PLz help

Of course, we cannot answer your question in more depth, since you have not provided your data. But if we look at the screenshot...

20일 전 | 2

답변 있음

normpdf is taking zeros

No. At least, not in double precision. The "exact" value there is impossible to represent in a double precision number. The nor...

normpdf is taking zeros

No. At least, not in double precision. The "exact" value there is impossible to represent in a double precision number. The nor...

21일 전 | 0

| 수락됨

답변 있음

How to reduce computation time with 8 nested for loop

This is why there are optimization tools provided. Use them, instead of brute force search. But really, this is a combinatorial...

How to reduce computation time with 8 nested for loop

This is why there are optimization tools provided. Use them, instead of brute force search. But really, this is a combinatorial...

21일 전 | 0

답변 있음

How to put vector components into one single matrix and instead having them appear as two separate arrays

A very confusing question. But what about this does not do as you want? syms x y A = [2*x 1; 2 x*y] Admittedly, that is as sh...

How to put vector components into one single matrix and instead having them appear as two separate arrays

A very confusing question. But what about this does not do as you want? syms x y A = [2*x 1; 2 x*y] Admittedly, that is as sh...

21일 전 | 2

답변 있음

How to find the exact answer of an exponential equation?

syms t real Eqn = exp(-0.04*t)+exp(-0.12*t) - 1; Write it like that. I did so because now we can plot it. See that I specified...

How to find the exact answer of an exponential equation?

syms t real Eqn = exp(-0.04*t)+exp(-0.12*t) - 1; Write it like that. I did so because now we can plot it. See that I specified...

23일 전 | 0

답변 있음

Increase arithmetic precision in using Cardano formula

Either use roots to solve for the roots of the quartic, or be forced to use symbolic form for the solutions. Note that roots wil...

Increase arithmetic precision in using Cardano formula

Either use roots to solve for the roots of the quartic, or be forced to use symbolic form for the solutions. Note that roots wil...

23일 전 | 0

답변 있음

Chosing the step between lower bound and upper bound in genetic algorithm

Actually, this is simple. even trivial. Can you force a variable to take on integer valiues in GA? (yes) In the help for GA, I...

Chosing the step between lower bound and upper bound in genetic algorithm

Actually, this is simple. even trivial. Can you force a variable to take on integer valiues in GA? (yes) In the help for GA, I...

23일 전 | 0

답변 있음

how to find the root of function?

Or do this: alpha=0.74; g =0.5; gamma=1.2; sigma=1; phi=0.8; epsilon_1=1.5; w_r= (epsilon_1-1)/epsilon_1; syms n_h a ...

how to find the root of function?

Or do this: alpha=0.74; g =0.5; gamma=1.2; sigma=1; phi=0.8; epsilon_1=1.5; w_r= (epsilon_1-1)/epsilon_1; syms n_h a ...

27일 전 | 0

답변 있음

Optimizing 1 equation with 7 variables

You do understand this is likely impossible to do? If there are ANY solutions which satisfy the given equality, then there are ...

Optimizing 1 equation with 7 variables

You do understand this is likely impossible to do? If there are ANY solutions which satisfy the given equality, then there are ...

27일 전 | 1

| 수락됨

답변 있음

Collatz Conjecture using for loop

Your code is close to a working algorithm. There are some issues truly good code would worry about. Could you ever have an over...

Collatz Conjecture using for loop

Your code is close to a working algorithm. There are some issues truly good code would worry about. Could you ever have an over...

29일 전 | 2

| 수락됨

답변 있음

Hi everyone, i want to ask about curve fitting problem,

Invariably the data will vary by multiple orders of magnitude in such a problem. And that tends to imply the noise in your data ...

Hi everyone, i want to ask about curve fitting problem,

Invariably the data will vary by multiple orders of magnitude in such a problem. And that tends to imply the noise in your data ...

29일 전 | 1

답변 있음

Use a while loop to determine how many Fibonacci numbers are less than 100000.

What does your test do? That is... while x < 100000 Answer it tells when the INDEX of the Fibonacci number is less than 100000...

Use a while loop to determine how many Fibonacci numbers are less than 100000.

What does your test do? That is... while x < 100000 Answer it tells when the INDEX of the Fibonacci number is less than 100000...

약 1달 전 | 0

답변 있음

I have a Matrix , and I want to multiply this Matrix with something so I can get zeros

Please stop posting answers when you are making only comments. In what you claim to have tried: A=[-3 6 -1 1 7;1 -2 2 3 -1;2 -...

I have a Matrix , and I want to multiply this Matrix with something so I can get zeros

Please stop posting answers when you are making only comments. In what you claim to have tried: A=[-3 6 -1 1 7;1 -2 2 3 -1;2 -...

약 1달 전 | 0

답변 있음

How to solve an equation system using a interp1-variable

interp1 is incompatible with symbolic parameters. You CANNOT use interp1 with solve. Period. So wherever you found that snippet ...

How to solve an equation system using a interp1-variable

interp1 is incompatible with symbolic parameters. You CANNOT use interp1 with solve. Period. So wherever you found that snippet ...

약 1달 전 | 0

| 수락됨

답변 있음

I have the following code to calculate d/dx sin(0.5)) using first derivative principle and compare it with the real value. Why does err starts increasing again?

What are you doing? You used a simple forward difference to compute the derivative, as an approximation to the derivative of sin...

I have the following code to calculate d/dx sin(0.5)) using first derivative principle and compare it with the real value. Why does err starts increasing again?

What are you doing? You used a simple forward difference to compute the derivative, as an approximation to the derivative of sin...

약 1달 전 | 1

| 수락됨

답변 있음

The running time of binary integer linear programming and linear programming

Why is there something "wrong"? It is unexpected for you. But this just comes down to two different problems, solved by differen...

The running time of binary integer linear programming and linear programming

Why is there something "wrong"? It is unexpected for you. But this just comes down to two different problems, solved by differen...

약 1달 전 | 0

| 수락됨

답변 있음

Matlab only calculates values for only certain inputs in a matrix.

Except that is not how to use a loop. You want to compute the inverse of each value in the array. function convof= inverseof(x)...

Matlab only calculates values for only certain inputs in a matrix.

Except that is not how to use a loop. You want to compute the inverse of each value in the array. function convof= inverseof(x)...

약 1달 전 | 0

| 수락됨

답변 있음

Am I understanding this correctly?

Yes. Colors that you would describe as red all have high values in the red channel, and small values in the green and blue chann...

Am I understanding this correctly?

Yes. Colors that you would describe as red all have high values in the red channel, and small values in the green and blue chann...

약 1달 전 | 0

답변 있음

How to make constant to 1 in power function in curve fitting toolbox

Before you EVER make any fit to data, PLOT IT!!!!!!!! Plot your data. Then plot it in another way, until you have drained all th...

How to make constant to 1 in power function in curve fitting toolbox

Before you EVER make any fit to data, PLOT IT!!!!!!!! Plot your data. Then plot it in another way, until you have drained all th...

약 1달 전 | 0

답변 있음

fsolve doesn't find a solution when the value of the objective function is obtained through a Montecarlo simulation

Is your objective function a differentiable result of the parameters? If not, then fsolve cannot solve the problem. Fsol ve requ...

fsolve doesn't find a solution when the value of the objective function is obtained through a Montecarlo simulation

Is your objective function a differentiable result of the parameters? If not, then fsolve cannot solve the problem. Fsol ve requ...

약 1달 전 | 0

답변 있음

How to create a vector of symbolic variables with specific labeling

The simple direct way seems easiest. v = sym('v',[1 29]); v = v([1 2 3 5 7 9 10 12 18 29])

How to create a vector of symbolic variables with specific labeling

The simple direct way seems easiest. v = sym('v',[1 29]); v = v([1 2 3 5 7 9 10 12 18 29])

약 1달 전 | 0