MATLAB Answers

Symbolic equation messed up LIVE script

2 views (last 30 days)
timo on 16 Mar 2016
Commented: timo on 17 Mar 2016
Dear all I have the code
syms R G1 G2 Gn
G = 1 / R
The output of last is
G= symans,32,0,321
Shouldnt it be 1/R ... I tried clear and i get the same garbled answer I wonder where i made the mistake , must be something really stupid LOL
timo on 17 Mar 2016
The clear all was added by the converter automatically. I think it tries to clear "all" variable Anyway I rewrote the doc and now it works

Sign in to comment.

Answers (0)

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!