Thursday, February 3, 2011

Code Question, salient.m

Quesiotion:

What does the 3 lines do near the end of the code of salient.m .... what is the purpose of doing this?


features.z = z;
features.p = p;
features.dc = dc;

2 comments:

  1. features is a "data structure" that contains z, p, and dc in one variable. This data structure is the output of the function, so effectively the function returns a single variable that contains all the relevant salient features of the input system. See Matlab help file on structures.

    ReplyDelete

Note: Only a member of this blog may post a comment.