Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function temp = tempConv(d, cf)
- if(cf == 'C')
- temp = (d-32)*(5/9)
- else
- temp = (d-32)/1.8
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement