PDA

View Full Version : apostrophe in MATLAB


miguelan
January 5th, 2008, 10:43 AM
I have installed Matlab version 7.0 on my Laptop. My laptop is an Acer Aspire 5630. I can run Matlab without problems. However, when using the desktop and trying to type an expression using an apostrophe, such as rand('state', 0), taking the transpose of a matrix, or whatever, then the symbol displayed is actually not an apostrophe, but something similar that Matlab does not recognize. Here below is an example of what it appears on my screen:

>> rand(´state´, 0);
??? rand(´state´, 0);
|
Error: The input character is not valid in MATLAB statements or expressions.

I've tried changing the settings of my keyboard, from US intl, to US, etc., but I did not succeed fixing the problem. Can anyone help me? It seems a quite silly problem, but I do not manage to fix it.

Miguel

PS: when running Matlab with the option -nodesktop, i.e. from a terminal, then I can write the apostrophes correctly and Matlab recognizes them.

i2000s
January 11th, 2008, 12:05 PM
sorry, I 'VE no ideal about ur problem. I'm a absolute newer here :)
Would U mind tell me how can I get a free Matlab in Ubuntu?
thanx!

miguelan
January 20th, 2008, 01:33 PM
Well, MATLAB is not free for Linux. You should get a license from Mathworks. MATLAB is not free software.