Ваши комментарии

Hi Pavel,


Thank you for your very prompt reply, that solves my question!

Hi Pavel,


Sorry for a potentially dumb question.


Regarding the eps() function in Matlab, it is sometimes useful to return the positive distance from abs(x) to the next largest number of the same precision as x. This is used, for example, in setting the adaptive tolerance level for determining matrix rank. Matlab's algorithm for default tolerance level in double precision is:


s = svd(A);

tol = max(size(A))*eps(max(s));

r = sum(s > tol);


I would like to check what happens to rank of a matrix of interest using this algorithm in arbitrary precision. However, I cannot think of a way to get the analogue of eps(max(s)) above (how to get eps(x) is the problem).


What would be the way to compute it using the toolbox?


Thank you,

Denis

Dear Pavel,


Thank you very much for your very prompt reply! The problem is fixed with the new build.


Best,

Denis



Сервис поддержки клиентов работает на платформе UserEcho