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.
How do I write three functions to one in comsol?
Posted 20.07.2013, 22:14 GMT-4 Low-Frequency Electromagnetics Version 4.3b 2 Replies
Please login with a confirmed email address before reporting spam
Excuse me. I want to ask a question. when 0=<t<=1, the function is f(t). When 1<t<=2, the function is g(t). When 2<t<=3, the function is h(t). How can the three functions be written one? I write "f(t)*(t>=0&t<=1)+g(t)*(t>1&t<=2)+h(t)*(t>2&t<=3)", but it is wrong. What shoud I do?
Best your wishes,
Xin Wei
Best your wishes,
Xin Wei
2 Replies Last Post 21.07.2013, 19:01 GMT-4