Why does it gives matrix dimension must agree?
Mostra commenti meno recenti
i am trying to plot this equation: x=0.011*V+(1.3e-5*V/R^2)
program:
R=3e-7:1e-7:10e-7;
V=0.5;
Vth=0.011*V+(1.3e-5*V/R.^2);
plot(R,Vth);
Risposta accettata
Più risposte (1)
rifat
il 27 Mag 2014
You are not dividing element by element. Use the following lines instead:
R=3e-7:1e-7:10e-7;
V=0.5;
Vth=0.011*V+(1.3e-5*V./R.^2);
plot(R,Vth);
Categorie
Scopri di più su Elementary Math in Centro assistenza e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!