Error: Inner Matrix Dimension Must Agree
Mostrar comentarios más antiguos
clc
clear all
Vd = 0:0.1:0.7
P = ((0.6*Vd)-((Vd*1.5*10^-12)*(exp(38.64*Vd)-1)))
plot(Vd,P)
when i run this code itgives me error : Inner Matrix Dimension Must Agree ?
What changes should i do to get my code correct ?
Respuesta aceptada
Más respuestas (1)
Stijn Haenen
el 16 de En. de 2020
1 voto
you should use " .* " instead of " * " .
Categorías
Más información sobre Creating and Concatenating Matrices en Centro de ayuda y File Exchange.
Productos
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!