I have such matlab problem: I create variables R1 RF R2 and w so:(adsbygoogle = window.adsbygoogle || []).push({});

Code:

then I write expression:Code (Text):syms RF R1 R2 w

Code:

which gives:Code (Text):3*R1*w*(RF + 200)/((R2*w*29*i + 3)*(3*R1*w - 2*i))

Code:

why sqrt(-1) and not i???? furthermore? if I want real part of the expression and write:Code (Text):(3*R1*w*(RF + 200))/((3*R1*w - 2*sqrt(-1))*(R2*w*29*sqrt(-1) + 3))

Code:

it gives:Code (Text):real(ans)

Code:

can anyone please help me??Code (Text):3*real((R1*w*(RF + 200))/((3*R1*w - 2*sqrt(-1))*(R2*w*29*sqrt(-1) + 3)))

**Physics Forums | Science Articles, Homework Help, Discussion**

Join Physics Forums Today!

The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

# MATLAB problem

**Physics Forums | Science Articles, Homework Help, Discussion**