Showing posts with label Matlab. Show all posts
Showing posts with label Matlab. Show all posts

Thursday, November 6, 2014

iFEM, Finite Element, Matlab

iFEM is a MATLAB software package containing robust, efficient, and easy-following codes for the main building blocks of adaptive finite element methods on unstructured simplicial grids in both two and three dimensions. Besides the simplicity and readability, sparse matrixlization, an innovative programming style for MATLAB, is introduced to improve the efficiency. In this novel coding style, the sparse matrix and its operations are used extensively in the data structure and algorithms.

Source: http://www.math.uci.edu/~chenlong/programming.html

Wednesday, November 27, 2013

Matlab: Books/ Linux

BOOKS: 

Matlab for beginer: very basic, fundamental and condense

Matlab free text book (pdf): Numerical Computing with MATLAB

Matlab free text book (pdf): Experiments with MATLAB
http://www.mathworks.com/moler/exm/index.html

Ionut Danaila, Pascal Joly, Sidi Mahmoud Kaber & Marie Postel, An Introduction to  Scientific Computing. Twelve computational projects solved with MATLAB, 2006, Springer
https://www.ljll.math.upmc.fr/AI2SC/

Install and run matlab in linux, x32, x64

cd MatlabFolder  go to matlab folders
./install               to install the software
. /usr/local/MATLAB/R2013a/bin/matlab   to run matlab

Common error:
/lib/libc.so.6: not found
Resolve: sudo ln -s /lib/i386-linux-gnu/libc.so.6 /lib/libc.so.6

TIPS

 


only Matlab 2012a and below is suitable with 32-bit

Starting with R2014a, MATLAB student version is available as a 64-bit application and will work on a 64-bit Operating System.
Starting with release R2011a, MATLAB is only available for 64-bit on Mac OS X and as of release R2013a, MATLAB is only available for 64-bit on Linux.
Prior to R2013a, MATLAB student version was available only as 32-bit; while not supported, it is possible to install the 32-bit version of MATLAB on a 64-bit Linux.  In order to install 32-bit MATLAB on 64-bit Linux prior to release R2013a, you will need to tell the installer to install the 32-bit version of MATLAB. To do so you will give the installer the -glnx86 flag. Once MATLAB is installed, you will also need to start MATLAB with this flag. Follow the instructions below to install 32-bit MATLAB on Linux
1) Open a terminal window.
2) In the terminal window, change directories to the location of the installation files. Ex:
cd '/media/MATHWORKS_R2008b/'
3) Launch the installer in text mode with the -glnx86 flag:
./install_unix.sh -glnx86 -t
4) Once the installer is finished, you will need to activate manually from the website as the activation client will not launch on a 64-bit Linux machine. To activate manually, see the Related Solution, 1-3YZBZ6.
5) Once MATLAB is installed and activated, you will need to run MATLAB using the same -glnx86 flag that you used to install. For example:
$MATLAB/bin/matlab -glnx86
(where $MATLAB is the MATLAB installation folder)
NOTE: Some users have problems loading the JRE when running in this configuration. Creating a symlink in $MATLAB/sys/java/jre named 'glnxa64' pointing to 'glnx86' should resolve this issue. You can do this with the following command:
ln -s $MATLAB/sys/java/jre/glnx86 $MATLAB/sys/java/jre/glnxa64

Source: http://www.mathworks.com/matlabcentral/answers/94005