Info

この質問は閉じられています。 編集または回答するには再度開いてください。

()-indexing must appear last in an index expression.

1 回表示 (過去 30 日間)
Zuha Yousuf
Zuha Yousuf 2019 年 12 月 3 日
閉鎖済み: MATLAB Answer Bot 2021 年 8 月 20 日
Can anybody tell me why I'm getting this error? Code attached below: I'm getting the error at the second last line.
Anyone please help!!
Capture.JPG

回答 (1 件)

Anmol Dhiman
Anmol Dhiman 2019 年 12 月 15 日
In the second last line you have written spikes.times(1,i) twice without any operator between them. This is causing the error.

Community Treasure Hunt

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

Start Hunting!

Translated by