Please anyone help me with the error!
1 view (last 30 days)
Show older comments
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 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
See Also
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!