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 - The Fusion of Science and Community**

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

Loading...

Similar Threads for MATLAB problem | Date |
---|---|

MATLAB Does anyone had this plotting problem with MATLAB? | Dec 23, 2017 |

Matlab map representation problems | Feb 11, 2017 |

MATLAB Problem with Generating Barnsley Fern Fractal in MATLAB | Sep 21, 2016 |

Problem of plotting picture and video in Linux HPC | Dec 3, 2015 |

Problem with Matlab | Sep 4, 2015 |

**Physics Forums - The Fusion of Science and Community**