Math Sofware Related Questions
This is an collection of Answers to Frequently Asked Questions for
the UC Davis Math Dept.
How do I get started using matlab?
The makers of matlab, Mathworks, have a
Getting Started
page for matlab
[mw]
How do I use random .m files with maple?
Make a directory in your homedir to contain your m files, say... 'maple'
mkdir maple
download the m file and place it into that dir
create or edit a .mapleinit file in your homedir so that it contains something like:
#
read(`/h/zjohnson/maple/kronprod.m`);
to read kronprod.m and make it available for use in maple.
[zdj]
I get the error "The mathematica fonts are not properly installed in your system." What is wrong?
This means that your current X session cannot
find the fonts needed to run Mathematica.
This is usually due to a fontserver being
down or not defined. You can almost always get
it to work by running:
xset fp+ tcp/fs1.math.ucdavis.edu:7100
xset fp+ tcp/fs2.math.ucdavis.edu:7100
xset fp+ tcp/fs3.math.ucdavis.edu:7100
xset fp rehash
before starting mathematica.
If you want to change the font path permanently for all users add
the above comamnds to /etc/X11/gdm/Init
[mw]
What campus labs have the MyMathlab plugins installed?
The following campus labs have MyMathlab plugins installed:
- 1131 Meyer Hall
- 177 Memorial Union
- 75 Hutchinson
- 163 Shields
A schedule for the labs can be found at:
Classroom Lab Management
[ls]
What do the load, save and diary commands in MatLab do?
My most common problem is confusion between the following commands:
diary
Diary will append a log of your session to a text file, this will show all the work
done, is human readable. The default file is calleddiary, but you can name a file
and it will append to it. Matlab can NOT read this file.
load/save
Load/Save will save all the memory contents to a binary file, that completely
overwrites the previous contents of the file. This file will contain all the array
and variables in memory. It does NOT contain a record of work done, commands used
etc. The default file is matlab.mat, but can be any file.
The most popular problem I see is students running:
>> diary matlab.mat
This appends the log to a binary matlab file, which them makes
it unreadable by load/save, but can be fixed by emailing help@math.
load/save diary, foo.tex, or similiar
Doesn't work, only files "saved" can be "loaded", any file "saved"
to will delete any previous contents.
[admins]
Index
|