Search All of the Math Forum:
Views expressed in these public forums are not endorsed by
NCTM or The Math Forum.



parameter assessment
Posted:
Feb 10, 2012 12:40 AM


Hi all,
My question is really somewhere in between COMSOL and MATLAB, but hopefully someone will be able to help me. I am using two expressions to calculate a certain parameter, and the objective is to pick the one that under given conditions gives a result, which is a real number and 0<=x<=1. I can figure out how to make MATLAB do the assesment and pick the value calculated from either of the two expressions, but only using buildin routines and somewhat bulky code. Is there any way of doing it with some smart and simple formula, ideally accepting vector inputs?
Any help will be very much appreciated, M.



