How to create MATLAB functions for the following unit conversions
14 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
Azriel Faiz Abu Fadzil
le 29 Oct 2017
Commenté : Azriel Faiz Abu Fadzil
le 29 Oct 2017
1. Inches to feet 2. Calories to joules 3. Watts to BTU/hr 4. Meters to miles 5. Miles per hour (mph) to ft/s
0 commentaires
Réponse acceptée
Image Analyst
le 29 Oct 2017
For example:
function feet = InchesToFeet(inches)
feet = inches / 12;
Similar concept for the others, just use different multiplication factors.
Plus de réponses (0)
Voir également
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!