tag:blogger.com,1999:blog-59909762471892651402024-03-13T21:42:08.726-07:00Dj's MusesDinakar Jayarajanhttp://www.blogger.com/profile/07974114322215411354noreply@blogger.comBlogger6125tag:blogger.com,1999:blog-5990976247189265140.post-53661998295198028272011-12-05T14:08:00.001-08:002013-05-01T11:43:40.797-07:00New Installation of Matlab with missing Toolbox HelpOn many occasions, when I upgraded my Matlab installation, I found that many of the toolbox documentation was missing in the Product Help Browser. Turns out that there is a option in Preferences->Help to determine which documentation to show and which to hide. Choose All or the required toolboxes in this option.Dinakar Jayarajanhttp://www.blogger.com/profile/07974114322215411354noreply@blogger.com0tag:blogger.com,1999:blog-5990976247189265140.post-43742900808589211622009-09-16T12:59:00.001-07:002009-09-16T12:59:48.121-07:00Creating a Plot with labelled axis and title in SAStitle 'Autocorrelated Time Series';<br /> proc sgplot data=a noautolegend;<br /> series x=time y=y / markers; <br /> reg x=time y=y/ lineattrs=(color=black);<br /> run;<br /><br /><br />From SAS documentationDinakar Jayarajanhttp://www.blogger.com/profile/07974114322215411354noreply@blogger.com3tag:blogger.com,1999:blog-5990976247189265140.post-25039867776353199682007-04-10T01:53:00.000-07:002007-04-10T02:46:04.676-07:00Adobe Flash plugin on Firefox / Iceweasel on Debian Etch AMD64 / EM64T PlatformsI had a little trouble setting up the flash plugin on the my new AMD X2 machine running Debian Etch. So I summarise what I did to finally get it working...<br /><br />Firstly,install the necessary 32bit libraries - ia32-libs and ia32-libs-gtk<br /><br />1) Install nspluginwrapper<br /> It is available at <a href="http://packages.debian.org/unstable/utils/nspluginwrapper">http://packages.debian.org/unstable/utils/nspluginwrapper</a> . Download the .deb file and do an dpkg -i nspluginwrapper-xxversion.deb<br /><br />2) Get the Adobe Flash<br /> The tarball is available at <a href="http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash">http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash</a><br /><br />3) (Un)gzip and untar the flash tarball<br /><br />4) Copy the libflashpalyer.so and flashplayer.xpt to /usr/lib/mozilla/plugins<br /><br />5) Run the following command<br /> /usr/lib/nspluginwrapper/x86_64/linux/npconfig -i /usr/lib/mozilla/plugins/libflashplayer.so <br />This will create a file named npwrapper.libflashplayer.so in the /usr/lib/mozilla/plugins directory.<br /><br />6) Create links to the npwrapper.libflashplayer.so file in your firefox / iceweasel plugins directory (typically /usr/lib/firefox/plugins/ and /usr/lib/iceweasel/plugins /)<br /><br />This should do the the trick...Check if the installation is fine by typing about:plugins in the address line. It should list Shockwave Flash as one of the plugins.<br /><br />Now go enjoy YouTubeDinakar Jayarajanhttp://www.blogger.com/profile/07974114322215411354noreply@blogger.com3tag:blogger.com,1999:blog-5990976247189265140.post-22139464079131313782006-10-27T01:05:00.000-07:002013-07-07T07:15:25.133-07:00Variable filenames in Matlab SaveIn Matlab, a command such as<br /> fname = 'foo';<br /> save fname var1<br /><br />will store <span style="font-style: italic;">var1 </span>in <span style="font-style: italic;">fname.mat</span> as against the desired <span style="font-style: italic;">foo.mat<br /><br /></span>A solution to this would be to issues the following two commands<span style="font-style: italic;"><br /> </span>foos = sprintf('save %s var1','foo');<br /> eval(foos)<br /><br />will save <span style="font-style: italic;">var1</span> in <span style="font-style: italic;">foo.mat</span><br /><span style="font-style: italic;"></span>Dinakar Jayarajanhttp://www.blogger.com/profile/07974114322215411354noreply@blogger.com4tag:blogger.com,1999:blog-5990976247189265140.post-46642600833405442512006-10-26T06:25:00.000-07:002013-07-07T07:15:13.368-07:00MosquitoI finally had a week long vacation on account of diwali and ramzan holidays. As I was expecting to spend a significant part of my vacation travelling, I took with me two of the lastest additions to my small library - <span style="font-style: italic;">The Argumentative Indian </span>by<span style="font-style: italic;"> Armartya Sen </span>and<span style="font-style: italic;"> The City of Joy </span>by<span style="font-style: italic;"> Dominique Lapierre. </span>The former is a series of essays by the venerable nobel laureate on the argumentative aspects of Indian culture and history while the latter is touching description of the great city of Calcutta.<br /><br />I started off with Sen's book, but after I finished reading the first two essays, I realised it was too serious a book to read while on vacation. So I set it aside for a cold rainy day and took up the other book which I am, well, yet to put down! A very engrossing account of the life of the downtrodden in a Calcutta slum. I had earlier read another book - <span style="font-style: italic;">Freedom at Midnight </span>by the same author and with <span style="font-style: italic;">City of Joy, </span>Lapierre has entered my list of favorite authors.<br /><br />I leave u with an extract from the book, about an Indian mosquito:<br /><br /><span style="font-style: italic;">Indian mosquitoes have as a distinguishing characteristic the fact that they are minute, make very little noise, and tease you endlessly before making up their minds to bite. The effect is a torture of anticipation which, if it were not Indian, would almost certainly be Chinese.</span><br /><br /><span style="font-style: italic;"></span>How true!Dinakar Jayarajanhttp://www.blogger.com/profile/07974114322215411354noreply@blogger.com0tag:blogger.com,1999:blog-5990976247189265140.post-60705458735727544882005-08-26T11:03:00.000-07:002013-07-07T07:13:17.873-07:00No Time to Vote, then don't Crib!I just returned from an EML on the 'Dilemma of the Indian Nationhood' by Prabhu Chawla of India Today. He was lamenting about the politicians playing the communal card. But the key question is why are the playing it?<br /><br />Well, in my view it is simply because a large segment of the Indian population is more bothered about a Ram Temple in Ayodhya than about their children going to schools. And what about the rest - the affluent middle classes? We dont bother to vote!<br /><br />Polling day is looked upon as a public holiday - sitting at home contently watching the progress of polling on TV rather than actually taking the trouble to walk down (yes, in theory in most cities and towns one can walk) to the booth and vote.<br /><br />Unless and until we bother to vote, can we expect the politicians to take cognisance of us? Why would the politician want to invest in a segment of people who only take and give nothing in return?<br /><br />The BJP realised this very painfully at the end of the last general elections (2005). During their years in power, they had shifted loyalties towards the affluent middle class. India was supposedly shining and the economy booming. But, on the day of the big election, the affluent middle class sat at home watching Prannoy Roy on NDTV, while another huge segment of the population took the trouble to make their voice loud and clear - India Shining or Not, Where is the Ram Temple?<br /><br />So as long as the 'secular' crowd continues to sit comfortably in the comforts of their drawing rooms, the politicians will continue to play the communal card!Dinakar Jayarajanhttp://www.blogger.com/profile/07974114322215411354noreply@blogger.com1