MATLAB Examples

Known issues


Inconsistencies between symbolic engines

Vector handling The result of these commands depends on the symbolic engine. In R2012b with Maple as the symbolic engine, y is a column vector. In R2013a and later with MuPAD, y is a row vector.

x = polysym('(1+sqrt(5))/2');
x = [x x*1i];
y = vpa(x);
[ 1.6180339887498948482045868343656, 1.6180339887498948482045868343656*i]

Precision The conversion between types is handled differently by the two symbolic engines. Below, x and x(1) are the same for the Maple engine and different for the MuPAD engine. In the latter, x(1) gets the number of digits determined by digits, not the number of digits in x.

x = vpa(pi,40);

We have designed polysym to use digits for the precision:


Deletion of files (Windows 7)

In Windows 7, a file delete command (in, say, BertiniClean) may result in the error: Warning: File not found or permission denied. Try deleting the same file manually. If the result is the error, The action can't be completed because the folder or a file in it is open in another program, you may have a thumbnail caching issue. See for one fix. Unfortunately, it only works in business or pro versions of Windows 7.