I don’t know why I have this strange error when using Octave on Windows 7 64 bit :
when I use ones(100:100) to declare a matrix 100×100. No problem. But when I use : ones(10:100) I will have error :
memory exhausted or requested size too large
And if I use ones(10:15) I must wait for long time (about 30 seconds) to have answer.
Please explain for me this error.
Thanks 🙂
Your syntax is wrong. To create an m x n matrix it should be:
e.g.
or