Friday, June 20, 2008

Reading Formatted Text in Matlab

Have you ever tried to read formatted text in matlab without effort? i do, bot now, there is a blog posting that handles this issue. Try it out right here.

Have a while!

Wednesday, June 18, 2008

advanced use of reshape

on this posting i explained how to use reshape. Now i want to share with you a good idea i had today.

The idea is to use reshape to acces some part of a vector. Lets say, A is a vector with 35040 entries (365 days, 24 hours, 4 values per hour... 4 values per hour one year long). If you want to make a sum of A for every day, you can do that with a for-loop. this isn't very fast. Instead of that, you can use reshape:

B=reshape(A,24*4,[]);

B is a 96 (one day) x 365 Matrix. Then, you can just make sum(B) and you have the sum of all days into a vector without using any loop!

SETAXES: A matlab function to change axes parameters. Best to add latex commands to the ticks in Matlab

Thie file SETAXES (by Mukhtar Ullah)is prety cool. It allows you to introduce LaTeX commands into the ticks of a plot, very important if you plan to make good-looking plots.

matlab advanced plots

in this post you can find information über advanced plots with matlab. here is a preview of the plots:

pic lens ... WOW

prety cool add-ons for firefox i allways use:

www.piclens.com
tab catalog

Latex Symbols (for matlab)

Here is the complete list of Latex Symbols. You can use this symbols in matlab as well.