Statistics
RANK
52
of 300,499
REPUTATION
3,738
CONTRIBUTIONS
1 Question
1,217 Answers
ANSWER ACCEPTANCE
0.0%
VOTES RECEIVED
529
RANK
of 21,021
REPUTATION
N/A
AVERAGE RATING
0.00
CONTRIBUTIONS
0 Files
DOWNLOADS
0
ALL TIME DOWNLOADS
0
CONTRIBUTIONS
0 Posts
CONTRIBUTIONS
0 Public Channels
AVERAGE RATING
CONTRIBUTIONS
0 Highlights
AVERAGE NO. OF LIKES
Feeds
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...
3 days ago | 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...
4 days ago | 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...
25 days ago | 0
Question
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 ...
1 month ago | 2 answers | 0
2
answersTranspose matrix and your transposition
HI Airto, Rather than actually transpose it with the ' (apostrophe) command, you can use zeros(3,3500000); The transpose a...
2 months ago | 1
| accepted
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 ...
2 months ago | 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...
2 months ago | 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...
3 months ago | 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...
3 months ago | 0
| accepted
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 ...
4 months ago | 0
| accepted
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...
4 months ago | 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...
4 months ago | 1
| accepted
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...
5 months ago | 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...
5 months ago | 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...
5 months ago | 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...
5 months ago | 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...
5 months ago | 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 = ...
6 months ago | 0
| accepted
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...
6 months ago | 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...
7 months ago | 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...
7 months ago | 1
| accepted
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...
7 months ago | 2
| accepted
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...
8 months ago | 1
| accepted
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...
8 months ago | 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...
8 months ago | 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...
8 months ago | 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...
8 months ago | 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...
8 months ago | 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...
8 months ago | 0
| accepted
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...
9 months ago | 1






