Statistica
RANK
52
of 300.871
REPUTAZIONE
3.742
CONTRIBUTI
1 Domanda
1.221 Risposte
ACCETTAZIONE DELLE RISPOSTE
0.0%
VOTI RICEVUTI
531
CONTRIBUTI
0 Post
CONTRIBUTI
0 Pubblico Canali
VALUTAZIONE MEDIA
CONTRIBUTI
0 Punti principali
NUMERO MEDIO DI LIKE
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...
24 giorni fa | 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...
29 giorni fa | 0
convolution integral with ode45
******************** MODIFIED ******(************** because the method suggested here does not work. I took out some us...
circa un mese fa | 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...
circa un mese fa | 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...
circa 2 mesi fa | 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...
2 mesi fa | 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...
3 mesi fa | 0
Domanda
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 mesi fa | 2 risposte | 0
2
risposteTranspose matrix and your transposition
HI Airto, Rather than actually transpose it with the ' (apostrophe) command, you can use zeros(3,3500000); The transpose a...
4 mesi fa | 1
| accettato
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 ...
4 mesi fa | 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...
4 mesi fa | 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...
4 mesi fa | 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...
5 mesi fa | 0
| accettato
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 ...
6 mesi fa | 0
| accettato
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...
6 mesi fa | 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...
6 mesi fa | 1
| accettato
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 mesi fa | 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...
7 mesi fa | 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...
7 mesi fa | 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...
7 mesi fa | 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...
7 mesi fa | 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 = ...
8 mesi fa | 0
| accettato
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 mesi fa | 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...
9 mesi fa | 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...
9 mesi fa | 1
| accettato
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...
9 mesi fa | 2
| accettato
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 mesi fa | 1
| accettato
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...
10 mesi fa | 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...
10 mesi fa | 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...
10 mesi fa | 0






