- #1
DiracPool
- 1,243
- 516
Hello, I am having difficulty converting some MATLAB code to Scilab code. Specifically, the problem is with graphing the results of a spiking neuron program. Herer is the program and the article that explains it:
https://www.izhikevich.org/publications/spikes.pdf
The problem I am having is around line 14:
firings=[firings; t+0*fired,fired];
This does not establish a matrix that can be plotted as executed in the last line of the program:
plot(firings(:,1),firings(:,2),'.');
This works in MATLAB but not in Scilab and I haven't found a fix. Please help!
https://www.izhikevich.org/publications/spikes.pdf
The problem I am having is around line 14:
firings=[firings; t+0*fired,fired];
This does not establish a matrix that can be plotted as executed in the last line of the program:
plot(firings(:,1),firings(:,2),'.');
This works in MATLAB but not in Scilab and I haven't found a fix. Please help!