Please anyone help me with the error!

3 visualizzazioni (ultimi 30 giorni)
Gaurav Srivastava
Gaurav Srivastava il 28 Mag 2019
Commentato: KSSV il 28 Mag 2019
Please write the code-Screenshot (14).png

Risposta accettata

madhan ravi
madhan ravi il 28 Mag 2019
fprintf('The potential difference is \n')
disp(potential)

Più risposte (1)

KSSV
KSSV il 28 Mag 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 Commenti
Gaurav Srivastava
Gaurav Srivastava il 28 Mag 2019
Still not working sir!Screenshot (15).png
KSSV
KSSV il 28 Mag 2019
You should not attach code as image.......copy the code here.

Accedi per commentare.

Prodotti


Release

R2017a

Community Treasure Hunt

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

Start Hunting!

Translated by