How to create MATLAB functions for the following unit conversions
조회 수: 14 (최근 30일)
이전 댓글 표시
Azriel Faiz Abu Fadzil
2017년 10월 29일
댓글: Azriel Faiz Abu Fadzil
2017년 10월 29일
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
채택된 답변
Image Analyst
2017년 10월 29일
For example:
function feet = InchesToFeet(inches)
feet = inches / 12;
Similar concept for the others, just use different multiplication factors.
추가 답변 (0개)
참고 항목
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!