I was beating my day because the index was not being printed on the report.
Later, after a good number of search(es), I found that this is interesting feature of MikTex 2.9
The problem was solved by changing %bm to %tm in the MakeIndex option.
Here is what I did:
Go to build > Define Output Profiles (Alt+F7)
Change %bm to %tm in the MakeIndex option.
Probably same thing needs to happen with Bibtex (if problem persists).
Edit:
I am really glad that you are finding it useful. Happy Texing!
Monday, November 29, 2010
Saturday, November 27, 2010
Entropy Plot for a fair coin toss
Entropy Plot for a fair coin toss
(Yes png as pdflatex does not take eps or pdf format.)
...
(Yes png as pdflatex does not take eps or pdf format.)
...
Friday, November 26, 2010
Getting rid of un-necessary white spaces in matlab figures
Matlab creates a huge white space around the picture when we do "saveas figure".
There is workaround:
There is workaround:
Thursday, November 25, 2010
Matlab codes in Latex
Use the package (mcode.sty) from:
http://www.mathworks.com/matlabcentral/fileexchange/8015-m-code-latex-package
add:
\usepackage[options]{mcode}
in the "header"
follow:
http://my.opera.com/locksley90/blog/2008/02/25/how-to-include-matlab-source-code-in-a-latex-document
Here is what I did:
This creates a box, pushes everything inside the box (ugly though) and forces next item to new page
\lstinputlisting[label=lst:run_main,breaklines=true, caption={\mcode{run_main.m}}]{G:/academy/random-s-circle/jan14-refine/run_main.m}
\clearpage
http://www.mathworks.com/matlabcentral/fileexchange/8015-m-code-latex-package
add:
\usepackage[options]{mcode}
in the "header"
follow:
http://my.opera.com/locksley90/blog/2008/02/25/how-to-include-matlab-source-code-in-a-latex-document
Here is what I did:
This creates a box, pushes everything inside the box (ugly though) and forces next item to new page
\lstinputlisting[label=lst:run_main,breaklines=true, caption={\mcode{run_main.m}}]{G:/academy/random-s-circle/jan14-refine/run_main.m}
\clearpage
Wednesday, November 24, 2010
Wednesday, October 13, 2010
Creating movie in matlab
Creating movie in matlab is not so fun. I would suggest saving each picture and using gimp to create the gif instead.
This was taken from
http://www.math.siu.edu/matlab/tutorial2.pdf
This was taken from
http://www.math.siu.edu/matlab/tutorial2.pdf
Thursday, September 30, 2010
Writing Equations in Blogspot Blogs
I can write equations in blogspot using latex command: $1+x^2$.
The Function \[\frac{sin(x)}{x}\] .
Since I did not include the p tag to it, it was not interpreted.
http://www.codecogs.com/pages/forums/pagegen.php?id=1675
However, If I add the p html-tag, it will appear as:
The Function \[\frac{sin(x)}{x}\] .
One can also type the latex and paste in the blog posts...
http://codecogs.izyba.com/latex/eqneditor.php
Just remember to put
in the post
I am not sure how to change the dark background...
Tuesday, August 24, 2010
Tex on matlab figure axis labels
It is highly desirable to have tex characters into matlab figures. It is not one to one. But works!
The following is very good resource:
http://www.mathworks.com/access/helpdesk/help/techdoc/creating_plots/f0-4741.html
The following is very good resource:
http://www.mathworks.com/access/helpdesk/help/techdoc/creating_plots/f0-4741.html
Thursday, April 15, 2010
save figure as per iteration in matlab
I wanted to save the files in jpeg format as I go...
The following helped me to save it in myplot1.jpeg format.
The following helped me to save it in myplot1.jpeg format.
Wednesday, April 14, 2010
Saturday, April 10, 2010
Unix commands inside matlab: cp, mkdir, rm etc
Implementing the unix commands in the matlab is so easy.
I wanted to automate the file organizing process.
A very simple code combined with http://usefulcodes.blogspot.com/2010/03/recursive-action-into-folders.html is going to work great!
I wanted to automate the file organizing process.
A very simple code combined with http://usefulcodes.blogspot.com/2010/03/recursive-action-into-folders.html is going to work great!
Sunday, April 4, 2010
Nested Function inside function
I had never done a nested function inside another.
It helps to avoid the necessity of having more files as m function. Useful when the function is only called by the same file.
However, the main file itself needs to be saved as function instead of script.
Wednesday, March 24, 2010
recursive action into folders
I wanted to do mcc to all the files inside the folder... you know automate it.
This one does it!
This one does it!
Monday, March 22, 2010
Saturday, March 20, 2010
automated direcotry listing in matlab
Very simple program for listing the file names as I had to monitor the files from many folders for repetitive works.
Thursday, March 18, 2010
Wednesday, March 17, 2010
Upgrading Texnic Center
Upgrading Texnic Center can be tricky.
When I updated it from previous version, I came across problems.
The MikTex was updated from 2.5 to 2.8. And, I ignorantly had uninstalled the 2.5 version.
When I updated it from previous version, I came across problems.
The MikTex was updated from 2.5 to 2.8. And, I ignorantly had uninstalled the 2.5 version.
Automated Code execution in different folders as per iteration and value
I wanted to automate the code execution in different folder as per iteration.
This works!
This works!
Tuesday, March 16, 2010
Check if the data is already in there
I wanted to test if my new coming data was already contained in the set.
This is very easy!
This is very easy!
Monday, March 15, 2010
Load the matfiles as per iteration
I save the mat files as per iteration.
This is handy just in case your program is killed.
For the post analysis, I wrote the following to load the .mat file/data.
It loads 1.mat...
This is handy just in case your program is killed.
For the post analysis, I wrote the following to load the .mat file/data.
It loads 1.mat...
Sunday, February 28, 2010
Wednesday, January 20, 2010
Matlab Keyboard Compatible with Windows Keyboard
Play with Matlab compatible to Windows keyboard.
Shortcuts not working?
Check with preferences...
Shortcuts not working?
Check with preferences...
Friday, January 8, 2010
Setting Path Straight in Matlab
Setting Correct Path in Matlab can be tricky as your program evolves to have similar folder structures and filenames.
Just learned how to set the path from Shortcut... wanted to share.
The following code helped me to set the path before I start the functions running...
Just learned how to set the path from Shortcut... wanted to share.
The following code helped me to set the path before I start the functions running...
Subscribe to:
Posts (Atom)