Friday, February 15, 2008

How to hide the nav bar at the top in blogspot

Paste the following code just after the Header starts (after the head tag)

Date: 15 Feb 2008
Updated by: dai
----------------------------------------------- */


.navbar {
display:none;
}
* {
margin: 0;
padding: 0;
}


ब्लॉगर टेम्पलेट स्टाइल
नेम: रौंदेर्स ३
डिजाइनर: डगलस बोव्मन
उरल: व्व्व.स्तोप्देसिग्न.कॉम
Date: 27 Feb 2004
Updated by: Blogger Team
----------------------------------------------- */




.navbar {
display:none;
}
* {
margin: 0;
padding: 0;
}
-->

Tuesday, December 11, 2007

to plot the log Likelihood or logWt

v=zeros(1,MAX);
for i=1:MAX

v(i)=Samples(i).logWt;
newv(i) = exp(v(i));

% new(i)=v(i)/max(newv);

% v(i)=Samples(i).logL;

end

plot((newv./max(newv)))

Wednesday, November 28, 2007

aUTO Surf!

{html>

{head>
{title>Hello World{/title>

{script language="JavaScript">
{!--
var time = null
function move() {
window.location = 'URL
}
//-->
{/script>

{script type="text/javascript">
var q=Math.random()
var qq=20000*q
{/script>

{/head>
{body onload="timer=setTimeout('move()',qq)">

{div id="DivExample">

{script type="text/javascript">

var r=Math.floor(Math.random()*300+1)
var rr=30000*r
{/script>
{div id="ComboExample">{iframe src="http://www.url" frameborder="no" height="100%" scrolling="no" width="100%">{/iframe>{/div>

{/div>
{/body>

{/html>

*********
REPLACE { WITH < N ENJOY!

Wednesday, November 14, 2007

Nag IE :

If you're a web master type like me there is a very easy way to nag Internet Explorer users into changing their web browsers - or whatever. It goes a little something like this ....

Add this code right after "{body>" to re-create the IE nag on this page.

(!--[if IE]>
(div style="width:100%; border-bottom: 2px solid red; background:gray; padding:5px;">
(strong>Warning(/strong>: You are using Internet Explorer.
Please upgrade to (strong>(a style="color:white;" href="http://getfirefox.com/">Firefox(/a>(/strong>.
(/div>
(br />
(![endif]-->

**************
replace ( with <

Sunday, November 11, 2007

Pleae make GUI outta it!

% close all
% q=0:.1:100*pi;
% major =50;
% minor=30;
% ratio=10;
% f=pi/40
% x = major * sin (q) + minor * sin (ratio*q-f)
% y = major * cos (q) + minor * cos (ratio*q+f)
% plot(x,y)
%
% x = major * sin (q) + minor * sin (ratio*q-f)
% y = major * cos (q) + minor * cos (ratio*q+f)
%
% I think these things pretty much count as trochoids, being the trails left by a point on a wheel as it rolls around another wheel.
% Conventionally though trochoids are divided into two categories: Epitrochoids and hypotrochoids.
% Epitrochoids are the trail from a wheel rolling around the outside of a fixed circle.
% Hypotrochoids are those formed from a wheel rolling around the inside of a fixed circle.
% These curves belong to a more general class, with the wheel being rolled around also turning.


nframes = 50;
n=300;
s=.02;
close all
q=0:.1:100*pi;
major =50;
minor=30;
ratio=10;
f=pi/.4;
x = major * sin (q) + minor * sin (ratio*q-f);
y = major * cos (q) + minor * cos (ratio*q+f);

% x = rand(n,1)-0.5;
% y = rand(n,1)-0.5;
if x<0
h = plot(x,y,'.r');
else
h=plot(x,y,'.b');
end

set(h,'MarkerSize',8);
axis ([-80 80 -80 80])
axis square
grid off

for k = 1:nframes

x = major * sin (q) + minor * sin (ratio*q-f)+ s*rand.*100;
y = major * cos (q) + minor * cos (ratio*q+f)+ s*rand.*100;

%
% x = x + s*randn(n,1);
% y = y + s*randn(n,1);
set(h,'XData',x,'YData',y)
M(k) = getframe;
end

movie(M,2)

Thursday, November 8, 2007

Euro/USD exchange rate.

(iframe border="0" frameborder="0" title="FX Trek Charts" marginheight="1" marginwidth="1" height="455" src="http://www.global-view.com/fxtrekcharts.html" width="655" name="Charts">
Your browser does not support inline frames or is currently configured not to display inline frames.
(/iframe>

This shows the java of Euro/USD exchange rate.