how to compare 2 or more RPM value
조회 수: 2 (최근 30일)
이전 댓글 표시
i designed a dc motor model in simulink and obtained output as RPM. Now i need to compare multiple RPM and obtain the output as RPM of lowest RPM.(For wxaple 3 RPM value 1000, 1200, 1500 my output should be 1000 ) the value will varies...
댓글 수: 0
답변 (1개)
Iain
2014년 2월 24일
minimum_value = min([45 234 54 3124 745 124 2356 eps(1)]);
second_min_value = min(0:100);
minimum_minimum = min([ minimum_value second_min_value]);
0 is the min of the numbers I put....
댓글 수: 0
참고 항목
카테고리
Help Center 및 File Exchange에서 Specialized Power Systems에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!