1. Limited time only! Sign up for a free 30min personal tutor trial with Chegg Tutors
    Dismiss Notice
Dismiss Notice
Join Physics Forums Today!
The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

Homework Help: MATLAB problem

  1. Jun 1, 2012 #1
    I have such matlab problem: I create variables R1 RF R2 and w so:
    Code (Text):
    syms RF R1 R2 w
    then I write expression:
    Code (Text):
    3*R1*w*(RF + 200)/((R2*w*29*i + 3)*(3*R1*w - 2*i))
    which gives:
    Code (Text):
    (3*R1*w*(RF + 200))/((3*R1*w - 2*sqrt(-1))*(R2*w*29*sqrt(-1) + 3))
    why sqrt(-1) and not i???? furthermore? if I want real part of the expression and write:
    Code (Text):
    it gives:
    Code (Text):
    3*real((R1*w*(RF + 200))/((3*R1*w - 2*sqrt(-1))*(R2*w*29*sqrt(-1) + 3)))
    can anyone please help me??
  2. jcsd
  3. Jun 4, 2012 #2
    anybody please
Share this great discussion with others via Reddit, Google+, Twitter, or Facebook