How do I correct a parse phase error at both function and end?
2 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
sysm I1 I2 I3;
function
eqn1=I1+I2-I3==0;
eqn2=-I1(2,000)-I3(1,500)+5==0;
eqn3=-I2(3,00)-I3(1,500)+5==0
sol=solve([eqn1.eqn2.eqn3],[I1,I2,I3]);
I1Sol=sol.I1;
I2Sol=sol.I2;
I3Sol=sol.I3;
end
0 comentarios
Respuestas (1)
Ver también
Categorías
Más información sobre String Parsing en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!