Note: This discussion is about an older version of the COMSOL Multiphysics® software. The information provided may be out of date.

Discussion Closed This discussion was created more than 6 months ago and has been closed. To start a new discussion with a link back to this one, click here.

Ramp and Step function

Please login with a confirmed email address before reporting spam

Hi all,

Does the step1(t[1/s]-10) means that function value becomes 1 after 10 seconds on condition that the step1 is defined as the step function?
Does rm3(t[1/s]-10) means that the function value will increase after 10 seconds with the slope of 1 if the rm3 is defined as the ramp function and the slope setted to be 1?

Thanks all.

3 Replies Last Post 8 lug 2014, 06:24 GMT-4

Please login with a confirmed email address before reporting spam

Posted: 1 decade ago 8 lug 2014, 03:25 GMT-4
You are right except for the units. You have put [1/s] which equals [Hz]. So it will do the things that you mention after 10 Hz instead of after 10 s.
You are right except for the units. You have put [1/s] which equals [Hz]. So it will do the things that you mention after 10 Hz instead of after 10 s.

Please login with a confirmed email address before reporting spam

Posted: 1 decade ago 8 lug 2014, 06:22 GMT-4

if I want to using the 1[V] *step1(t[1/s]-10) to realize the function of increasing to 1[V] after 10 seconds rather than 10 Hz , how could I change the formula? If I put the formula 1[V]*step1(t[s]-10) , it says there is unexpected units.

Thank you very much for your reply
HUANG BO
if I want to using the 1[V] *step1(t[1/s]-10) to realize the function of increasing to 1[V] after 10 seconds rather than 10 Hz , how could I change the formula? If I put the formula 1[V]*step1(t[s]-10) , it says there is unexpected units. Thank you very much for your reply HUANG BO

Please login with a confirmed email address before reporting spam

Posted: 1 decade ago 8 lug 2014, 06:24 GMT-4
Oh yes, sorry, t is already in seconds. So then the way you put it is correct I think.
Oh yes, sorry, t is already in seconds. So then the way you put it is correct I think.

Note that while COMSOL employees may participate in the discussion forum, COMSOL® software users who are on-subscription should submit their questions via the Support Center for a more comprehensive response from the Technical Support team.