I want to convert data(double precision,15 decimal points) to data of another type(quadruple precision,34 decimal points). So, I used vpa
function like this:
data = sin(2*pi*frequency*time);
quad_data = vpa(data,34);
But, the type of the result is sym
, not double
. And when I checked each cell of the sym
type data, 1x1 sym
was created in each cell. I tried to use fft
function using 'quad_data', but it didn't work. Is there any solution that I can change the decimal point of double type from 15 to 34?