Main Content

toStruct

Convert to structure

Since R2020b

Description

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.

example

Examples

collapse all

Create a rcsSignature object.

rcsSig = rcsSignature
rcsSig = 
  rcsSignature with properties:

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

Convert the signature to a structure.

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

Input Arguments

collapse all

RCS signature, specified as an rcsSignature object.

Output Arguments

collapse all

RCS structure, returned as a structure.

Version History

Introduced in R2020b