Documentation

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

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

  logical

   1

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


Was this topic helpful?