Main Content

toStruct

Convert to structure

Description

example

rcsStruct = toStruct(rcsSig) converts the rcsSignature object rcsSig to a structure rcsStruct. The field names of the returned structure are the same as the property names of the rcsSignature object.

Examples

collapse all

Create a rcsSignature object.

rcsSig = rcsSignature
rcsSig = 
  rcsSignature with properties:

      Pattern: [2x2 double]
      Azimuth: [-180 180]
    Elevation: [2x1 double]
    Frequency: [0 1.0000e+20]

Convert the signature to a structure.

rcsStruct = toStruct(rcsSig)
rcsStruct = struct with fields:
      Pattern: [2x2 double]
      Azimuth: [-180 180]
    Elevation: [2x1 double]
    Frequency: [0 1.0000e+20]

Input Arguments

collapse all

RCS signature, specified as an rcsSignature object.

Output Arguments

collapse all

RCS structure, returned as a structure.

Introduced in R2020b