Recent content by jmckennon

  1. J

    How Does Reflection Coefficient Change in Lossy vs Lossless Media?

    I've been reading over Balanis' Advanced Engineering Electromagnetics in an effort to teach myself a bit about Electromagnetism. I've stumbled across a question (not one in the book) that I can't seem to wrap my head around. If there's a lossy dielectric or medium, how does the reflection...
  2. J

    Sum of two random variables- kind of

    I've made progress on this one, but I'm confused on part of the theory behind it. Here is my Matlab code. >> a = 1; >> b = 0.25; >> phi = 2*pi*rand(1,10000); >> z = a+b*exp(j*phi); >> hist(abs(z),100) This code produces the histogram I was looking for. It is a U shaped histogram with its'...
  3. J

    Sum of two random variables- kind of

    I think you're mis understanding my question a bit, I'll try to clarify. In MATLAB code, phi=rand(1,1000).*2*pi; this makes X a random vector, not a random variable. If it was a random variable, things would be much easier. I'm having trouble of addressing the magnitude of the density function...
  4. J

    Sum of two random variables- kind of

    I understand this, but obtaining the actual solution is where I'm stuck. I'm looking for the probability density function of Z so that I can create a histogram of the values of the magnitude of Z for various a and b values.
  5. J

    Sum of two random variables- kind of

    Does that clarify things? I appreciate the help
  6. J

    Sum of two random variables- kind of

    I'm essentially trying to find the pdf of Z and its' magnitude. I want to run a monte carlo simulation to verify my results and make a histogram of the results from the simulation in MATLAB for various values of A and B. The way phi is declared, (in matlab) is phi=rand(1,1000).*2*pi;
  7. J

    Sum of two random variables- kind of

    Does anyone have an idea of how to do this?
  8. J

    Sum of two random variables- kind of

    I'm sitting here with an interesting problem that I can't seem to figure out. I'm given two random variables X=a*exp(j*phi) Y=b where both a and b are known constants. phi is uniformly distributed on the interval [0,2pi) a third random variable Z=X+Y. My goal, is to find the...
  9. J

    How Do You Design an RF PIN Diode Switch for High Isolation?

    I understand S parameters and return loss etc, but I've never built anything like this before. It doesn't have to be physically realizable it just needs to work in a simulation. I don't have too many things to worry about like a professional design would need, I just need it to meet certain...
  10. J

    How Do You Design an RF PIN Diode Switch for High Isolation?

    Hi, This is my first encouter with anything to do with RF design. I'm trying to design an RF PIN diode switch to meet certain specifications. I'm having considerable difficulty putting together a circuit schematic that will accomplish this. My specs are: Center frequency: 15GHz Bandwidth...
  11. J

    Finding the Probability Density Function for the Sum of Two Random Variables

    yes, i apologize, j is sqrt(-1). After defining in MATLAB phi=rand(1,M).*2*pi where M=1000, i plotted Z= b+a.*exp(j.*phi) for various values of a and b and it looked kinda like an upside gaussian distribution centered about pi. Is this right?
  12. J

    Finding the Probability Density Function for the Sum of Two Random Variables

    Hi, I've been working on this problem but I feel like I'm over complicating it. If you have a random variable X= a*e(j*phi), where phi is uniform on the interval [0,2pi) and a is some constant, and another random variable Y= b where b is a constant. I'm looking to find the probability density...
  13. J

    OpenCL Questions: Help With Debugging Error

    I'm not sure if anyone in here is familiar with openCL yet. But I'm translating a program from CUDA into openCL and I feel I've gotten most of it. I'm just getting a weird debugging error. I'll provide more info on this if anyone feel that they can help me!
  14. J

    How Do I Use Unit Directional Vectors in Vector Calculus?

    Homework Statement Attached Homework Equations The Attempt at a Solution I'm not quite sure how to start these. Once I figure out one of them, I should be able to do the rest. The confusing piece to me is with the unit directional vector (a_rho etc. My teacher has me horribly...
Back
Top