Dear all,
A simple question, I would like to define a parameter as the minimum of two other parameters already defined. I have tried different things. I give my last try without success:
$ a1 = 1
$ a2 = 2
$ a3 = Real MATC "min(a1 a2)"
What would be the correct way to get the minimum?
Best,
Frederic
MATC usage - minimum between two parameters
-
- Posts: 42
- Joined: 23 May 2012, 05:26
- Antispam: Yes
-
- Site Admin
- Posts: 4812
- Joined: 22 Aug 2009, 11:57
- Antispam: Yes
- Location: Espoo, Finland
- Contact:
Re: MATC usage - minimum between two parameters
$a3=min(a1 a2)
Tip: "matc" can be launched also from command line and there you can try things out. (use ^Z is needed for exit)
Tip: "matc" can be launched also from command line and there you can try things out. (use ^Z is needed for exit)