Please anyone help me with the error!
2 次查看(过去 30 天)
显示 更早的评论
Please write the code-![Screenshot (14).png](https://www.mathworks.com/matlabcentral/answers/uploaded_files/221412/Screenshot%20(14).png)
![Screenshot (14).png](https://www.mathworks.com/matlabcentral/answers/uploaded_files/221412/Screenshot%20(14).png)
0 个评论
采纳的回答
更多回答(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 个评论
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!