Products & Services Solutions Academia Support User Community Company

Learn more about System Identification Toolbox   

realdata - Determine whether iddata is based on real-valued signals

Syntax

realdata(data)

Description

realdata returns 1 if

Otherwise realdata returns 0.

Notice the difference with isreal:

load iddata1
isreal(z1); % returns 1
zf = fft(z1);
isreal(zf) % returns 0
realdata(zf) % returns 1
zf = complex(zf) % adds negative frequencies to zf
realdata(zf) % still returns 1
  


Recommended Products

Includes the most popular MATLAB recorded presentations with Q&A sessions led by MATLAB experts.

 © 1984-2009- The MathWorks, Inc.    -   Site Help   -   Patents   -   Trademarks   -   Privacy Policy   -   Preventing Piracy   -   RSS