About plotting piecewise function.

조회 수: 2 (최근 30일)
HUIDONG XIE
HUIDONG XIE 2018년 1월 30일
답변: Star Strider 2018년 1월 30일
why Matlab says index exceeds matrix dimensions at line 3? Thanks

채택된 답변

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

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Elementary Math에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by