Please anyone help me with the error!
显示 更早的评论
采纳的回答
更多回答(1 个)
KSSV
2019-5-28
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 个评论
madhan ravi
2019-5-28
I doubt that double() converts symunit variable
Gaurav Srivastava
2019-5-28
KSSV
2019-5-28
You should not attach code as image.......copy the code here.
类别
在 帮助中心 和 File Exchange 中查找有关 Conversion 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!.png)
.png)
