Documentation Center

  • Trial Software
  • Product Updates

isreal

Class: param.Continuous
Package: param

Determine if parameter value, minimum and maximum are real

Syntax

isreal(param_obj)

Description

isreal(param_obj) returns true (1) if the Value, Minimum and Maximum properties of param_obj are all real.

Input Arguments

param_obj

A param.Continuous object.

Examples

Determine if the value, maximum and minimum of a parameter are all real.

p= param.Continuous('K',eye(2));
isreal(p)

Because the Value, Minimum and Maximum properties of all parameters in p are all real, isreal returns 1.

See Also

Was this topic helpful?