23.12.2012 Views

MATLAB Function Reference Volume 1: A - E - Bad Request

MATLAB Function Reference Volume 1: A - E - Bad Request

MATLAB Function Reference Volume 1: A - E - Bad Request

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

2asin, asinh<br />

Purpose Inverse sine and inverse hyperbolic sine<br />

Syntax Y = asin(X)<br />

Y = asinh(X)<br />

asin, asinh<br />

Description The asin and asinh functions operate element-wise on arrays. The functions’<br />

domains and ranges include complex values. All angles are in radians.<br />

Y = asin(X) returns the inverse sine (arcsine) for each element of X. For real<br />

elements of X in the domain [ – 11 , ] , asin(X) is in the range [ – π⁄<br />

2,<br />

π⁄ 2]<br />

. For<br />

real elements of x outside the range [ – 11 , ] , asin(X) is complex.<br />

Y = asinh(X) returns the inverse hyperbolic sine for each element of X.<br />

Examples Graph the inverse sine function over the domain – 1 ≤ x ≤ 1, and the inverse<br />

hyperbolic sine function over the domain – 5 ≤ x ≤ 5.<br />

y=asin(x)<br />

2<br />

1.5<br />

1<br />

0.5<br />

0<br />

-0.5<br />

-1<br />

-1.5<br />

x = -1:.01:1; plot(x,asin(x))<br />

x = -5:.01:5; plot(x,asinh(x))<br />

-2<br />

-1 -0.8 -0.6 -0.4 -0.2 0<br />

x<br />

0.2 0.4 0.6 0.8 1<br />

y=asinh(x)<br />

2.5<br />

2<br />

1.5<br />

1<br />

0.5<br />

0<br />

-0.5<br />

-1<br />

-1.5<br />

-2<br />

-2.5<br />

-5 -4 -3 -2 -1 0<br />

x<br />

1 2 3 4 5<br />

2-61

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!