Advertisement
Guest User

Matlab is gay

a guest
Apr 6th, 2020
209
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
MatLab 0.10 KB | None | 0 0
  1. function temp = tempConv(d, cf)
  2. if(cf == 'C')
  3. temp = (d-32)*(5/9)
  4. else
  5. temp = (d-32)/1.8
  6. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement