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.

correlation

Hi,

Try and play on these commands!

Dz

x=randn(1,1000);
>> y=filter(1,[1 -0.5],x);
>> plot(y)
>> plot(xcorr(x,x))
>> figure
>> plot(y,y)
>> figure
>> plot(xcorr(y,y))
>> y=filter(1,[1 -0.99],x);
>> plot(xcorr(x,x))
>> figure
>> plot(xcorr(y,y))
>> plot(xcorr(x,y))

Saturday, November 3, 2007

Picasa Slide show

Put this code and get the picasa web album in your blog/website.

(div style="background:#000;max-width:511px;margin:0 auto;text-align:center;line-height:0">(div style="width:100%;height:341px;padding:0;margin:0">(iframe style="width:100%;height:100%" src="http://picasaweb.google.com/nabinkm/RHODE_ISLAND/photo#s5126400236504174738" frameBorder=0 scrolling=no>(/iframe>(/div>(a href="http://ajabgajab.blogspot.com/">(img style="border:none;padding:0;margin:0;float:left" src="http://btemplates.googlepages.com/add.gif" title="Thanks!" alt="Picasa Slideshow" />(/a>(a href="http://picasaweb.google.com">(img style="border:none;padding:0;margin:0;float:right" src="http://btemplates.googlepages.com/picasa.png" title="Go to Picasa Web Albums" alt="Picasa Web Albums" />(/a>(a href="http://picasaweb.google.com/nabinkm/RHODE_ISLAND/photo#s5126400236504174738" onclick="window.open(this.href,'Slideshow','type=fullWindow,fullscreen,toolbar=no,menubar=no,location=no,resizable=yes,scrollbars=no,status=no');return false">(img style="border:none;padding:0;margin:0" src="http://btemplates.googlepages.com/fullscreen.gif" title="See in fullscreen [Press F11]" alt="Fullscreen" />(/a>(/div>


************
Replace ( with <