Borrar filtros
Borrar filtros

Info

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

problem regarding calling a function with multiple arguments

3 visualizaciones (últimos 30 días)
Nima
Nima el 8 de Oct. de 2013
Cerrada: Walter Roberson el 8 de Oct. de 2013
i tried to call a function in different ways but i received different errors at each time.the following are each attempt and related error
1.
[spktimes, {nspikes}] = SGfast([dt, nrep], rate, {deadtime, refracparams})
Error: File: test.m Line: 89 Column: 12
An array for multiple LHS assignment cannot contain expressions.
so i removed {}for nspikes:
2.
[spktimes, nspikes] = SGfast([dt, nrep], rate, {deadtime, refracparams})
and got this error:
Error using SGfast
The third argument must be a real, double-precision scalar.
so again removed{} for third input argument as well:
3.
[spktimes, nspikes] = SGfast([dt, nrep], rate, deadtime, refracparams);
and received this error:
Error using SGfast
Requires two or three input arguments.

Respuestas (0)

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