統計
All
Feeds
回答済み
Jacobi iterative method in matlab
the expression x_new = (b - A*x + diag(A).*x)./diag(A) works. I don't know if it might run into numerical accuracy issues due...
Jacobi iterative method in matlab
the expression x_new = (b - A*x + diag(A).*x)./diag(A) works. I don't know if it might run into numerical accuracy issues due...
2日 前 | 0
回答済み
convolution integral with ode45
This is a very interesting problem! Convolution of the loss term for the harmonic oscillator. I had been working on some exten...
convolution integral with ode45
This is a very interesting problem! Convolution of the loss term for the harmonic oscillator. I had been working on some exten...
8日 前 | 0
回答済み
convolution integral with ode45
******************** MODIFIED ******(************** because the method suggested here does not work. I took out some us...
convolution integral with ode45
******************** MODIFIED ******(************** because the method suggested here does not work. I took out some us...
11日 前 | 1
回答済み
Understanding recursion for decimal to binary conversion
Hi Kyle, here is an attempt, hope it helps. As Walter has noted, this is not a recursion since the function does not call a pre...
Understanding recursion for decimal to binary conversion
Hi Kyle, here is an attempt, hope it helps. As Walter has noted, this is not a recursion since the function does not call a pre...
13日 前 | 1
回答済み
Imaginary output from arccosine function when the input is close to -1
Hi Ali, The acos and (m dot n) approach is not a good way to go about this at all. It's inaccurate when n is almost equal to -m...
Imaginary output from arccosine function when the input is close to -1
Hi Ali, The acos and (m dot n) approach is not a good way to go about this at all. It's inaccurate when n is almost equal to -m...
約1ヶ月 前 | 1
回答済み
Sign of lambda.eqlin
Hi Aiden, William's example is f(x) = x^2+y^2 Aeq=[1,1] beq = 1 L(x,lambda) = f(x) + lambda*(Aeq*x'-beq) % conve...
Sign of lambda.eqlin
Hi Aiden, William's example is f(x) = x^2+y^2 Aeq=[1,1] beq = 1 L(x,lambda) = f(x) + lambda*(Aeq*x'-beq) % conve...
約1ヶ月 前 | 1
回答済み
ilaplace doesn't handle tanh()
Hi marcel, There seems to be some uncertainty about the question, but this answer is for the voltage across the resistor, for a...
ilaplace doesn't handle tanh()
Hi marcel, There seems to be some uncertainty about the question, but this answer is for the voltage across the resistor, for a...
2ヶ月 前 | 0
質問
Iterating the eigenvalue function (eig) produces patterns --- is this a well known result?
Suppose M is a square matrix and [N lambda] = eig(M), so that the columns of N contain the eigenvectors of M and the diagonal ...
3ヶ月 前 | 2 件の回答 | 0
2
回答回答済み
Transpose matrix and your transposition
HI Airto, Rather than actually transpose it with the ' (apostrophe) command, you can use zeros(3,3500000); The transpose a...
Transpose matrix and your transposition
HI Airto, Rather than actually transpose it with the ' (apostrophe) command, you can use zeros(3,3500000); The transpose a...
3ヶ月 前 | 1
| 採用済み
回答済み
How to model a cable passing through a hole in 3D in Simscape?
Hi Soumya, (hypothetical answer since I don't know how details work in Simscape). In your diagram if it's known that the exit ...
How to model a cable passing through a hole in 3D in Simscape?
Hi Soumya, (hypothetical answer since I don't know how details work in Simscape). In your diagram if it's known that the exit ...
3ヶ月 前 | 0
回答済み
How to correctly find the solution of a system of equations containing trigonometric functions
Hello yan, This is one of those situations where a multivariable solver is best avoided if possible. With enough variable subs...
How to correctly find the solution of a system of equations containing trigonometric functions
Hello yan, This is one of those situations where a multivariable solver is best avoided if possible. With enough variable subs...
4ヶ月 前 | 0
回答済み
can anyone suggest me how to convert binary value to gray code value??
Here I used 'grey' instead of gray since Matlab has a function called gray. n = 4 G = grey(n); IG = igrey(n); nbin = dec2bin...
can anyone suggest me how to convert binary value to gray code value??
Here I used 'grey' instead of gray since Matlab has a function called gray. n = 4 G = grey(n); IG = igrey(n); nbin = dec2bin...
4ヶ月 前 | 0
回答済み
How to further utilize the "simplify" function for simplification?
How did an overall factor of theta_dot5 in the question later become sin(theta_5) in the comments ?!? Taking the original posti...
How to further utilize the "simplify" function for simplification?
How did an overall factor of theta_dot5 in the question later become sin(theta_5) in the comments ?!? Taking the original posti...
4ヶ月 前 | 0
| 採用済み
回答済み
How can I get the correct answer for int(1/x) with symbolic integration?
Hello Georg, I agree that log(|x|) is the correct way to do this, consistent with what tables of integrals have to say. (With ...
How can I get the correct answer for int(1/x) with symbolic integration?
Hello Georg, I agree that log(|x|) is the correct way to do this, consistent with what tables of integrals have to say. (With ...
5ヶ月 前 | 0
| 採用済み
回答済み
How does sub2ind work with non-integer values?
Hi Saygin, Interesting behavior. The help for sub2ind says it 'returns the linear index equivalent' and I guess they really me...
How does sub2ind work with non-integer values?
Hi Saygin, Interesting behavior. The help for sub2ind says it 'returns the linear index equivalent' and I guess they really me...
5ヶ月 前 | 3
回答済み
Spectrum block shows incorrect dbm value
Hi Sergei, The plot shows peaks at both positive and negative frequencies. Each of those equal size peaks contains half of the...
Spectrum block shows incorrect dbm value
Hi Sergei, The plot shows peaks at both positive and negative frequencies. Each of those equal size peaks contains half of the...
5ヶ月 前 | 1
| 採用済み
回答済み
Positive Roots of bessel functions.
Hi Javeria, here is a function besse0j to calculate the roots of J and J'. (at the origin, Jn(0) = 0 for n>0 but these zeros ar...
Positive Roots of bessel functions.
Hi Javeria, here is a function besse0j to calculate the roots of J and J'. (at the origin, Jn(0) = 0 for n>0 but these zeros ar...
6ヶ月 前 | 0
回答済み
Can we find derivative of bessel functions in matlab directly?
Hi Javeria, Here is a function that produces J'm(x) for integer m. function y = besseljd(n,x,opt) % derivative of bessel fu...
Can we find derivative of bessel functions in matlab directly?
Hi Javeria, Here is a function that produces J'm(x) for integer m. function y = besseljd(n,x,opt) % derivative of bessel fu...
6ヶ月 前 | 0
回答済み
solving system of equations
Hi Javeria, If it's not required to solve this in the way you mention, there is a better way. Assume that x2 is positive or ze...
solving system of equations
Hi Javeria, If it's not required to solve this in the way you mention, there is a better way. Assume that x2 is positive or ze...
6ヶ月 前 | 0
回答済み
Why am I only getting the upper sideband when multiplying complex signals?
Hi Jared, You probably can't reproduce the result with a single operation. When you use the 'complex' option, the resulting wa...
Why am I only getting the upper sideband when multiplying complex signals?
Hi Jared, You probably can't reproduce the result with a single operation. When you use the 'complex' option, the resulting wa...
6ヶ月 前 | 0
回答済み
The coefficients of a Hermite polynomial
Hi Magdy, For a change of pace, here is a function that calculates the coefficents of Hn by recursion. I didn't want to get in...
The coefficients of a Hermite polynomial
Hi Magdy, For a change of pace, here is a function that calculates the coefficents of Hn by recursion. I didn't want to get in...
6ヶ月 前 | 0
回答済み
why mod(rref(A), 2) does not give the correct result?
Hi Lily, Although c is a linear combination of a and b mod 2, rref does not know anything about mod 2. rank([a b c]) ans = ...
why mod(rref(A), 2) does not give the correct result?
Hi Lily, Although c is a linear combination of a and b mod 2, rref does not know anything about mod 2. rank([a b c]) ans = ...
7ヶ月 前 | 0
| 採用済み
回答済み
how to determine the wavelengths of an fft of a non-dimensional sequence
Hi Andreas, For a fourier transform, time and frequency, or length and wave number, or [before-fourier-transform] independent v...
how to determine the wavelengths of an fft of a non-dimensional sequence
Hi Andreas, For a fourier transform, time and frequency, or length and wave number, or [before-fourier-transform] independent v...
8ヶ月 前 | 1
回答済み
Can I get the integral formula using Matlab?
Hello Haya, The integral is very much defined for m=n. In that case you are integrating the function sin(n*x/2)^2*(x-pi)^2 w...
Can I get the integral formula using Matlab?
Hello Haya, The integral is very much defined for m=n. In that case you are integrating the function sin(n*x/2)^2*(x-pi)^2 w...
8ヶ月 前 | 0
回答済み
Is there any expert who knows how the SNR result in the RF Budget Analyzer is calculated? Why is it inconsistent with the value I calculated?
Hi ZW, It's good to work out things independently as you are doing. The available power is 0 dBm, i.e. 1 milliwatt = -30 dB wa...
Is there any expert who knows how the SNR result in the RF Budget Analyzer is calculated? Why is it inconsistent with the value I calculated?
Hi ZW, It's good to work out things independently as you are doing. The available power is 0 dBm, i.e. 1 milliwatt = -30 dB wa...
8ヶ月 前 | 1
| 採用済み
回答済み
Peak in probability distribution moves in normpdf when changing lower bound for input vector
Hi Chris, try x = 10e3:70e3; plot(x,normpdf(x,40e3,6e3)) The problem occurs because if you create y = f(x) and use plot(y), t...
Peak in probability distribution moves in normpdf when changing lower bound for input vector
Hi Chris, try x = 10e3:70e3; plot(x,normpdf(x,40e3,6e3)) The problem occurs because if you create y = f(x) and use plot(y), t...
8ヶ月 前 | 2
| 採用済み
回答済み
Regarding grid generation using finite difference method (*code fixed)
Hello arxiv, It appears that what you want in the code is not new_x = x(n, m) + Delta_eta * ((pi/4) - y_xi)/(x_xi); but rath...
Regarding grid generation using finite difference method (*code fixed)
Hello arxiv, It appears that what you want in the code is not new_x = x(n, m) + Delta_eta * ((pi/4) - y_xi)/(x_xi); but rath...
9ヶ月 前 | 1
| 採用済み
回答済み
solve Lagrange eqs.
Hi Lorenzo, The sin(phi) factor in the denominator does not really matter, in the sense that if phi can be zero, then the parti...
solve Lagrange eqs.
Hi Lorenzo, The sin(phi) factor in the denominator does not really matter, in the sense that if phi can be zero, then the parti...
9ヶ月 前 | 0
回答済み
How to remove a mirror tilt
Suppose the two mirrors, the source and the detector are as shown below. Assume the beam splitter does not have a wedge effect...
How to remove a mirror tilt
Suppose the two mirrors, the source and the detector are as shown below. Assume the beam splitter does not have a wedge effect...
9ヶ月 前 | 1
回答済み
Remove ignored complex values from a plot
Hi Arne, Either you are getting complex numbers because of an error in the algebra that you coded up (I assume you have checked...
Remove ignored complex values from a plot
Hi Arne, Either you are getting complex numbers because of an error in the algebra that you coded up (I assume you have checked...
9ヶ月 前 | 0






