Docs @ Psychtoolbox Wiki : Expand

Search PTB Function help:
homepsychtoolbox.orgpage updateslogin

Expand

PsychtoolboxPsychSignal

B=Expand(A,horizontalFactor,[verticalFactor])

Expands the ND matrix A by cell replication, and returns the result.
If the vertical scale factor is omitted, it is assumed to be
the same as the horizontal. Note that the horizontal-before-vertical
ordering of arguments is consistent with image processing, but contrary
to Matlab's rows-before-columns convention.

We use "Tony's Trick" to replicate a vector, as explained
in MathWorks Matlab Technote 1109, section 4.

Also see ScaleRect.m




Path   Retrieve current version from GitHub | View changelog
Psychtoolbox/PsychSignal/Expand.m


Valid XHTML 1.0 Transitional :: Valid CSS :: Powered by WikkaWiki
Page was generated in 0.0264 seconds