Error when Launching MATLAB in Linux

Posted on Dec 04, 2012 in Computer Science • Tagged with Linux, programming, MATLAB

Things under legendu.net/outdated are outdated technologies that the author does not plan to update any more. Please look for better alternatives.

See here for more information.


Sending Email in MATLAB

Posted on Dec 04, 2012 in Computer Science • Tagged with MATLAB, programming, email

Things under legendu.net/outdated are outdated technologies that the author does not plan to update any more. Please look for better alternatives.

It is very easy to send emails in MATLAB. To do this, you can just call sendmail. However, usually you need to set preference for sending emails …


Continue reading

Special Functions in MATLAB

Posted on Dec 04, 2012 in Computer Science • Tagged with function, programming, MATLAB

Things under legendu.net/outdated are outdated technologies that the author does not plan to update any more. Please look for better alternatives.

  1. sin calculates sine of arguments in radian while sind calculates sine of arguments in degrees; asin calculates inverse of sine resulting in radian while asind calculates inverse …


Continue reading

MATLAB for Statisticians

Posted on Dec 04, 2012 in Computer Science • Tagged with statistics, programming, MATLAB

Things under legendu.net/outdated are outdated technologies that the author does not plan to update any more. Please look for better alternatives.

  1. There are generally two ways to generate uniform and normal random numbers in MATLAB. One ways is to use [functions] randn (for standard normal distribution) and rand …


Continue reading

R System and Configurations

Posted on Nov 21, 2012 in Computer Science • Tagged with R, configuration, programming, system

Things under legendu.net/outdated are outdated technologies that the author does not plan to update any more. Please look for better alternatives.

  1. To allow opening R from a directory in R in Windows system, we can modify the registry. More specifically, we can add a command name (to be …


Continue reading

Load User-written Script into Ruby

Posted on Aug 25, 2012 in Computer Science • Tagged with search path, require, programming, load, package, Ruby

Things under legendu.net/outdated are outdated technologies that the author does not plan to update any more. Please look for better alternatives.

By default the current working directoly is not in the search path of Ruby. To load a user-written script named "script.rb" into Ruby, you can use …


Continue reading