The Math Forum

Search All of the Math Forum:

Views expressed in these public forums are not endorsed by NCTM or The Math Forum.

Math Forum » Discussions » Software » comp.soft-sys.matlab

Notice: We are no longer accepting new posts, but the forums will continue to be readable.

Topic: parameter assessment
Replies: 2   Last Post: Feb 10, 2012 12:16 PM

Advanced Search

Back to Topic List Back to Topic List Jump to Tree View Jump to Tree View   Messages: [ Previous | Next ]

Posts: 1,717
Registered: 11/8/10
Re: parameter assessment
Posted: Feb 10, 2012 2:34 AM
  Click to see the message monospaced in plain text Plain Text   Click to reply to this topic Reply

On 10 Feb., 06:40, "Mateusz Gos" <> wrote:
> 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 build-in 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.

And which value do you want to take if both expressions yield a real
number x with 0<=x<=1 ?

Best wishes

Point your RSS reader here for a feed of the latest messages in this topic.

[Privacy Policy] [Terms of Use]

© The Math Forum at NCTM 1994-2018. All Rights Reserved.