0
Lokið
As it is done to work with subs ?
clc
clear all;
%addpath('.....................\Multiprecision Computing Toolbox\')
syms A B C;
T=A+B*C;
mp.Digits(20);
a=37456795;
b=576879678;
c=7888797;
t=subs(T,{'A','B','C'},{a,b,c})
now I want a b c t are multiple precision
Customer support service by UserEcho
The 'subs' is part of Symbolic Math Toolbox and it requires input to be of 'sym' type.
To use it with multiprecision toolbox, please use explicit conversion function: mp2sym.
So that the code becomes:
Reverse conversion can be done with sym2mp function.
Let me know if this fixes the issue.