Feeds
已回答
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 days 前 | 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 ...
6 days 前 | 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...
17 days 前 | 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...
19 days 前 | 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...
29 days 前 | 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 ...
2 months 前 | 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...
2 months 前 | 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...
2 months 前 | 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...
3 months 前 | 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...
3 months 前 | 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...
3 months 前 | 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...
3 months 前 | 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...
3 months 前 | 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 = ...
4 months 前 | 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...
5 months 前 | 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...
5 months 前 | 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...
5 months 前 | 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...
5 months 前 | 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...
6 months 前 | 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...
6 months 前 | 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...
6 months 前 | 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...
6 months 前 | 0
已回答
bessel funtion drawing problem part two
Hello Zeyuan, You are using the expression Y(nu,z) = (J(nu,z)*cos(nu*pi) - J(-nu,z))/sin(nu(z)) which does not work when nu i...
bessel funtion drawing problem part two
Hello Zeyuan, You are using the expression Y(nu,z) = (J(nu,z)*cos(nu*pi) - J(-nu,z))/sin(nu(z)) which does not work when nu i...
6 months 前 | 0
已回答
trouver un angle avec l'equation de trajectoire d'un projectile
The syms solutions are getting out of hand, which is not all that unusual. The kinematic equations evidently are for a projecti...
trouver un angle avec l'equation de trajectoire d'un projectile
The syms solutions are getting out of hand, which is not all that unusual. The kinematic equations evidently are for a projecti...
6 months 前 | 0
已回答
Plotting inverse Laplace transform
Hi SA Speculative answer: I don't believe that the function F is a likely candidate for a Laplace transform. What you have is...
Plotting inverse Laplace transform
Hi SA Speculative answer: I don't believe that the function F is a likely candidate for a Laplace transform. What you have is...
6 months 前 | 0
| 已接受
已回答
Looking for linear system Ax=0 precision improvements
Hi vanni, My comment of March 4 discussed relative error calculations in solving for x in A*x = 0. (Some boring details are me...
Looking for linear system Ax=0 precision improvements
Hi vanni, My comment of March 4 discussed relative error calculations in solving for x in A*x = 0. (Some boring details are me...
7 months 前 | 1
已回答
Issue with Time-Domain Shifting Using Fourier Shift Property in MATLAB
Hi Jason, I believe the main issue here is that your time waveform has significant frequency content that exceeds the nyquist f...
Issue with Time-Domain Shifting Using Fourier Shift Property in MATLAB
Hi Jason, I believe the main issue here is that your time waveform has significant frequency content that exceeds the nyquist f...
7 months 前 | 0
已回答
Finding the points where Bessel functions are equivalent
Hi Matthew, If you scale this problem properly, the process is much clearer. And in this case, It also allows f...
Finding the points where Bessel functions are equivalent
Hi Matthew, If you scale this problem properly, the process is much clearer. And in this case, It also allows f...
7 months 前 | 1
| 已接受
已回答
Error in the diagonalization of the Hamiltonian of the Zeeman effect
Hi Sebastian, The best way would be to find four subspaces that are not coupled by the Hamiltonian when BF is included. That m...
Error in the diagonalization of the Hamiltonian of the Zeeman effect
Hi Sebastian, The best way would be to find four subspaces that are not coupled by the Hamiltonian when BF is included. That m...
7 months 前 | 0
已回答
What does cart2sph compute az,el,r or theta,phi,r
Hi William, it's az and el. [a b r] = cart2sph(0,1,0) a = 1.5708 b = 0 % elevation r = 1 [a b r] = cart2s...
What does cart2sph compute az,el,r or theta,phi,r
Hi William, it's az and el. [a b r] = cart2sph(0,1,0) a = 1.5708 b = 0 % elevation r = 1 [a b r] = cart2s...
7 months 前 | 1
| 已接受