-
4 Comments
Show
1 older comment
durga sadasivuni
on 7 Jun 2018
Please help me out,cant find out the error
bainhome
on 7 Jun 2018
I think the error is pretty clear. line3: column=1:1:n; line4:row=1:1:n.
besides, 1:n just fine, the "1" in the middle is quite not necessary.
durga sadasivuni
on 9 Jun 2018
what if i use 1:n and 1:1:n?both are same right? The step size is 1 for both the case. Tried what you said but Test suit fails again
bainhome
on 9 Jun 2018
two equal sign in line 3&4 are missed: this is fatal error, fix that, in my computer seems work fine. and 1:n is another problem, it can pass even you don't change it. nontheless, 1 in the middle is redundant. it CAN be removed, not like you have to.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!