Contents

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

expand all

Determine if Parameter Value and Minimum/Maximum Bounds are Real

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

     1

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

Was this topic helpful?