MATLAB COMPILER RELEASE NOTES Uživatelská příručka Strana 229

  • Stažení
  • Přidat do mých příruček
  • Tisk
  • Strana
    / 716
  • Tabulka s obsahem
  • KNIHY
  • Hodnocené. / 5. Na základě hodnocení zákazníků
Zobrazit stránku 228
Mathematics
7-19
Functionality What Happens
When You
Use This
Functionality
Use This Instead Compatibility Considerations
Passing mixed
orientation input
vectors to besselh,
besseli, besselj,
besselk, and
bessely. For example,
passing a row vector
followed by a column
vector:
J= besselj(rowNu, colZ)
or passing a column
vector followed by a
row vector:
J= besselj(colNu, rowZ)
Warns Construct the inputs with
ndgrid or meshgrid first.
Alternatively, you can pass
a function handle and the
mixed orientation vectors to
bsxfun.
Modify all instances that
pass mixed orientation
vectors. You can modify
your code in one of two
ways:
Call meshgrid or
ndgrid to construct the
full grid first.
[nu,Z]= meshgrid(rowNu, ColZ);
J= besselj(nu, Z);
Pass a function
handle and the mixed
orientation vectors to
bsxfun. For example,
if your existing code
passes a row vector
followed by a column
vector, make the
following change:
J= bsxfun(@besselj,
rowNu, colZ);or,
if your code passes a
column vector followed
by a row vector, make
the following change:
J= bsxfun(@besselj,
colNu', rowZ.');
Zobrazit stránku 228
1 2 ... 224 225 226 227 228 229 230 231 232 233 234 ... 715 716

Komentáře k této Příručce

Žádné komentáře