MATLAB is a powerful piece of programming language used. However, since it runs on machine, there is always a finite level of precision, no matter how accurate the program is being developed.
For instance, a positive-definite matrix, A, is created with several repmat and permute commands, the symmetry of the entries within the matrix may no longer be exact. This will produce an error indicating that A is not a positive-definite matrix.
One of the way, which is also a very easy method, is to get rid of the slightest discrepancy between the symmetrical entry; for example, A(10,1) should be of the same value as A(1,10). To do so, simply compute the following command after obtaining A.
A = 0.5*(A + AT);
In this way, it ensures that the respective entries in the matrices are exactly symmetrical! A simply tip, but it’s worthwhile using it as a practice.
The irresistible flow of the mucus, coupled with blocked ears and stuffed nose, provides a good reason enough for me to go home. While I would prefer to stay on and continue with my ASP.NET 2.0 programming on the website, but I suppose it means risking my fellow colleagues to be infected with my tenacious blast of viruses and germs; particularly the office is an enclosed air-conditioned environment.
Back home now, I simply logged on to continue with my work – but of course breathing fresh air; which is kind of a pleasure.
Thanks to Akismet, once again. To date, the Akismet plugin has, so far, caught 170 spam messages, or rather comments. The probability of its correctness remain 100%, as there is so far no “negative-positive” situation yet.
So, come on, spam visitors! You can do better than that! Spam my sites with your useless, sluggish comments.
*yawn*… This seldom happens, but I am feeling so sleepy right now. An option is just to laze back on my chair and doze off, or alternatively, make intoxicate myself with a cup of coffee. The latter was chosen.
Nonetheless, I have done quite a lot in the morning, so I don’t feel that guilty if I slow down a little in the afternoon. Afterall, I believe my momentum will begin to pick up soon. By then, it will be evening and it’s time to go home.
Has anyone heard of Milo, a chocolate drink, actually causes sore throat? Well, at least it did for me this morning.
Earlier, I was having breakfast at McDonald’s and in the process of ordering a hot drink, I changed the coffee / tea to Milo instead; I have been drinking a lot of coffee over the last couple of days and tea is recommended to be avoided as much as possible due to the medication I was taking (since I fell sick).
A couple of weeks ago, I mentioned about picking up ASP.NET 2.0 Programming for work purposes. I came to find one of the books, Professional ASP.NET 2.0 Databases – by Thiru Thangarathinam to be extremely useful! Because of the restriction of the timeframe placed on loan books from the National Library (in Singapore), any subsequent renewals cost $0.50 per book.
I do not have a clue since when was this regulation implemented, but it left me not choice but to renew and pay the bill.
The renewal was only for three weeks, which eventually expired last Friday. Therefore, I tried to renew the book, as I was desperate to hold on to it. This time, it refused! Hence, I have to return it.
There are several other singers and celebrities out there, but I supposed this particular one captures my attention – at least for the moment; she is Avril Lavigne.
Despite receiving critics from many others, e.g. accused of ripping songs; but I do like some of them, such as Girlfriend and When You’re Gone, particularly the latter.
Avril has a rather unique enchanting voice; which is quite captivating when I listen on, but others may beg to differ. Anyway, here is Avril Lavigne.
|Thumbnail gallery plugin by SoftSift|