Note: This page has been translated by MathWorks. Please click here

To view all translated materals including this page, select Japan from the country navigator on the bottom of this page.

To view all translated materals including this page, select Japan from the country navigator on the bottom of this page.

DSP data parameter information

`Hs = dspdata.`

* dataobj*(input1,...)

The use of `dspdata.`

is
not recommended. Use the appropriate function interface instead.`dataobj`

`Hs = dspdata.`

returns
a * dataobj*(input1,...)

`dspdata`

object `Hs`

of type `dataobj`

`dataobj`

`dataobj`

`dataobj`

You must use a * dataobj* with

`dspdata`

.A data object, * dataobj*, for

`dspdata`

specifies
the type of data stored in the object. Available `dataobj`

`dspdata`

are shown below.dspdata.dataobj | Description | Corresponding Functions |
---|---|---|

Mean-square spectrum data (power) | ||

Power spectral density data (power/frequency) | ||

Pseudospectrum data (power) |

For more information on each * dataobj* type,
use the syntax

`help dspdata.`

`dataobj`

Methods provide ways of performing functions directly on your `dspdata`

object.
You can apply these methods directly on the variable you assigned
to your `dspdata`

object.

Method | Description |
---|---|

This method applies only to
| |

| |

| |

The
spectrum is assumed to be from a real signal. That is, | |

| |

The
spectrum is assumed to be from a real signal. That is, | |

Displays the data graphically in the current figure window. For
a For a For a | |

This method applies only to
| |

If
your data is nonuniformly sampled, converting from | |

If
your data is nonuniformly sampled, converting from |

For more information on each method, use the syntax ```
help
dspdata/
```

* method* at the MATLAB prompt.

`dspdata`

ObjectThe plot method displays the `dspdata`

object
spectrum in a separate figure window.

`dspdata`

ObjectAfter you create a `dspdata`

object, you can
use any of the methods in the table above to modify the object properties.
For example, to change an object, `Hs`

, from two-sided
to one-sided, use `onesided(Hs)`

.

See the `dspdata.msspectrum`

, `dspdata.psd`

, and `dspdata.pseudospectrum`

reference
pages for specific examples.

Was this topic helpful?