Wednesday, November 9, 2011

Creating a Matlab shortcut in Linux

Open Terminal and follow the below instructions


1. sudo gedit /usr/share/applications/Matlab.desktop


2. Copy the following into the gedit window


[Desktop Entry]
Version=1.0
Type=Application
Terminal=true
Icon=/home/jai/Pictures/matlab-icon.png
Name[en_GB]=Matlab
Exec=/usr/local/MATLAB/R2011a/bin/matlab


3. sudo cp /usr/share/applications/Matlab.desktop /home/***/Desktop/
        where *** is username


4. sudo chmod 777 Matlab.desktop


Thursday, October 6, 2011

Installation of Octave in fedora 15


Introduction of Octave
  • Simply Octave is a clone of Matlab.
  • The Octave language is quite similar to Matlab so that most programs are easily portable.
  • It provides Command line as well as GUI environment.

Installation
  • open terminal and login as a root
  • yum install octave.i686

Optionals: 
  • yum search all octave
  • It will show the list of packages related to octave. Install whichever you need.

Start octave

  • type octave in terminal and start to use.
  • You will be getting a command prompt octave:1>
  • Run matlab .m files in octave by calling its name.Mind you the .m files should be in the current directory


.

Wednesday, October 5, 2011

Installation of it++ in fedora 15


IT++ Requirements


1. Open terminal and login to root using su

2. Check "make --version" in terminal otherwise install it

3. yum install gcc

4. yum install arm-gp2x-linux-gcc-c++.i686

5. yum install gcc-c++

6. yum install blas-devel.i686

7. yum install blas-static.i686

8. yum install lapack-devel.i686

9. yum install lapack-static.i686

10. yum install fftw-devel.i686

11. yum install atlascpp-devel.i686


Obtaining the IT++ Source Codes

IT++ is released under the terms of the GNU General Public License (GPL) and hence the source code of the IT++ library is available for free download. To obtain the IT++ source code, visit the project pages on SourceForge:
and download the file named itpp-<VERSION>.tar.gz or itpp-<VERSION>.tar.bz2, where <VERSION> is the latest release number, e.g. 4.0.0.


Installation

1. Extract it to a folder itpp-<VERSION>

2. cd $PATH/itpp-<VERSION>

    where $PATH is a path of itpp-<VERSION> folder

3. ./configure

4. make && make check && make install


Compilation and Run a example program

1. Download the sample program from the following link

                users.ecs.soton.ac.uk/rm/itppProject.tgz

2. Extract it and cd $PATH/itppProject

3. make -B

4. export LD_LIBRARY_PATH=/lib:/usr/lib:/usr/local/lib

5. bin/a.out


Source



.





Installation of Matlab in Linux

1.Download the iso files for Matlab R2011a for Linux from the following links


2. Extract it then you will get a .iso file. Mount that iso by:
     (a)sudo mkdir /media/iso
     (b)sudo modprobe loop
     (c)sudo mount file1.iso /media/iso/ -t iso9660 -o loop

3. cd /media/iso

4. ./install

5. Find the crack folder inside /media/iso. There will be a install.txt file and   license files.

6. Do the installation configurations you want.

7. Continue following the instructions from install.txt

8. Finish the installation.

9. yum install libXp.so.6

Start Matlab

  /usr/local/MATLAB/R2011a/bin/matlab

Here I assumed the installation folder is /usr/local/MATLAB/R2011a/

.