Jump to content
Snow?
Local
Radar
Cold?
IGNORED

Wind Chill Index


Recommended Posts

Posted
  • Location: Toronto, Ontario, Canada, Altitude: 189 m, Density Altitude: 6 m
  • Weather Preferences: Tropical Cyclone, Blizzard, Thunderstorm, Freezing Cold Day and Heat Wave.
  • Location: Toronto, Ontario, Canada, Altitude: 189 m, Density Altitude: 6 m

Hello. I have created a script on matlab which calculates the Wind Chill Index (its name: Wind_Chill_Index). It uses the first formula of wikipedia: http://en.wikipedia.org/wiki/Wind_chill#North_American_and_UK_wind_chill_index

Please tell me your opinion.

Code:

fprintf ( 1,'Hello, I will calculate the Wind Chill Index of your position.\n' );tiyp=input('Please, give me the temperature of your position (degrees C):');fprintf ( 1, 'Thank you.\n' );wsiyp=input('Please, give me the Wind Speed of your position (Km/h):');fprintf ( 1, 'Thank you.\n' );wci=13.12+0.6215*tiyp-11.37*wsiyp^0.6+0.3965*tiyp*(wsiyp^0.6);fprintf('The Wind Chill Index of your position is %d degrees C\n', wci);

And a simple running:

>> Wind_Chill_IndexHello, I will calculate the Wind Chill Index of your position.Please, give me the temperature of your position (degrees C):23.5Thank you.Please, give me the Wind Speed of your position (Km/h):11Thank you.The Wind Chill Index of your position is 1.907426e+001 degrees C>> 
Edited by Konstantinos
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Chilly with an increasing risk of frost

    Once Monday's band of rain fades, the next few days will be drier. However, it will feel cool, even cold, in the breeze or under gloomy skies, with an increasing risk of frost. Read the full update here

    Netweather forecasts
    Netweather forecasts
    Latest weather updates from Netweather

    Dubai Floods: Another Warning Sign for Desert Regions?

    The flooding in the Middle East desert city of Dubai earlier in the week followed record-breaking rainfall. It doesn't rain very often here like other desert areas, but like the deadly floods in Libya last year showed, these rain events are likely becoming more extreme due to global warming. View the full blog here

    Nick F
    Nick F
    Latest weather updates from Netweather 2

    Week Ahead: Cool but largely dry until later in the week, when low pressure returns

    We keep a chilly northerly flow going through much of the coming week, especially noticeable in the east. Cloud and rain spreading south Monday, but after that, most places largely dry until later in the week, when it looks to turn more showery. Read the full update here

    Netweather forecasts
    Netweather forecasts
    Latest weather updates from Netweather
×
×
  • Create New...