Hi Rui,
To calculate any signal bandwidth, you can use the "obw" function to calculate the occupied bandwidth. The "powerbw" function can be used to calculate the Power bandwidth of the signal.
For more details, please follow the below documentation links.
Hope it helps!!