I defined the SNR as follows:
SNR = Signal power density / noise power density$$\rm SNR = \frac{\text{Signal power density}}{\text{Noise power density}}$$
Given noise-free signal, I added the noise to this signal by using the formula above. Now, I am looking for a way to verify if the obtained SNR of the noisy signal is equal to the SNR value that I set when I generated the noise.
Thanks in advance!