Please anyone help me with the error!
Show older comments
Accepted Answer
More Answers (1)
KSSV
on 28 May 2019
potential = double(potential) ;
fprintf('the potential difference is = %f\n',potential) ;
Your variable potential is in syms...convert it to double. Read about double.
3 Comments
madhan ravi
on 28 May 2019
I doubt that double() converts symunit variable
Gaurav Srivastava
on 28 May 2019
KSSV
on 28 May 2019
You should not attach code as image.......copy the code here.
Categories
Find more on Conversion in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!.png)
.png)