필터 지우기
필터 지우기

Info

이 질문은 마감되었습니다. 편집하거나 답변을 올리려면 질문을 다시 여십시오.

If Block erroneous output

조회 수: 1 (최근 30일)
Rahul
Rahul 2013년 1월 21일
마감: MATLAB Answer Bot 2021년 8월 20일
Refer to the image at the following link attached for understanding the question. Image: http://www5.picturepush.com/photo/a/12014483/img/12014483.jpg
There are 2 inputs: 1.Speed_Pulse 2.PreviousSpeedPulse_1_old
The second input is nothing but the first input delayed in time by 1 time instant using the unit delay block. The 'If' block compares the 2 inputs. If the input 'u1' (Speed_Pulse) is less than 'u2'(PreviousSpeedPulse_1_old) then, in the 'if action' block, the value 64 is simply added to u1 (Speed_Pulse) value. Else, the input Speed_Pulse is directly transmitted to the output via the 'else action' block. One of the outputs is transmitted to 'Temp' (depending on the 'if-else') using the 'Merge' block.
Now refer to following table of inputs and outputs. Table at this link: http://img521.imageshack.us/img521/8684/tablewy.png
The values are wrong for instant 4 and instant 7. Any idea what is going wrong?
  댓글 수: 1
Rahul
Rahul 2013년 1월 21일
Links Corrected. Any idea anyone?

답변 (0개)

이 질문은 마감되었습니다.

태그

제품

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by