Effacer les filtres
Effacer les filtres

How to change 2D wave spectrum unit (from m^2s/rad to m^2/(Hz degree)

6 vues (au cours des 30 derniers jours)
giulia cervelli
giulia cervelli le 16 Juin 2020
Commenté : giulia cervelli le 16 Juin 2020
hey matlab users,
I need to change the unit of my 2D wave spectrum from m^2s/rad to m^2/(Hz degree) but i don't know how do it!
if I divide for 2*pi I can convert s/rad to 1/Hz but in this way i obtain m^2/Hz ad not m^2/(Hz degree). How can I do it correctly?
Thank you all for your help!!

Réponses (1)

Rik
Rik le 16 Juin 2020
This isn't really a Matlab question, but let's go for it:
  • m^2 is staying, so nothing needs to be done here
  • Hz is 1/s, so s is 1/Hz, so no factor required
  • 1/rad is 1/(360/2pi degrees), so that requires a factor of pi/180
So multiplying your data by pi/180 will convert m^2s/rad to m^2/(Hz degree).
  1 commentaire
giulia cervelli
giulia cervelli le 16 Juin 2020
I really do appreciate his immediate, and very kind response.
thanks.

Connectez-vous pour commenter.

Catégories

En savoir plus sur Weather and Atmospheric Science dans Help Center et File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by