<?xml version="1.0" encoding="UTF-8"?><!-- generator="wordpress.com" -->
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	>

<channel>
	<title>octave &amp;laquo; WordPress.com Tag Feed</title>
	<link>http://en.wordpress.com/tag/octave/</link>
	<description>Feed of posts on WordPress.com tagged "octave"</description>
	<pubDate>Tue, 29 Dec 2009 00:32:59 +0000</pubDate>

	<generator>http://en.wordpress.com/tags/</generator>
	<language>en</language>

<item>
<title><![CDATA[Nice Octave Plots]]></title>
<link>http://dawes.wordpress.com/2009/12/19/nice-octave-plots/</link>
<pubDate>Sat, 19 Dec 2009 16:31:46 +0000</pubDate>
<dc:creator>adawes</dc:creator>
<guid>http://dawes.wordpress.com/2009/12/19/nice-octave-plots/</guid>
<description><![CDATA[One thing I look for in a numerical package is the ability to make nice plots (typically PDF) of wha]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p>One thing I look for in a numerical package is the ability to make nice plots (typically PDF) of what I&#8217;m working on. I know I could almost always work on my data, export it, and make a great graph&#8230; but in keeping with the <a title="Wikipedia" href="http://en.wikipedia.org/wiki/Pareto_principle">80/20 rule</a> I want to be able to do most of my plots without a lot of extra work. This is especially true if I&#8217;m making a one-off plot for class notes. For publications, I&#8217;d be happy to hand draw the figure in blood while standing on my head if I had to. The bottom line is: it&#8217;s 2009, making a nice looking PDF plot should be easy.</p>
<p>Here is an example along with some quick tips I&#8217;ve found along the way. Hopefully these are easier to find for you than they were for me (digging through docs and searching through listservs). Remember, Octave is scriptable so you can save this in a plot template or a function, and make your plots even easier.</p>
<p><!--more--></p>
<h3>Nice EPS output:</h3>
<pre class="brush: plain;">
h = figure;
set (h,'papertype', '&#60;custom&#62;')
set (h,'paperunits','inches');
set (h,'papersize',[3 2.5])
set (h,'paperposition', [0,0,[3 2.5]])
set (h,'defaultaxesposition', [0.15, 0.15, 0.75, 0.75])
set (0,'defaultaxesfontsize', 14)
plot(rand(50,1))
xlabel('Time (s)')
ylabel('Velocity (m/s)')
print('figure.eps','-deps')
</pre>
<p>The commands here select the papertype (as custom) and use inch units (could be &#8216;centimeters&#8217; too). Next, set the paper size (figure size) and the position on the paper. The coordinates for paper position are [left bottom width height]. The default axes position is similar, although now in normalized units (between 0 and 1). I like the look of these axes, and there isn&#8217;t too much whitespace. I also like a clear legible font size (14 in this example). The rest are some axes labels.</p>
<h3>Nice PDF plots</h3>
<p>PDF plots are still problematic because it seems like I have to run an extra step. Either I can convert the EPS to PDF, or I can export PDF and then crop the PDF so the whole page isn&#8217;t showing. For the former option, I just open the EPS in Preview.app and save as a PDF (this gives me the intermediate preview step for free). For the latter option, I have found pdfcrop useful. This is a little utility that ships wih TeX-Live which I have installed as part of MacTex 2008. There is a newer version <a title="MacTex 2009" href="http://www.tug.org/mactex/2009/">MacTex 2009</a>. In any case, the only major difference is the final print command:</p>
<pre class="brush: plain;">
print('figure.pdf','-dpdf')
</pre>
<p>If you have a more elegant solution, please let me know. I think better PDF exports are on the list for Octave development but the current priority (in terms of graphics output) seems to be breaking away from Gnuplot and allowing other graphics backends. In general, this is a good thing. I love Gnuplot, but there are certainly uses where Gnuplot isn&#8217;t the best tool in the toolbox.</p>
<p>Endnote: I&#8217;m using Octave 3.2.2 and Gnuplot 4.2 patchlevel 5 on a PPC mac. These packages were downloaded from <a title="Octave Forge" href="http://octave.sourceforge.net/index.html">Octave Forge</a>.</p>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[code for SSNMR multi-field model]]></title>
<link>http://billbrouwer.wordpress.com/2009/12/18/code-for-ssnmr-multi-field-model/</link>
<pubDate>Fri, 18 Dec 2009 00:01:08 +0000</pubDate>
<dc:creator>bbrouwer</dc:creator>
<guid>http://billbrouwer.wordpress.com/2009/12/18/code-for-ssnmr-multi-field-model/</guid>
<description><![CDATA[Here&#8217;s an octave function for doing the previously-mentioned modeling, including the optimizat]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p>Here&#8217;s an octave function for doing the previously-mentioned modeling, including the optimization. The function file is generated automatically, it can easily be extended to more fields and/or Gaussians in the mixture. Prior to applying this function, the data must of course be appended/combined together and the frequency data monotonically increasing by introducing the aforementioned frequency offset(s).</p>
<hr />
<pre style="border:thin solid black;overflow:auto;display:block;white-space:pre;margin:1em;padding:5px;">
<code>
function [func p c d]=fitMultipleGaussMix(m,spin,larm,params,g)
% a script for fitting multi-field data to find delta cs iso, cq and eta

%te=ampl&#62;eps; [ii jj]=find((te(2:end)-te(1:end-1))!=0); 

%pk_pos(:,1) = (sum(reshape(g(ii,1),2,length(ii)/2))./2)';
%pk_pos(:,2)=max(g(:,2)).*ones(size(pk_pos(:,1))).*0.5;

%plot(g(:,1),g(:,2),pk_pos(:,1),pk_pos(:,2),'x');  

%print('output1.eps','-depsc');

I=spin;
tempA = 3e5 * (I* (I+1) - 3/4)./ ((2* I * (2*I-1))^2 * larm.^2);

constA(1:m,:)=tempA(1);
constA(m+1:2*m,:)=tempA(2);

constA=constA';

%sample peak width &#38; amplitude

%[a b]=max(abs(g(:,2))); wid = abs(g(b-1,1)-g(b+1,1)); amp = 0.5*a;

%make a function file, gaussian mixture

str = [ 'function [y]=gaussMix(x,temp)',
        ' ',
        '% custom gauss mix for lineshape fit',
        '% wjb 02/09',
        ' ',
        'constA = [',num2str(constA),'];',
	'constA = transpose(constA);',
	'p(1:',num2str(m),',1)=temp(1:',num2str(m),'); p(1:',num2str(m),',2)=temp(',num2str(m+1),':',num2str(2*m),'); p(1:',num2str(m),',3)=temp(',num2str(2*m+1),':',num2str(3*m),')-constA(1:',num2str(m),').*temp(',num2str(3*m+1),':',
num2str(4*m),').^2;','p(',num2str(m+1),':',
num2str(2*m),',1)=temp(',num2str(5*m+2),').*
temp(1:',num2str(m),');p(',num2str(m+1),':',
num2str(2*m),',2)=temp(',num2str(4*m+1),':',num2str(5*m),');
p(',num2str(m+1),':',num2str(2*m),',3)=temp(',num2str(5*m+1),')+
temp(',num2str(2*m+1),':',num2str(3*m),')constA(',num2str(m+1),':',
num2str(2*m),').*temp(',num2str(3*m+1),':',num2str(4*m),').^2;'];

fid=fopen('gaussMix.m','w'); fdisp(fid,str); 

str= 'y=';

for i=1:2*m-1

str = [str, ' p(',num2str(i),',1)./(sqrt(2*pi)*p(',num2str(i),',2)).*exp(-((x-p(',num2str(i),',3)).^2)./(2*p(',num2str(i),',2).^2)) + '] ;

end

str=[str, 'p(',num2str(2*m),',1)./(sqrt(2*pi)*p(',num2str(2*m),',2)).*exp(-((x-p(',num2str(2*m),',3)).^2)./(2*p(',num2str(2*m),',2).^2));'];
fdisp(fid,str);  fclose(fid);

[func p c d]=leasqr(g(:,1),g(:,2),params,"gaussMix",0.0000000001,4000);

%print('output2.eps','-depsc');

%[l ll]=size(q);

%p=reshape(p,length(p)/3,3);

%p(:,1)=p(:,1)./sum(p(:,1));
</code>
</pre>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[[manga] Octave Ch 19 ~ Finally another chapter!! ^_^]]></title>
<link>http://yasashiisekai.wordpress.com/2009/12/15/manga-octave-ch-19-finally-another-chapter-_/</link>
<pubDate>Mon, 14 Dec 2009 18:20:50 +0000</pubDate>
<dc:creator>Nakayo</dc:creator>
<guid>http://yasashiisekai.wordpress.com/2009/12/15/manga-octave-ch-19-finally-another-chapter-_/</guid>
<description><![CDATA[After chapters of uncertainty, some ups and downs&#8230;we get a sweet confident response from Yukin]]></description>
<content:encoded><![CDATA[After chapters of uncertainty, some ups and downs&#8230;we get a sweet confident response from Yukin]]></content:encoded>
</item>
<item>
<title><![CDATA[The dawn]]></title>
<link>http://gatoreditor.wordpress.com/2009/12/03/the-dawn/</link>
<pubDate>Thu, 03 Dec 2009 22:31:35 +0000</pubDate>
<dc:creator>ricardobarriosp</dc:creator>
<guid>http://gatoreditor.wordpress.com/2009/12/03/the-dawn/</guid>
<description><![CDATA[Today I&#8217;m starting a new personal project. As I do a lot of scientific programming, mostly wit]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p>Today I&#8217;m starting a new personal project. As I do a lot of scientific programming, mostly with Matlab, I have found very inconvenient the fact that I cannot enter greek character in my codes. I will give you a simple example, so you understand what I&#8217;m talking about.</p>
<p>If I want to write the next equation into code,</p>
<p><a href="http://gatoreditor.wordpress.com/files/2009/12/formula.png"><img class="size-thumbnail wp-image-5 alignnone" title="formula" src="http://gatoreditor.wordpress.com/files/2009/12/formula.png?w=150" alt="" width="105" height="46" /></a></p>
<p>my current Matlab code looks like this:<br />
THETA = THETAo/(THETAo^2 + LAMBDAo^2);</p>
<p>Wouldn&#8217;t the code be nicer if you could write:<br />
Θ = Θo/(Θo^2 + Λo^2);</p>
<p>For this reason I am starting GατΩR, a text editor tailored to scientific programming languages, as Matlab, with the only purpose to help in the readability of scientific codes involving a lot formulas containing variables that are normally represented with Greek letters.</p>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[Article series: Getting started with GNU Octave]]></title>
<link>http://amitksaha.wordpress.com/2009/11/30/article-series-getting-started-with-gnu-octave/</link>
<pubDate>Mon, 30 Nov 2009 07:00:51 +0000</pubDate>
<dc:creator>amit</dc:creator>
<guid>http://amitksaha.wordpress.com/2009/11/30/article-series-getting-started-with-gnu-octave/</guid>
<description><![CDATA[The December, 2009 issue of Linux For You carries the first part of my article series on GNU Octave.]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p><a href="http://amitksaha.wordpress.com/files/2009/11/octavep1.png"><img class="alignleft size-medium wp-image-205" title="octavep1" src="http://amitksaha.wordpress.com/files/2009/11/octavep1.png?w=300" alt="" width="300" height="170" /></a></p>
<p>The<strong> December, 2009</strong> issue of <a href="http://www.lfymag.com" target="_blank">Linux For You</a> carries the <strong>first part </strong>of my article series on <strong>GNU Octave</strong>. I have started this series by talking about Matrices. In the upcoiming  January,2010 issue I will talk about solving Linear equations.</p>
<p>This article marks my foray into writing about scientific computing tools and also a article series.</p>
<p>For the sake of ToC:</p>
<ol>
<li><strong>Getting Started with GNU Octave, Part -1 </strong>: <em>December, 2009 issue of Linux For You</em></li>
</ol>
<p><em><strong>(The Linux For You folks have a awesome Typesettinng team)</strong></em></p>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[Las campimetrias]]></title>
<link>http://becariodeinvestigacion.wordpress.com/2009/11/29/las-campimetrias/</link>
<pubDate>Sun, 29 Nov 2009 23:45:33 +0000</pubDate>
<dc:creator>Morales Martinez Jose Angel</dc:creator>
<guid>http://becariodeinvestigacion.wordpress.com/2009/11/29/las-campimetrias/</guid>
<description><![CDATA[Según varios estudios sobre el llamado Twinkle Aftereffect es posible detectar partes del campo visu]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p>Según varios estudios sobre el llamado Twinkle Aftereffect es posible detectar partes del campo visual en las cuales no disponemos de visión (un ejemplo es el punto ciego, que es la salida del nervio óptico del ojo, en el cual no disponemos de fotorreceptores, por lo tanto, no podemos ver la luz).</p>
<p><img class="alignright" src="http://www.casacochecurro.com/images/stories/yocio/TV-nieve.jpg" alt="Una TV último modelo" width="180" height="217" />El principio básico consiste en hacer ver al paciente una pantalla con ruido/nieve (como la que aparece en la tele cuando ésta no está sintonizada con ningún canal) durante cierto tiempo (yo lo hago con un mínimo de 30 segundos, ya que necesita un tiempo para &#8220;asimilar&#8221; qué leches está viendo). Lógicamente, las zonas de la retina no funcionales visualmente hablando, no percibirán la nieve/ruido, por lo que tendrían que percibir un agujero (estos &#8220;agujeros&#8221; los podemos provocar, colocando zonas en la simulación donde no haya ruido), pero durante el proceso visual, rellenamos esos huecos, básicamente con lo que rodea al agujero. Aquí viene cuando empezamos a jugar con la visión, si, de repente, eliminamos el ruido y colocamos una pantalla del mismo color que el fondo (en mis simulaciones utilizo un gris &#8220;neutro&#8221;). El paciente, por lo general, percibe que hay ciertas zonas del fondo gris que &#8220;vibran&#8221;, &#8220;se mueven&#8221;, &#8220;hacen cosas raras&#8221;, &#8220;hostia tú, ¡qué flipada!&#8221;&#8230; Esas zonas &#8220;hostia tú, ¡qué flipada!&#8221; son las zonas de retina que no presentan función visual, por lo que &#8220;et voilà!&#8221;, ya sabemos donde están las zonas por las que el paciente no ve.</p>
<p>Como colofón, voy a colocar dos imágenes con fondo gris: Una primera que muestra el ruido con un escotoma (o &#8220;hueco de no visión&#8221;) y la imagen que percibe el paciente después de un tiempo observando el ruido (con el escotoma ya &#8220;suprimido&#8221; por el sistema visual):</p>
<p>NOTA: Para una correcta visualización de las imágenes, pulsar sobre ellas.</p>
<div id="attachment_63" class="wp-caption aligncenter" style="width: 310px"><a href="http://becariodeinvestigacion.wordpress.com/files/2009/11/campimetria1.jpg"><img class="size-medium wp-image-63" title="Campimetria1" src="http://becariodeinvestigacion.wordpress.com/files/2009/11/campimetria1.jpg?w=300" alt="" width="300" height="187" /></a><p class="wp-caption-text">El hueco se encuentra en la esquina inferior derecha del ruido</p></div>
<div id="attachment_64" class="wp-caption aligncenter" style="width: 310px"><a href="http://becariodeinvestigacion.wordpress.com/files/2009/11/campimetria2.jpg"><img class="size-medium wp-image-64" title="Campimetria2" src="http://becariodeinvestigacion.wordpress.com/files/2009/11/campimetria2.jpg?w=300" alt="" width="300" height="187" /></a><p class="wp-caption-text">Aquí podemos observar el ruido ya rellenado</p></div>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[Las imágenes amigas]]></title>
<link>http://becariodeinvestigacion.wordpress.com/2009/11/25/las-imagenes-amigas/</link>
<pubDate>Wed, 25 Nov 2009 23:13:43 +0000</pubDate>
<dc:creator>Morales Martinez Jose Angel</dc:creator>
<guid>http://becariodeinvestigacion.wordpress.com/2009/11/25/las-imagenes-amigas/</guid>
<description><![CDATA[Después de varios días de inactividad bloguera, vuelvo a las andadas: Parece que Matlab y yo nos hem]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p>Después de varios días de inactividad bloguera, vuelvo a las andadas:</p>
<p>Parece que <a href="http://www.mathworks.com/">Matlab</a> y yo nos hemos reconciliado y, aunque sigo con mi cruzada por el software libre y sigo apostando por <a href="http://www.gnu.org/software/octave/">Octave</a>, en el trabajo utilizo indistintamente ambos.</p>
<p>Mi gran logro ha llegado hoy, de mano de la inspiración divina y la ciencia infusa, aunque tengo que dar las gracias a un sueño que tuve anoche, os pongo en antecedentes:</p>
<p>Llevo una semana y media enfrascado en la difícil situación de cómo conseguir que Matlab/Octave, más concretamente el paquete <a href="http://psychtoolbox.org/wikka.php?wakka=HomePage">Psychtoolbox</a>, entienda que cuando quiero utilizar 3 imágenes e interactuar con ellas para &#8220;montarlas&#8221; una sobre otra no significa que quiero sustituya una por la otra, sino que las 3 funcionen a la vez. La finalidad de ésto es mostrar a los alumnos de la <a href="http://www.um.es/eu-optica">Escuela de Óptica de la UMU</a> cómo es realmente la visión humana (prometo colgar un par de imágenes).</p>
<p>Pues bien, anoche tuve un sueño en el que las imágenes iban cogidas de la mano y la primera de ellas guiaba a las otras y una lucecita se encendió en mi cabeza, a pesar de mi cansancio de anoche (llegué más tarde de la cuenta gracias a los dos engendros que tengo por compañeros de tertulias y puesta común de ideas y proyectos)&#8230; como iba contando, a pesar del cansancio, enchufé el ordenador, arranqué <a href="http://www.ubuntu.com/">Ubuntu</a> (sí, trabajo en casa con <a href="http://www.gnu.org/philosophy/free-sw.es.html">soft libre</a>) y Octave hizo el resto, escribí unas cuantas líneas de código, guardé y ejecuté la simulación&#8230;</p>
<p>Parece que las imágenes no eran tan amigas como en mi sueño, me vuelvo a la cama a chafar un poco la oreja&#8230;</p>
<div id="attachment_58" class="wp-caption alignright" style="width: 370px"><a href="http://becariodeinvestigacion.wordpress.com/files/2009/11/largasnumeros.jpg"><img class="size-full wp-image-58" title="largasnumeros" src="http://becariodeinvestigacion.wordpress.com/files/2009/11/largasnumeros.jpg" alt="" width="360" height="305" /></a><p class="wp-caption-text">Aquí estoy yo programando con Octave</p></div>
<p>¡Otro sueño! Las imágenes ya no van de la mano, simplemente la primera guía al resto con una linterna en la mano en medio de la oscuridad, simplemente que una le dice a la otra por dónde debe ir y ésta a la última&#8230; Vuelvo a conectar el ordenador, arranco Ubuntu, Octave&#8230; escribo líneas de código, parece que va&#8230; pantalla en blanco&#8230; pantalla en gris&#8230; me crea las máscaras de transparencia&#8230; monta solo dos imágenes&#8230; ¡no! hace un pequeño esfuerzo&#8230; ¡sí! monta las tres imágenes&#8230; faltan depurar un par de detalles, pero el resultado es esperanzador.</p>
<p>Por cierto, no puedo olvidar que las imágenes fueron desenfocadas por mi coleguita Antonio de BBAA (también fue cámara de televisión, pero prefiere que no le recordemos esa época&#8230; una larga historia).</p>
<p>PD. El viernes 11 de Diciembre conferencia en el <a href="http://maps.google.es/maps?f=q&#38;source=s_q&#38;hl=es&#38;geocode=&#38;q=38.021981,-1.172711&#38;sll=40.396764,-3.713379&#38;sspn=7.595612,14.128418&#38;ie=UTF8&#38;t=h&#38;z=16">Centro Social Universitario de la Universidad de Murcia</a> (con la flecha verde) sobre mi labor como Becario de Investigación, trataré de llevar simulaciones y unos cuantos ejemplos.</p>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[Hagedoorn Construction]]></title>
<link>http://billbrouwer.wordpress.com/2009/11/25/hagedoorn-construction/</link>
<pubDate>Wed, 25 Nov 2009 15:59:41 +0000</pubDate>
<dc:creator>bbrouwer</dc:creator>
<guid>http://billbrouwer.wordpress.com/2009/11/25/hagedoorn-construction/</guid>
<description><![CDATA[I&#8217;ve been writing GPU code for Kirchhoff Time Migration, a technique applied in seismic imagin]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p>I&#8217;ve been writing GPU code for Kirchhoff Time Migration, a technique applied in seismic imaging. Among the tools used by geophysicists and other workers in oil + gas to perform seismic imaging, the most ubiquitous is probably KTM. This method is directly preceeded by the seismic image construction technique developed primarily by Hagedoorn, although both approaches essentially represent Greens functions solutions to the scalar wave equation. Data surveys are constructed using an array of pulsed sources and corresponding receivers. Data recorded at receiver locations (referred to as &#8216;traces&#8217;) generally correspond to a particular source-receiver pair, and in the simplest case source and receiver are coincident. An image into the earth is constructed by first calculating the traveltime for a given src/rec position and image point, using these values as well as the one way traveltime and velocity at the depth in question. This traveltime is then used as an index into the trace data, to find the amplitude point (energy) which contributes to the image point. Many points from different traces constructively and destructively interfere to create the subsequent image. The initial approach developed by Hagedoorn used little more than a compass and ruler to perform this imaging task, which is to quote the vernacular &#8216;old school&#8217; and provides great pedagogical insight into KTM. There is a fantastic article by Bleistein <a href="http://www.cwp.mines.edu/~norm/Tle/part1.pdf">here</a>, and below is an example of a Hagedoorn construction performed in octave; the surface is the superposition of the arcs, like figure 2 of the article. </p>
<hr />
<a href="http://billbrouwer.wordpress.com/files/2009/11/hagefig.gif"><img src="http://billbrouwer.wordpress.com/files/2009/11/hagefig.gif?w=300" alt="" title="hageFig" width="500" class="aligncenter size-medium wp-image-635" /></a></p>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[Up One Octave]]></title>
<link>http://maddykelly.wordpress.com/2009/11/21/up-one-octave/</link>
<pubDate>Sat, 21 Nov 2009 06:15:21 +0000</pubDate>
<dc:creator>The Very Hungry Caterpillar</dc:creator>
<guid>http://maddykelly.wordpress.com/2009/11/21/up-one-octave/</guid>
<description><![CDATA[There is no light at the end of the tunnel, only a glorious sound Even if you walk with your eyes cl]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p style="text-align:center;">
<p style="text-align:center;">There is no light at the end of the tunnel,<br />
only a glorious sound<br />
Even if you walk with your eyes closed<br />
you can always be found</p>
<p style="text-align:center;">It rises ever higher<br />
Asking you to join<br />
Going up one octave<br />
the Great Man in the sky<br />
is following it<br />
his finger tracing<br />
stave by stave<br />
his melody from heaven.</p>
<p style="text-align:center;">There is no sadness in this world<br />
only the absence of glee<br />
those who turn away from it<br />
obviously cannot see</p>
<p style="text-align:center;">For it rises ever higher<br />
Asking you to join.<br />
Going up one octave,<br />
the Great Man in the sky<br />
is following it<br />
his finger tracing<br />
stave by stave<br />
his melody from heaven.</p>
<p style="text-align:center;">Follow your heart and you will be<br />
Following the melody of heaven.</p>
<p style="text-align:center;">
<p style="text-align:center;"><a href="http://maddykelly.wordpress.com/files/2009/11/prima-donna.jpg"><img class="alignnone size-medium wp-image-20" title="Prima Donna" src="http://maddykelly.wordpress.com/files/2009/11/prima-donna.jpg?w=199" alt="" width="199" height="300" /></a></p>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[Octave Vol1 (オクターヴ)]]></title>
<link>http://yurilovers.wordpress.com/2009/11/16/octave-vol1-%e3%82%aa%e3%82%af%e3%82%bf%e3%83%bc%e3%83%b4/</link>
<pubDate>Mon, 16 Nov 2009 19:09:18 +0000</pubDate>
<dc:creator>naitou</dc:creator>
<guid>http://yurilovers.wordpress.com/2009/11/16/octave-vol1-%e3%82%aa%e3%82%af%e3%82%bf%e3%83%bc%e3%83%b4/</guid>
<description><![CDATA[Título: Octave Autor(a): Haru Akiyama Ano: 2008 Nº Volumes: &#8230; Scanlations: Tranquil Spring Avi]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p><img class="aligncenter size-medium wp-image-435" title="41NSdlHZ38L._SS500_" src="http://yurilovers.wordpress.com/files/2009/11/41nsdlhz38l-_ss500_.jpg?w=212" alt="41NSdlHZ38L._SS500_" width="212" height="300" /></p>
<p>Título: Octave</p>
<p>Autor(a): Haru Akiyama</p>
<p>Ano: 2008</p>
<p>Nº Volumes: &#8230;</p>
<p>Scanlations: <a title="Tranquil Spring" href="http://www.tranquilspring.com/" target="_blank">Tranquil Spring</a></p>
<p><strong>Aviso:</strong> esta história apresenta conteúdo erótico/sexual  em certas ocasiões.</p>
<p>Quando era mais nova, Miyashita Yukino, queria tornar-se numa Idol. Quando viu esse sonho concretizar-se rapidamente caiu no esquecimento. O seu grupo tinha falhado em termos de vendas e rapidamente se acabaram os seus <em>15 minutos de fama.</em> Regressou à escola e durante algum tempo sofreu com os insultos, gozo e troça por parte daqueles que a conheciam.</p>
<p>Agora, com vinte anos, Yukino vive sozinha em Tóquio tentando endireitar a sua vida. A sua vinda para Tóquio é como uma lufada de ar fresco, um recomeçar da sua vida, que rapidamente se torna em algo mais.</p>
<p>Trabalha como <em>mananger</em> de novos talentos, sendo incapaz de deixar os seus dias como Idol no passado.</p>
<p><img class="aligncenter size-medium wp-image-436" title="Octave_vol01_c01_19" src="http://yurilovers.wordpress.com/files/2009/11/octave_vol01_c01_19.png?w=209" alt="Octave_vol01_c01_19" width="209" height="300" /></p>
<p>Por ter passado um mau bocado enquanto estudante, rapidamente criou uma imagem muito negativa acerca dos homens. Enquanto Idol, existe um mundo que muitos desconhecem. Todo um jogo de favores e preferências e a reputação de uma Idol nunca está de todo limpa no caminho para o sucesso. Aos vinte anos, Yukino é ainda virgem e depara-se com situações que a colocam a pensar sobre toda a questão envolta nos relacionamentos e sexo.</p>
<p>Numa noite em que decide passar por uma lavandaria para lavar a sua roupa, encontra-se com um rapaz que lhe pergunta se alguma vez apareceu na televisão. Assombrada pelo seu passado e medo de ser reconhecida, a sua resposta é interrompida por uma rapariga que surge e rapidamente coloca o seu irmão <em>no seu lugar.</em></p>
<p>É nessa mesma noite que conhece Setsuko, uma compositora que outrora também pertencera a um grupo Idol falhado. O seu irmão era o dono da lavandaria e pelo facto da sua irmã ter sido uma Idol, não evitou fazer a pergunta a Yukino.</p>
<p><img class="aligncenter size-medium wp-image-437" title="Octave_vol01_c01_35" src="http://yurilovers.wordpress.com/files/2009/11/octave_vol01_c01_35.png?w=209" alt="Octave_vol01_c01_35" width="209" height="300" /></p>
<p>A curiosidade de Yukino acerca de Setsuko e do facto desta ter sido também um Idol, faz com que Yukino se interesse na rapariga. Procura por informações e rapidamente descobre o grupo a que Setsuko pertencera. Regressa mais tarde à lavandaria e conhece um pouco mais o rapaz que naquela noite lhe perguntara acerca do seu passado.</p>
<p>Por não ter uma casa-de-banho no seu quarto de apartamento, Yukino costuma visitar a casa de banhos perto do seu apartamento. Nela encontra Setsuko que a convida para ir comer a sua casa.</p>
<p>Depois de contar as suas experiências enquanto Idol e reflectir na sua vida actual, Setsuko não arranja desculpas e confronta Yukino com o seu problema. No fundo tudo o que Yukino deseja é atenção e alguém que seja capaz de lhe dar isso.</p>
<p><img class="aligncenter size-medium wp-image-439" title="Octave_V01_ch02_pg026" src="http://yurilovers.wordpress.com/files/2009/11/octave_v01_ch02_pg026.png?w=208" alt="Octave_V01_ch02_pg026" width="208" height="299" /></p>
<p>A conversa acaba por tomar um rumo diferente e acabam por se envolver fisicamente. A partir dessa noite o romance entre as duas desperta, sem antes deixar de contar, claro, pela conhecida fase de negação por parte de Yukino até conseguir compreender as suas emoções. Durante todo esse processo, descobre ainda que a sua antiga amiga e companheira Idol, Mika, é agora uma estrela em ascensão, que deixou para trás o seu passado falhado como membro do seu antigo grupo e é agora uma nova artista com uma atitude e talento a ganhar valor.</p>
<p>Convencida de que tudo o que planeara iria acontecer como previu, Yukino encontra-se agora cheia de dúvidas, curiosidades e imensos caminhos por onde seguir. Repensar na sua vida e ideais começa a fazer parte do seu dia-a-dia. Setsuko abre-lhe as portas para novas experiências e sentimentos, por vezes criando ainda mais dúvidas e receios na sua cabeça, mas que num todo se resumem ao encontro de todas a sua respostas para encontrar a sua felicidade.</p>
<p>Um primeiro volume de leitura simples, interessante e com uma história que aborda as relações, sexualidade, mundo dos Idols, desejos, aspirações de carreira, sonhos e identidade pessoal de uma maneira diferente e um pouco fora da norma a que estamos habituados nas mais variadas <em>mangas.</em></p>
<p><em><img class="aligncenter size-medium wp-image-440" title="Octave_V01_ch06_pg011" src="http://yurilovers.wordpress.com/files/2009/11/octave_v01_ch06_pg011.png?w=207" alt="Octave_V01_ch06_pg011" width="207" height="300" /><br />
</em></p>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[CUDA on Octave 3.x in linux 64 bits]]></title>
<link>http://scinesur.wordpress.com/2009/11/12/cuda-on-octave-3-x-in-linux-64-bits/</link>
<pubDate>Thu, 12 Nov 2009 18:58:18 +0000</pubDate>
<dc:creator>yonesur</dc:creator>
<guid>http://scinesur.wordpress.com/2009/11/12/cuda-on-octave-3-x-in-linux-64-bits/</guid>
<description><![CDATA[Hello all, I did all this work in august, but forgot to create a blog to post it. I&#8217;m sure the]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p>Hello all,</p>
<p>I did all this work in august, but forgot to create a blog to post it. I&#8217;m sure there are people out there interested in this stuff (I was but didin&#8217;t find anything!).</p>
<p>This are the instructions to have the Matlab CUDA plugin that Nvidia provides ( <a href="http://developer.nvidia.com/object/matlab_cuda.html">http://developer.nvidia.com/object/matlab_cuda.html</a> ) working in Octave in linux 64 bits.</p>
<p>In case you didn&#8217;t know, Octave supports since 3.2 single precision floats, so I recommend that for interfacing with CUDA.</p>
<p>Instructions for compiling Matlab CUDA plugin for Octave in Linux:</p>
<p>1. Install CUDA SDK and Toolkit following instructions from Nvidia site. In ubuntu 9.04, I had to install also:</p>
<blockquote><p>sudo apt-get install build-essential libglut3-dev<br />
sudo aptitude install libxi-dev<br />
sudo apt-get install libxmu-dev</p></blockquote>
<p>Remember the last warning in the installation:</p>
<blockquote><p>* Please make sure your PATH includes /usr/local/cuda/bin<br />
* Please make sure your LD_LIBRARY_PATH<br />
*   for 32-bit Linux distributions includes /usr/local/cuda/lib<br />
*   for 64-bit Linux distributions includes /usr/local/cuda/lib64</p></blockquote>
<p>2. Compile a program called mexext which produces &#8220;mex&#8221; as string output and put it in /usr/bin. I did</p>
<blockquote><p>#include &#60;stdio.h&#62;</p>
<p>int main()<br />
{<br />
printf(&#8220;mex\n&#8221;);<br />
return 0;<br />
}</p></blockquote>
<p>And compiled it, but I suppose a simple script with &#8220;echo mex&#8221; would work.</p>
<p>3. Use this Makefile, instead of the one supplied by Nvidia (problems with HTML formatting, see attachments at the botoom):</p>
<blockquote><p># Define installation location for CUDA and compilation flags compatible<br />
# with the CUDA include files.<br />
CUDAHOME    = /usr/local/cuda<br />
INCLUDEDIR  = -I$(CUDAHOME)/include<br />
INCLUDELIB  = -L$(CUDAHOME)/lib64 -lcufft -lcudart -Wl,-rpath,$(CUDAHOME)/lib64<br />
CFLAGS      = -fPIC -D_GNU_SOURCE -pthread -fexceptions -Wall<br />
COPTIMFLAGS = -O3 -funroll-loops -msse2</p>
<p># Define installation location for Octave<br />
MEX = /usr/bin/mkoctfile<br />
MEXEXT        = .mex<br />
MEXOPT   = &#8211;mex</p>
<p># nvmex is a modified mex script that knows how to handle CUDA .cu files.<br />
NVMEX = ./nvmkoctfile</p>
<p># List the mex files to be built.<br />
MEXFILES = fft2_cuda.mex       \<br />
fft2_cuda_sp_dp.mex \<br />
ifft2_cuda.mex      \<br />
Szeta.mex</p>
<p>all: $(MEXFILES)</p>
<p>clean:<br />
rm -f $(MEXFILES) *.linkinfo</p>
<p>#.SUFFIXES: .cu .o .mex</p>
<p>#.cu.o:<br />
#    nvcc -c COPTIMFLAGS=&#8217;$(COPTIMFLAGS)&#8217;  $&#60; $(INCLUDEDIR) $(INCLUDELIB)</p>
<p>#.mex:<br />
#    $(MKOCTFILE) CFLAGS=&#8217;$(CFLAGS)&#8217; COPTIMFLAGS=&#8217;$(COPTIMFLAGS)&#8217; $@ \<br />
#        $(INCLUDEDIR) $(INCLUDELIB)</p>
<p>.SUFFIXES: .cu .cu_o .mex</p>
<p>.c.mex:<br />
CFLAGS=&#8217;$(CFLAGS)&#8217; COPTIMFLAGS=&#8217;$(COPTIMFLAGS)&#8217; $(MEX) $(MEXOPT) $&#60; \<br />
$(INCLUDEDIR) $(INCLUDELIB)</p>
<p>.cu.mex:<br />
COPTIMFLAGS=&#8217;$(COPTIMFLAGS)&#8217; $(NVMEX) $(MEXOPT) $&#60; $(INCLUDEDIR) $(INCLUDELIB)</p></blockquote>
<p>3.Now perform these changes in the Octave suplied mkoctfile, and save it as nvmkoctfile in the source directory (or use the attached one, which is for Octave 3.0.1):</p>
<blockquote><p>mkoctfile always appends -g to<br />
: ${CFLAGS=&#8221;-g -O2&#8243;}<br />
: ${CPICFLAG=&#8221;-fPIC&#8221;}<br />
: ${CXX=&#8221;g++&#8221;}<br />
: ${CXXFLAGS=&#8221;-g -O2&#8243;}<br />
: ${CXXPICFLAG=&#8221;-fPIC&#8221;}</p>
<p>even if -g is not used.</p>
<p>Removed -g there and changed -O2 to -O3.</p>
<p>Also changed:</p>
<p>-W*)<br />
pass_on_options=&#8221;$pass_on_options $1&#8243;<br />
;;</p>
<p>to</p>
<p>-W*)<br />
pass_on_options=&#8221;$pass_on_options $1&#8243;<br />
;;<br />
-O*)<br />
pass_on_options=&#8221;$pass_on_options $1&#8243;<br />
;;<br />
-f*)<br />
pass_on_options=&#8221;$pass_on_options $1&#8243;<br />
;;</p></blockquote>
<p>Change the lines</p>
<blockquote><p>while [ $# -gt 0 ]; do<br />
file=<br />
case &#8220;$1&#8243; in<br />
*.c)<br />
file=$1<br />
cfiles=&#8221;$cfiles $file&#8221;<br />
;;</p></blockquote>
<p>to</p>
<blockquote><p>while [ $# -gt 0 ]; do<br />
file=<br />
case &#8220;$1&#8243; in<br />
*.c &#124; *.cu)<br />
file=$1<br />
cfiles=&#8221;$cfiles $file&#8221;<br />
;;</p></blockquote>
<p>Also</p>
<blockquote><p>: ${CC=&#8221;gcc&#8221;}<br />
: ${CFLAGS=&#8221;-O3&#8243;}<br />
: ${CPICFLAG=&#8221;-fPIC&#8221;}</p></blockquote>
<p>to</p>
<blockquote><p>: ${CC=&#8221;nvcc&#8221;}<br />
: ${CFLAGS=&#8217;-O3 -Xcompiler &#8220;-fPIC -D_GNU_SOURCE -pthread -fexceptions -m64&#8243; -Xcompiler &#8220;-O3 -funroll-loops -msse2 -DNDEBUG&#8221;&#8216;}<br />
: ${CPICFLAG=&#8221;"}</p></blockquote>
<p>4. Comment or remove in fft2_cuda_sp_dp.c the line</p>
<blockquote><p>#include &#8220;matrix.h&#8221;</p></blockquote>
<p>and make. If you have problems with &#8220;cannot be declared weak&#8221;, read http://forums.nvidia.com/index.php?showtopic=104673 .<br />
5. If something fails, remember to do a &#8220;make clean&#8221; AND delet all .o before compiling again.</p>
<p>6. Now you should have working .mex CUDA functions working in Octave. Use them as you please!</p>
<p>P.D. WordPress does not allow textfiles, but allow .doc. Remove the .doc or change it accordingly to the attached files!</p>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[¡Me paso a Octave!]]></title>
<link>http://becariodeinvestigacion.wordpress.com/2009/11/11/%c2%a1me-paso-a-octave/</link>
<pubDate>Wed, 11 Nov 2009 22:28:37 +0000</pubDate>
<dc:creator>Morales Martinez Jose Angel</dc:creator>
<guid>http://becariodeinvestigacion.wordpress.com/2009/11/11/%c2%a1me-paso-a-octave/</guid>
<description><![CDATA[Lo siento, Matlab puede conmigo&#8230; ¿pero cómo es posible que abra el programa, ejecute la simula]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p>Lo siento, Matlab puede conmigo&#8230; ¿pero cómo es posible que abra el programa, ejecute la simulación y no funcione, la cierre y la vuelva a abrir (sin hacer cambio ninguno) y ahora sí funcione? (Ésto en mi tierra se conoce como tocar los huevos).</p>
<div id="attachment_46" class="wp-caption alignleft" style="width: 369px"><img class="size-full wp-image-46" title="Mitico bocinazo de Michel a Valderrama" src="http://becariodeinvestigacion.wordpress.com/files/2009/11/mitico-bocinazo-de-michel-a-valderrama.jpg" alt="Mitico bocinazo de Michel a Valderrama" width="359" height="400" /><p class="wp-caption-text">Valderrama (el de los pelos guays) antes de pasarse al Software Libre. Míchel juega con su muñequito.</p></div>
<p>En fín, que me paso 100% al <a href="http://es.wikipedia.org/wiki/Software_libre">software libre</a>, soy usuario de Ubuntu desde finales de 2004 (la 1ª edición) y muy orgulloso de ello, por fín he encontrado el sustituto a mi pesadilla, se llama Octave y, de momento, solo lo encuentro como <a href="http://www.builderau.com.au/i/g/gnome216/gnome-terminal.png">línea de comandos</a>, pero me han dicho que hay circulando un entorno gráfico (también conocido como <a href="http://es.wikipedia.org/wiki/Interfaz_gr%C3%A1fica_de_usuario">GUI</a>) por la red, por lo que me bajaré el paquete (no el de Valderrama, ése se lo dejo a Míchel, que parece entusiasmado) y lo instalaré, ya os contaré que tal.</p>
<p>También me he enterado que en Santa Otilia, patrona de la Escuela de Óptica, tengo que dar unas charlas sobre lo que estoy haciendo con mi Beca de Investigación. Ya me lo imagino: &#8220;Bueno chicos, os voy a decir que mi trabajo consiste básicamente en pelearme con un programita llamado MatLab, que se dedica a tocarme los&#8230; esto&#8230;, que me ayuda a realizar simulaciones de problemas, de test, etc&#8230; que podemos utilizar para analizar a nuestros pacientes&#8230; ¿Mi recomendación? Tiraros por un barranco antes de usarlo&#8230; quiero decir&#8230; sed buenos ópticos y dedicaros a la investigación que es guay&#8221;. En fín, que me tendré que ir preparando para darlas, improvisaré un Powerpoint (más bien dicho una presentación) y me iré preparando para lo que venga.</p>
<div id="attachment_47" class="wp-caption alignright" style="width: 207px"><img class="size-full wp-image-47  " title="doctor_torchwood" src="http://becariodeinvestigacion.wordpress.com/files/2009/11/doctor_torchwood.jpg" alt="doctor_torchwood" width="197" height="280" /><p class="wp-caption-text">El Doctor con el Capitán Jack Harkness y la Doctora Martha Jones</p></div>
<p>Por cierto, me veo en la obligación de</p>
<p>recomendar la siguiente página</p>
<p>(<a href="http://www.humorfriki.com">http://www.humorfriki.com</a>)&#8230; ¡sí! ¡soy un poco friki! &#8230; ¡vale! ¡soy muy friki! pero no llego al extremo de ver las series en japones subtituladas en japonés&#8230; me he quedado en el límite de ver todas las temporadas de Doctor Who (la recomiendo, me quedo con el Cuarto, el Noveno y el Décimo Doctor).</p>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[Web Interface of My Research]]></title>
<link>http://lulus2009.wordpress.com/2009/11/02/web-interface-of-my-research/</link>
<pubDate>Mon, 02 Nov 2009 14:33:04 +0000</pubDate>
<dc:creator>lulus2009</dc:creator>
<guid>http://lulus2009.wordpress.com/2009/11/02/web-interface-of-my-research/</guid>
<description><![CDATA[before i start i want to &#8216;lol&#8217; first. hahahaha&#8230;. because i forgot that i had creat]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p>before i start i want to &#8216;lol&#8217; first.<br />
hahahaha&#8230;.<br />
because i forgot that i had created this web interface..</p>
<p><a title="web-interface-of-my-research by agrd_sn, on Flickr" href="http://www.flickr.com/photos/agrd_sn/4068656978/"><img src="http://farm3.static.flickr.com/2568/4068656978_d2520c4293.jpg" alt="web-interface-of-my-research" width="500" height="300" /></a><br />
Picture 1.</p>
<p>When you click the &#8220;Click Me&#8221; button, it will call the &#8220;java-tws.php&#8221; function and then start a connection between computer host with TINI Microcontroller via telnet. And then, it will run several commands to get some temperature datas from sensors that connected on TINI microcontroller.</p>
<p>After that, temperature data will store on mysql database on host computer (this computer can easily say as a &#8220;server&#8221;). The data numerically compute by software like Octave/Matlab (call heat2d function). After this proccess has done, Octave/Matlab store the output value on mysql and then we can view the results on web page.</p>
<p>it&#8217;s so simple.<br />
but hard on implementation.</p>
<p>agung.ridwan.sn</p>
<p>PS: if i&#8217;m online @my home, you can try to access the page by this url: <a href="http://agungridwan.mine.nu/tini/ajax/" target="_blank">http://agungridwan.mine.nu/tini/ajax/</a></p>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[#1 - Appunti: Interpolazioni con polinomio di x grado]]></title>
<link>http://idl3.wordpress.com/2009/10/28/1-appunti-interpolazioni-con-polinomio-di-x-grado/</link>
<pubDate>Wed, 28 Oct 2009 14:28:14 +0000</pubDate>
<dc:creator>idl3</dc:creator>
<guid>http://idl3.wordpress.com/2009/10/28/1-appunti-interpolazioni-con-polinomio-di-x-grado/</guid>
<description><![CDATA[Do il via ad un&#8217;altra rubrica, Appunti, nella quale inseriro&#8217; cose che reputo interessan]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p>Do il via ad un&#8217;altra rubrica, <strong>Appunti</strong>, nella quale inseriro&#8217; cose che reputo <strong>interessanti</strong> trovate su libri, in rete o uscite fuori durante discussioni. Parto da un argomento che mi piace molto. Sul forum <strong>Debianizzati.org</strong> e&#8217; stato aperto il <em>thread</em> intitolato <a href="http://forum.debianizzati.org/offtopic/interpolazione-con-polinomio-di-xgrado-t38145.0.html">Interpolazione con polinomio di x-grado</a>. Viene proposta come soluzione l&#8217;uso alternativo di <strong>questi programmi</strong>: <a href="http://www.gnuplot.info/">GNUplot</a>, <a href="http://www.gnu.org/software/octave/">Octave</a> e <a href="http://soft.proindependent.com/qtiplot.html">Qtiplot</a>. Vediamo gli <strong>esempi</strong> indicati nel forum.</p>
<p><strong>GNUplot</strong><br />
<code>gnuplot&#62; f(x) = a0 + a1*x + a2*x**2 + a3*x**3 + a4*x**4 + a5*x**5</code><br />
<code>gnuplot&#62; fit f(x) "data.txt" via a0, a1, a2, a3, a4, a5</code><br />
(dove in data.txt sono contenute le coppie [xi   yi], xi e yi separati da un &#8220;tab&#8221; e ogni punto è su una nuova riga)</p>
<pre>a0              = -113.631           +/- 1.49         (1.311%)
a1              = 14.7619            +/- 0.3216       (2.178%)
a2              = 0.00811888       +/- 0.02657      (327.3%)
a3              = -0.00297494      +/- 0.001054     (35.43%)
a4              = 7.67038e-06      +/- 2.015e-05    (262.6%)
a5              = -6.30903e-08     +/- 1.49e-07     (236.1%)</pre>
<p><strong>Octave</strong><br />
<code>octave&#62; x = [x0, x1, x2, ... xn]</code><br />
<code>octave&#62; y = [y0, y1, y2, ... yn]</code><br />
<code>octave&#62; polyfit(x, y, 5)</code></p>
<pre>a0      = -1.1363e+02
a1      = 1.4762e+01
a2      = 8.1189e-03
a3      = -2.9749e-03
a4      = 7.6704e-06
a5      = -6.3090e-08</pre>
<p><strong>Qtiplot</strong><br />
(tutto graficamente)<br />
- importare i valori xi e yi nella tabella che si presenta all&#8217;avvio<br />
- scegliere dal menu &#8220;Analysis&#8221; l&#8217;opzione &#8220;Fit Wizard&#8221;<br />
- (dopo aver dato un paio di &#8220;cancel&#8221; [qtiplot vuole assolutamente che scegliate la direcotry dei plugin, anche se per quest'operazione non serve]) Da &#8220;built-in&#8221; scegliere la funzione &#8220;Polynomnial&#8221;, scegliere poi il grado del polinomio utilizzando l&#8217;apposito campo ed infine pigiare il pulsante &#8220;Add expression&#8221; e &#8220;Fit &#62;&#62;&#8221;<br />
- se si vuole si può cambiare ora qualche parametro (come gli intervalli degli assi X e Y, &#8230;), ma basterà pigiare ancora &#8220;Fit&#8221; per ottenere gli indici, la funzione e il grafico</p>
<pre>a0       = -1.136312982562263e+02 +/- 1.490197698617564e+00
a1       = 1.476186506677628e+01 +/- 3.215805529182810e-01
a2       = 8.118882399515939e-03 +/- 2.656935116007203e-02
a3       = -2.974939167013951e-03 +/- 1.053944253900844e-03
a4       = 7.670375583296754e-06 +/- 2.014563182154056e-05
a5       = -6.309032269277494e-08 +/- 1.489855699192030e-07</pre>
<p>Ad essere sincero Qtiplot non lo conoscevo, ma continuo a preferire <strong>Octave</strong>. Mi raccomando, <strong>chi fosse interessato partecipi sul forum</strong>.</p>
<p>Fonte: <a href="http://forum.debianizzati.org/">Forum Italiano Debian &#8211; Debianizzati.Org</a></p>
<p>Approfondimenti: <a href="http://it.wikipedia.org/wiki/Interpolazione_polinomiale">Interpolazione polinomiale</a></p>
<hr />
<p style="text-align:right;"><a href="#content" title="torna su">[^] torna su</a>&#160;&#124;&#160;<a href="http://postli.com/post?u=http://idl3.wordpress.com/2009/10/28/1-appunti-interpolazioni-con-polinomio-di-x-grado/&#38;t=1 - Appunti: Interpolazioni con polinomio di x grado" title="Post to Postli" style="color:blue;text-decoration:none;">post<span style="color:orange;">&#60;</span><span style="color:red;">li</span><span style="color:orange;">&#62;</span></a>&#160;&#124;&#160;<a href="http://www.wikio.it/vote?url=http://idl3.wordpress.com/2009/10/28/1-appunti-interpolazioni-con-polinomio-di-x-grado/" target="_blank"><img src="http://www.wikio.it/shared/img/vote/wikio2.gif" border="0" /></a></p>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[Five Reasons Bach is Still Relevant to Today's Songwriters]]></title>
<link>http://garyewer.wordpress.com/2009/10/27/five-reasons-bach-is-still-relevant-to-todays-songwriters/</link>
<pubDate>Tue, 27 Oct 2009 17:42:57 +0000</pubDate>
<dc:creator>garyewer</dc:creator>
<guid>http://garyewer.wordpress.com/2009/10/27/five-reasons-bach-is-still-relevant-to-todays-songwriters/</guid>
<description><![CDATA[Written by Gary Ewer, from “The Essential Secrets of Songwriting” website. You can read Gary&#8217;s]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p><span style="color:#808080;">Written by Gary Ewer, from “</span><a href="http://www.secretsofsongwriting.com">The Essential Secrets of Songwriting</a><span style="color:#808080;">” website. You can read Gary&#8217;s songwriting e-books (and take advantage of a free deal) by</span> <strong><em><a href="http://www.secretsofsongwriting.com/prepurchase2.html">visiting the Online Store</a></em></strong>.</p>
<p><img class="alignleft size-full wp-image-800" title="J.S. Bach - Bob Dylan" src="http://garyewer.wordpress.com/files/2009/10/bach_dylan.jpg" alt="J.S. Bach - Bob Dylan" width="180" height="141" />It never ceases to amaze me how similar melodies are, no matter what genre, or even historical period, you examine. <strong>There really isn’t much difference between a good melody by Bach, and a good melody by Bob Dylan.</strong> Performance style accounts for the main difference. This means that if we follow the same guidelines Bach followed, we’ll get a well-structured melody. Here are five of those guidelines.</p>
<ol>
<li><strong>The interval between your highest note and lowest note should not (or rarely) exceed an octave and a half.</strong> (Not including any improvised melismas or other melodic variations.)</li>
<li><strong>Melodies should contain repeating elements </strong>– certain intervals that recur, rhythms you use consistently, and so on. This adds a sense of form and structure specifically to your melody, and also to your song in general.</li>
<li><strong>Melodies should be mainly comprised of stepwise motion, with occasional leaps</strong> for energy and interest. Not only is it easier to sing, it’s easier for listeners to remember.</li>
<li><strong>Always be aware of how the melody line moves in relation the bass line.</strong> There are four possibilities: <strong>parallel</strong> motion (both parts move in the same direction by the same interval); <strong>similar</strong> motion (both parts move in the same direction by a different interval); <strong>oblique</strong> motion (one part stays the same while the other moves); and <strong>contrary</strong> (both parts move in opposite directions. The ideal is to have a good mixture of all four possibilities between the bass line and melody. Applying this guideline means you need to give active thought to your bass line – always a good thing!</li>
<li><strong>Most melodies will benefit by having a climactic point</strong>, down from which it moves to a cadence (a “rest spot”). A climactic point is usually the highest note, but also refers to the moment of highest energy, which may not be the highest pitch. Think of the refrain in Dylan’s “The Times They Are A-Changin’” – the climactic point is in and around the word “times”, and the line then descends to a cadence- i.e., the end of the phrase.</li>
</ol>
<p><strong>All good melodies work hand-in-hand with the lyric.</strong> So decisions regarding specific choices of pitches and rhythms will need to use lyric as one of the main determining factors. But beyond that, applying the guidelines above will ensure that you’ve got a great melody that’s really got a chance of being a winner.</p>
<p>___________</p>
<p><span style="color:#ff0000;">Gary&#8217;s written six songwriting e-books designed to get you writing the songs you&#8217;ve always known you could write. It examines some of the world&#8217;s best songs, and shows you why they work, and what you can do to get your own songs sizzling!</span> <strong><em><a href="http://www.secretsofsongwriting.com/prepurchase2.html">Read about those books here</a></em></strong><a href="http://www.secretsofsongwriting.com/prepurchase2.html">.</a></p>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[GNU Octave]]></title>
<link>http://harbhag.wordpress.com/2009/10/19/gnu-octave/</link>
<pubDate>Mon, 19 Oct 2009 16:09:46 +0000</pubDate>
<dc:creator>harbhag</dc:creator>
<guid>http://harbhag.wordpress.com/2009/10/19/gnu-octave/</guid>
<description><![CDATA[Octave is a computer program for performing numerical computations. It is mostly compatible with MAT]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p><!-- 		@page { margin: 0.79in } 		P { margin-bottom: 0.08in } 		H2 { margin-bottom: 0.08in } --><strong>Octave</strong> is a computer program for performing numerical computations. It is mostly compatible with MATLAB.</p>
<p>As part of the GNU Project, it is free software under the terms of the GNU General Public License.</p>
<p>he project was conceived around 1988. At first it was intended to be a companion to a chemical reactor design course. Real development was started by John W. Eaton in 1992. The first alpha release dates back to January 4, 1993 and on February 17, 1994 version 1.0 was released. Version 3.0 was released on December 21, 2007.</p>
<p>The program is named after Octave Levenspiel, a former professor of the principal author who was known for his ability to perform quick back-of-the-envelope calculations.</p>
<p>In addition to use on desktops for personal scientific computing, octave is used in academia and industry. For example, Octave was used on a massive parallel computer at Pittsburgh supercomputing center to find vulnerability related to guessing social security numbers</p>
<h2><a name="Technical_details"></a>Technical details</h2>
<ul>
<li>Octave is written in C++ using STL libraries.</li>
<li>Octave uses an interpreter to execute the Octave scripting 	language.</li>
<li>Octave is extensible using dynamically loadable modules.</li>
<li>Octave interpreter works in tandem with gnuplot and Grace 	software to create plots, graphs, and charts, and to save or print 	them.</li>
</ul>
<h2><a name="Octave.2C_the_language"></a>Octave, the language</h2>
<p>The Octave language is an interpreted programming language. It is a structured programming language (similar to C) and supports many common C standard library functions, and also certain UNIX system calls and functions. However, it does not support passing arguments by reference.</p>
<p>Octave programs consist of a list of function calls or a script. The syntax is matrix-based and provides various functions for matrix operations. It is not object-oriented, but it does support various data structures.</p>
<p>Its syntax is very similar to MATLAB, and careful programming of a script will allow it to run on both Octave and MATLAB.</p>
<p>Because Octave is made available under the GNU General Public License, it may be freely copied and used.[1] The program runs under most Unix and Unix-like operating systems, as well as Microsoft Windows.</p>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[Apply logical operations to a matrix in Octave]]></title>
<link>http://bleener9.wordpress.com/2009/10/19/apply-logical-operations-to-a-matrix-in-octave/</link>
<pubDate>Mon, 19 Oct 2009 07:25:15 +0000</pubDate>
<dc:creator>bleener9</dc:creator>
<guid>http://bleener9.wordpress.com/2009/10/19/apply-logical-operations-to-a-matrix-in-octave/</guid>
<description><![CDATA[octave:3&gt; A = [1 7 -2; 4 -1 6] A = 1   7  -2 4  -1   6 octave:4&gt; B = ( A &lt; 0 ) B = 0   0   ]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p>octave:3&#62; A = [1 7 -2; 4 -1 6]<br />
A =</p>
<p>1   7  -2<br />
4  -1   6</p>
<p>octave:4&#62; B = ( A &#60; 0 )<br />
B =</p>
<p>0   0   1<br />
0   1   0</p>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[GNU Octave, alternatif MATLAB di Linux]]></title>
<link>http://pakeklinux.wordpress.com/2009/10/18/gnu-octave-alternatif-matlab-di-linux/</link>
<pubDate>Sun, 18 Oct 2009 05:59:59 +0000</pubDate>
<dc:creator>Budi</dc:creator>
<guid>http://pakeklinux.wordpress.com/2009/10/18/gnu-octave-alternatif-matlab-di-linux/</guid>
<description><![CDATA[MATLAB Anda tahu MATLAB? Menurut Wikipedia : MATLAB is a numerical computing environment and fourth ]]></description>
<content:encoded><![CDATA[MATLAB Anda tahu MATLAB? Menurut Wikipedia : MATLAB is a numerical computing environment and fourth ]]></content:encoded>
</item>
<item>
<title><![CDATA[Free! College Software Guide]]></title>
<link>http://frugalpupil.wordpress.com/2009/10/16/free-college-software-guide/</link>
<pubDate>Fri, 16 Oct 2009 12:00:30 +0000</pubDate>
<dc:creator>J.R.</dc:creator>
<guid>http://frugalpupil.wordpress.com/2009/10/16/free-college-software-guide/</guid>
<description><![CDATA[There is one thing college students don’t need when it comes to their software: another expense. Wit]]></description>
<content:encoded><![CDATA[There is one thing college students don’t need when it comes to their software: another expense. Wit]]></content:encoded>
</item>
<item>
<title><![CDATA[Metode Tuning bagian 1]]></title>
<link>http://ditomusicman.wordpress.com/2009/10/12/metode-tuning-bagian-1/</link>
<pubDate>Mon, 12 Oct 2009 13:35:50 +0000</pubDate>
<dc:creator>ditomusicman</dc:creator>
<guid>http://ditomusicman.wordpress.com/2009/10/12/metode-tuning-bagian-1/</guid>
<description><![CDATA[Matematika &amp; Musik Kali ini saya akan memberikan tulisan yang mungkin sedikit agak membingungkan]]></description>
<content:encoded><![CDATA[Matematika &amp; Musik Kali ini saya akan memberikan tulisan yang mungkin sedikit agak membingungkan]]></content:encoded>
</item>
<item>
<title><![CDATA[Tyger Plays Her First Fiddle Tune]]></title>
<link>http://joilene.wordpress.com/2009/10/09/tyger-plays-her-first-fiddle-tune/</link>
<pubDate>Fri, 09 Oct 2009 16:00:17 +0000</pubDate>
<dc:creator>joilene</dc:creator>
<guid>http://joilene.wordpress.com/2009/10/09/tyger-plays-her-first-fiddle-tune/</guid>
<description><![CDATA[Tyger recently developed an interest in structured music. She practiced on the piano for several day]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p><img class="alignnone size-full wp-image-3725" title="Random#30 001" src="http://joilene.wordpress.com/files/2009/10/random30-001.jpg" alt="Random#30 001" width="500" height="375" /></p>
<p>Tyger recently developed an interest in structured music. She practiced on the piano for several days, developing an idea of chords, octaves, and pitch. Then she asked to try the fiddle.</p>
<p>I was hesitant at first, thinking she merely wanted to use the 1/4-sized instrument (which was Billy&#8217;s, and which he had neglected) as a toy. But I was wrong. When I finally sat her on my lap and showed her how to hold the fiddle and bow, she made real efforts to play something that sounded like music.</p>
<p>Of course, she has a ways to go. She needs to grow bigger before she will be able to properly hold the fidle in position, and draw the bow gracefully and with long sweeps, but her interest is there, and I am proud of heer.</p>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[Installing Octave 3.2.3 in Kubuntu Hardy]]></title>
<link>http://techlogbook.wordpress.com/2009/10/06/installing-octave-3-2-3-in-kubuntu-hardy/</link>
<pubDate>Tue, 06 Oct 2009 05:28:18 +0000</pubDate>
<dc:creator>kurniawano</dc:creator>
<guid>http://techlogbook.wordpress.com/2009/10/06/installing-octave-3-2-3-in-kubuntu-hardy/</guid>
<description><![CDATA[Octave has released a major version 3.2 and now the latest bug fix release is 3.2.3. I decided to in]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p>Octave has released a major version 3.2 and now the latest bug fix release is 3.2.3. I decided to install it. What I did was to download the tarball from www.octave.org and then unzip it. After that, I run the configure:<br />
<code><br />
./configure --prefix=$HOME/Programs/Octave-3.2.3<br />
</code><br />
where the prefix defines the location where to install the new version of octave. I got some warning on the graphics library since Octave 3.2 uses a different graphics library.<br />
<code><br />
configure: WARNING: qrupdate not found. The QR &#38; Cholesky updating functions will be slow.<br />
configure: WARNING: GraphicsMagick++ config script not found.  Assuming GraphicsMagic++ library and header files are missing, so imread will not be fully functional<br />
configure: WARNING: "FTGL headers not found. Native renderer will not have on-screen text"<br />
configure: WARNING: "FLTK config script not found.  Native graphics will be disabled."<br />
configure: WARNING:<br />
configure: WARNING: I didn't find the necessary libraries to compile native<br />
configure: WARNING: graphics. It isn't necessary to have native graphics<br />
configure: WARNING: but you will have to use gnuplot or you won't be able<br />
configure: WARNING: to use any of Octave's plotting commands<br />
configure: WARNING:<br />
</code></p>
<p>To solve this problem, I run Adept package manager and install the following:<br />
<code><br />
libgraphicsmagick++1-dev<br />
ftgl-dev<br />
libfltk1.1-dev<br />
<code></p>
<p>And I also download qrupdate library from <a href="http://sourceforge.net/projects/qrupdate/">this page</a>. Hardy does not provide this package, but it can be found in Karmic. To install this, edit the Makeconf file according to your system. In my case I just edit the PREFIX part to where I want to install it. After that type "make lib" for creating static library, and "make solib" for dynamic library. To install, type "make install". For more info, you can type "make help"</p>
<p>To make sure Octave can find the qrupdate library, you might have to add LDFLAGS into the ./configure command:<br />
<code><br />
./configure --prefix=$HOME/Programs/Octave-3.2.3 LDFLAGS='-L/home/kurniawano/local/lib'<br />
</code><br />
After everything seems ok, type "make" and "make install"</p>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[Armance, Stendhal]]></title>
<link>http://meslectures.wordpress.com/2009/10/04/armance-stendhal/</link>
<pubDate>Mon, 05 Oct 2009 02:12:35 +0000</pubDate>
<dc:creator>Philippe Guillaume</dc:creator>
<guid>http://meslectures.wordpress.com/2009/10/04/armance-stendhal/</guid>
<description><![CDATA[J’avais entrepris il y a quelques années la lecture du rouge et le noir de Stendhal. Après avoir déc]]></description>
<content:encoded><![CDATA[J’avais entrepris il y a quelques années la lecture du rouge et le noir de Stendhal. Après avoir déc]]></content:encoded>
</item>
<item>
<title><![CDATA[CUDA + OCTAVE]]></title>
<link>http://billbrouwer.wordpress.com/2009/09/30/cuda-octave/</link>
<pubDate>Wed, 30 Sep 2009 19:36:48 +0000</pubDate>
<dc:creator>bbrouwer</dc:creator>
<guid>http://billbrouwer.wordpress.com/2009/09/30/cuda-octave/</guid>
<description><![CDATA[I&#8217;ve been experimenting with CUDA and OCTAVE; there is at least one company who have produced ]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p>I&#8217;ve been experimenting with CUDA and OCTAVE; there is at least one company who have produced GPU enabled MEX functions. The big difficulty is of course that there is no support for internal floats  within OCTAVE (afaik) and similarly with Matlab. However if one can leave the data and work with it on the device for some time, then there are only two explicit conversions btwn float &#60;-&#62; double needed. Or you could sacrifice some performance in CUDA in return for using doubles. At any rate here&#8217;s an example Makefile, happy experimenting. For this example I gutted the matrix Mul example from the CUDA sdk; the wrapper *oct source code (*cc, really C++ with octave extensions) contains an extern C section which references the cuda kernel (*cu). Don&#8217;t forget to indent instructions under &#8216;all&#8217; with a single tab for make.</p>
<hr />
<p style="font-family:courier new;font-size:12px;">#! /usr/bin/env make<br />
#make file for octfile/cuda<br />
#Mac OSX 10.5.8 intel core 2 duo<br />
#cuda include/lib<br />
CUDA_INC_PATH=/usr/local/cuda/include<br />
CUDA_LIB_PATH=/usr/local/cuda/lib<br />
#octfile compiler<br />
CC=mkoctfile<br />
#basic flags<br />
CFLAGS= -I$(CUDA_INC_PATH)<br />
LDFLAGS= -L$(CUDA_LIB_PATH) -lcudart -lcuda</p>
<p style="font-family:courier new;font-size:12px;">all:<br />
$(CC) $(CFLAGS) -c cudaMatrixMul.cc -o cudaMatrixMul.o<br />
nvcc  -c matMul_kernel.cu -o matMul_kernel.o -Wall<br />
$(CC) $(LDFLAGS) cudaMatrixMul.o matMul_kernel.o -o cudaMatrixMul.oct</p>
<p style="font-family:courier new;font-size:12px;">#clean:<br />
rm -f  cudaMatrixMul.o matMul_kernel.o</p>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[Software per le simulazioni]]></title>
<link>http://raccoltadifferenziata.wordpress.com/2009/09/28/software-per-le-simulazioni/</link>
<pubDate>Mon, 28 Sep 2009 10:42:22 +0000</pubDate>
<dc:creator>andreagasse</dc:creator>
<guid>http://raccoltadifferenziata.wordpress.com/2009/09/28/software-per-le-simulazioni/</guid>
<description><![CDATA[In questo blog vorrei mettere tutta la mia esperienza nell’uso di software opensource per simulazion]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p>In questo blog vorrei mettere tutta la mia esperienza nell’uso di software opensource per simulazioni fisiche in ambito industriale. Prima però voglio fare una carrellata dei software che utilizzerò e di cui farò esempi.</p>
<p><strong>Preprocessing</strong></p>
<p><a title="gmsh" href="http://geuz.org/gmsh/" target="_blank">gmsh</a>: ottimo programma per generare una mesh da zero o da un file stl. Windows e Linux</p>
<p><a title="Salome" href="http://www.salome-platform.org/home/presentation/overview/" target="_blank">Salome</a>: Piattaforma per preprocessing e postprocessing, davvero molte funzioni peccato che il manuale non sia all’altezza. Linux</p>
<p><strong>Postprocessing</strong></p>
<p><a title="Salome" href="http://www.salome-platform.org/home/presentation/overview/" target="_blank">Salome</a>: Piattaforma per preprocessing e postprocessing, davvero molte funzioni peccato che il manuale non sia all’altezza. Linux</p>
<p><a title="paraview" href="http://www.paraview.org/" target="_blank">Paraview</a>: Davvero un ottimo programma di postprocessing, veloce e stabile. Windows e Linux</p>
<p><strong>Computational Fluid Dynamics</strong></p>
<p><a title="Code Saturne" href="http://research.edf.com/the-edf-offers/research-and-development/softwares/code-saturne-107008.html">Code Saturne:</a> Programma per CFD usato in ambito compressibile, davvero completo. Linux<a title="Code Saturne" href="http://research.edf.com/the-edf-offers/research-and-development/softwares/code-saturne-107008.html"><br />
</a></p>
<p><a title="OpenFOAM" href="http://www.opencfd.co.uk/openfoam/" target="_blank">OpenFOAM:</a> Toolbox per la CFD ottimo soprattutto per la flessibilità di utilizzo. Linux<a title="OpenFOAM" href="http://www.opencfd.co.uk/openfoam/" target="_blank"><br />
</a></p>
<p><strong>FEM</strong></p>
<p><a title="Code Aster" href="http://www.code-aster.org/V2/spip.php?rubrique1" target="_blank">Code Aster:</a> Forse il miglior software FEM opensource. Linux e Windows<a title="Code Aster" href="http://www.code-aster.org/V2/spip.php?rubrique1" target="_blank"><br />
</a></p>
<p><a title="Syrthes" href="http://research.edf.com/the-edf-offers/research-and-development/softwares/syrthes-600199.html" target="_blank">Syrthes:</a> Analisi termica non stazionaria con possibilità di utilizzo con Code Saturne. Linux</p>
<p><strong>Multiphysics</strong></p>
<p><a title="Elmer" href="http://www.csc.fi/english/pages/elmer" target="_blank">Elmer</a>: Potenzialmente può fare tutto<strong>. </strong>Linux e Windows</p>
<p><strong>Matematica</strong></p>
<p><a title="Scilab" href="http://www.scilab.org/" target="_blank">Scilab:</a> Programma per il calcolo numerico. Windows e Linux<a title="Scilab" href="http://www.scilab.org/" target="_blank"><br />
</a></p>
<p><a title="Octave" href="http://www.gnu.org/software/octave/" target="_blank">Octave:</a> Clone di Matlab. Linux</p>
<p><a title="maxima" href="http://maxima.sourceforge.net/" target="_blank">Maxima:</a> Programma per il calcolo algebrico. Linux e Windows</p>
<p><em>Ovviamente questi sono quelli che conosco ed utilizzo ce ne sono anche altri</em><strong>!!!</strong></p>
</div>]]></content:encoded>
</item>

</channel>
</rss>
