Constant Ramp

조회 수: 8 (최근 30일)
Syed
Syed 2012년 4월 16일
Is there a way to create a ramp based on an input length in R2010b? There is a Simulink block "Constant Ramp" in R2012 but I couldn't find one in R2012.

채택된 답변

Kaustubha Govind
Kaustubha Govind 2012년 4월 17일
The block does exist in R2010b as well and was part of the Signal Processing Blockset (which has since been repackaged into the DSP System Toolbox). Perhaps you don't have Signal Processing Blockset installed in your R2010b version?
  댓글 수: 2
Syed
Syed 2012년 4월 18일
Thanks, Kaustubha. You are right. I don't have signal processing toolbox! My issue is that I need to move a joint using joint actuator up to an angle that I get from a level 2 S function. This angle changes. When I provide this to the joint actuator, the joint moves it in a step - that is, there is no smooth transition. Any idea how I can accomplish this? I tried giving the joint constant velocity and acceleration but that does not change anything. I've also tried using generalized forced but I couldn't figure out how to stop after the joint has reached that particular angle. Any ideas?
Kaustubha Govind
Kaustubha Govind 2012년 4월 19일
Syed: I'm assuming you're modeling with SimScape? Unfortunately I don't have much experience with physical modeling. I recommend that you post this as a new question so someone with more experience can answer.

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Signal Attributes and Indexing에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by