Mentions légales du service

Skip to content
Snippets Groups Projects
Commit ddf4749f authored by Nicolas Bellot's avatar Nicolas Bellot Committed by hhakim
Browse files

doc

parent cee58e9d
Branches
Tags
No related merge requests found
\chapter{Example}\label{sec:example} \chapter{Example}\label{sec:example}
\section{Brain Sources Localization}\label{sec:BSL_example} \section{Brain Sources Localization}\label{sec:BSL_example}
%\lstinputlisting{../../misc/demo/Brain_source_localization/BSL.m} %\lstinputlisting{../../misc/demo/Brain_source_localization/BSL.m}
\ No newline at end of file
\paragraph{} An experience of Brain Source Localization using several gain matrices including FAuSTs and several solvers is provided. You can execute the matlab script \textbf{demo/Brain\_source\_localization/BSL.m} to run this experiment and \textbf{demo/Brain\_source\_localization/Fig\_BSL.m} to display the following pictures illustrating the speed-up using a Faµst.
\begin{figure}[!htbp]
\label{fig:BSL}
\includegraphics[scale=0.8]{images/BSL.png}
\end{figure}
...@@ -2,9 +2,9 @@ ...@@ -2,9 +2,9 @@
A matlab wrapper is delivered with the FAUST C++ library. A matlab wrapper is delivered with the FAUST C++ library.
It provides a user friendly new class of matrix \textbf{matlab{\_}faust} efficient for the multiplication with matlab built-in dense matrix class.\newline It provides a user friendly new class of matrix \textbf{Faust} efficient for the multiplication with matlab built-in dense matrix class.\newline
\newline \newline
As much as possible, a \textbf{matlab{\_}faust} object is handled as a normal matlab matrix, here is listing of matlab builtin function that can be applied to a faust A : As much as possible, a \textbf{Faust} object is handled as a normal matlab matrix, here is listing of matlab builtin function that can be applied to a faust A :
...@@ -35,6 +35,9 @@ As much as possible, a \textbf{matlab{\_}faust} object is handled as a normal ma ...@@ -35,6 +35,9 @@ As much as possible, a \textbf{matlab{\_}faust} object is handled as a normal ma
>> submatrix_A=A(3:5,2:3); >> submatrix_A=A(3:5,2:3);
>> submatrix_A=A(2:end,3:end-1); >> submatrix_A=A(2:end,3:end-1);
>> % Warning : A(i,j)=3 will not modify A, writing is not allowed >> % Warning : A(i,j)=3 will not modify A, writing is not allowed
>>
>> % get the number of non-zeros coefficient
>> nz = nnz(A);
\end{lstlisting} \end{lstlisting}
...@@ -48,6 +51,7 @@ First, you can build a faust from a cell-array of matlab matrix (sparse or dense ...@@ -48,6 +51,7 @@ First, you can build a faust from a cell-array of matlab matrix (sparse or dense
\newline \newline
\newline \newline
The following example shows how to build a random faust of size 5x3 with 3 factors : The following example shows how to build a random faust of size 5x3 with 3 factors :
\begin{lstlisting} \begin{lstlisting}
>> nb_factor = 3; >> nb_factor = 3;
>> dim1 = 5; >> dim1 = 5;
......
gen_doc/LaTeX/images/BSL.png

29.7 KiB

0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment