# MATLAB: Generating and Visualizing Mother Wavelet of different scale

In MATLAB, there is a function wavefun that outputs both the scaling and wavelet functions. To generate a Daubechies, the following command can be used:

[phi,psi,xval] = wavefun('db40',10);


The question I have is: How to generate a Daubechies at different scales and visualizing them? For instance, generating a similar Daubechies with frequency twice larger.