Monday 24 April 2017

CSC-GE3: Introduction to Programming (C/C++) Lecture Notes

Hello Friends!

You can download the handwritten lecture notes for CSC-GE3: Introduction to Programming for CBCS B.Sc. 2nd Semester students of Panjab University Chandigarh. These notes consists of C and C++ concepts with a little introduction to Object Oriented Programming.

NOTE: It's possible that there could be errors in the notes and they might be incomplete. So study at your own risk.

Lecture Notes (Black & white)

Lecture Notes (in original color)


All the best!

Thanks
Vinod



-Dedicated to my students....

Wednesday 19 April 2017

[SOLVED] Matlab Error: Requested array exceeds maximum array size preference

Hello Friends!

Sometimes we face following problem on Matlab (any platform Windows/Mac...) especially when using large datasets:

Requested 19996x1355191 (201.9GB) array exceeds maximum array size preference.
Creation of arrays greater than this limit may take a long time and cause MATLAB to become unresponsive. See array size limit or preference panel for more information.







One possible solution to this problem is given below:

1. Open matlab preferences: i) Using HOME Tab>>Preferences



2. Navigate as: Matlab>>Workspace
3. In Matlab array size limit, uncheck the checkbox named 'Limit the maximum array size to a percentage of RAM'.



4. Click Apply then OK and that's it.

Enjoy!

Thanks
Vinod