Info

La pregunta está cerrada. Vuélvala a abrir para editarla o responderla.

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

2 visualizaciones (últimos 30 días)
Zuha Yousuf
Zuha Yousuf el 3 de Dic. de 2019
Cerrada: MATLAB Answer Bot el 20 de Ag. de 2021
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

Respuestas (1)

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

La pregunta está cerrada.

Community Treasure Hunt

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

Start Hunting!

Translated by