About plotting piecewise function.

2 vues (au cours des 30 derniers jours)
HUIDONG XIE
HUIDONG XIE le 30 Jan 2018
why Matlab says index exceeds matrix dimensions at line 3? Thanks

Réponse acceptée

Star Strider
Star Strider le 30 Jan 2018
See if using:
for k = 1:length(t)
instead, works correctly in your code.

Plus de réponses (0)

Catégories

En savoir plus sur Elementary Math dans Help Center et File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by