photo

mike roch


Last seen: 2 years ago Active since 2023

Followers: 0   Following: 0

Pronouns:
They/them

Statistics

MATLAB Answers

1 Question
0 Answers

RANK
276,246
of 300,750

REPUTATION
0

CONTRIBUTIONS
1 Question
0 Answers

ANSWER ACCEPTANCE
100.0%

VOTES RECEIVED
0

RANK
 of 21,073

REPUTATION
N/A

AVERAGE RATING
0.00

CONTRIBUTIONS
0 Files

DOWNLOADS
0

ALL TIME DOWNLOADS
0

RANK

of 170,837

CONTRIBUTIONS
0 Problems
0 Solutions

SCORE
0

NUMBER OF BADGES
0

CONTRIBUTIONS
0 Posts

CONTRIBUTIONS
0 Public Channels

AVERAGE RATING

CONTRIBUTIONS
0 Discussions

AVERAGE NO. OF LIKES

  • Thankful Level 1

View badges

Feeds

View by

Question


how can i resolve the "index in position 2 is invalid" error in line 99? the code works fine when N=15 but i need N=17.
clear clc tg=tfinal/(rept-1); rt=(0:tg:tfinal); rt(1)=1; rt(rept)=tfinal; for i=1:rept ts(i)=rt(i)*dt; %times in seconds ...

2 years ago | 1 answer | 0

1

answer