Skip links

Operator dan Fungsi Dasar Matematika Pada Matlab

Operator dan Fungsi Dasar Matematika Pada Matlab

Penulis: Miftah

Selain “help” yang bersifat umum seperti pada pelajaran sebelumnya, terdapat juga fasilitas help untuk beberapa fungsi matematika dan operator yang sudah tersedia dalam MATLAB. Coba ketik salah satu fungsi yang terdapat pada tabel di bawah ini, maka akan muncul fungsi-fungsi atau operator yang berkaitan dengan topik tersebut.

FungsiKeterangan
help generalPerintah untuk tujuan umum.
help opsKarakter khusus dan operator.
help langPerintah bahasa pemrograman.
help elmatMatriks dasar dan manipulasi matriks.
help elfunFungsi matematika dasar.
help specfunFungsi matematika khusus.
help matfunFungsi matriks-aljabar linear matriks.


Sebagai contoh, jika kita ketik help elfun pada Command Window maka akan muncul fungsi-fungsi matematika yang dibagi menjadi beberapa kategori, yaitu fungsi trigonometri, eksponensial, bilangan kompleks, pembulatan, dan sisa.

view plainprint?

  1. >> help elfun  
  2.   Elementary math functions.  
  3.   Trigonometric.  
  4.     sin         – Sine.  
  5.     sind        – Sine of argument in degrees.  
  6.     sinh        – Hyperbolic sine.  
  7.     asin        – Inverse sine.  
  8.     asind       – Inverse sine, result in degrees.  
  9.     asinh       – Inverse hyperbolic sine.  
  10.     cos         – Cosine.  
  11.     cosd        – Cosine of argument in degrees.  
  12.     cosh        – Hyperbolic cosine.  
  13.     acos        – Inverse cosine.  
  14.     acosd       – Inverse cosine, result in degrees.  
  15.     acosh       – Inverse hyperbolic cosine.  
  16.     tan         – Tangent.  
  17.     tand        – Tangent of argument in degrees.  
  18.     tanh        – Hyperbolic tangent.  
  19.     atan        – Inverse tangent.  
  20.     atand       – Inverse tangent, result in degrees.  
  21.     atan2       – Four quadrant inverse tangent.  
  22.     atanh       – Inverse hyperbolic tangent.  
  23.     sec         – Secant.  
  24.     secd        – Secant of argument in degrees.  
  25.     sech        – Hyperbolic secant.  
  26.     asec        – Inverse secant.  
  27.     asecd       – Inverse secant, result in degrees.  
  28.     asech       – Inverse hyperbolic secant.  
  29.     csc         – Cosecant.  
  30.     cscd        – Cosecant of argument in degrees.  
  31.     csch        – Hyperbolic cosecant.  
  32.     acsc        – Inverse cosecant.  
  33.     acscd       – Inverse cosecant, result in degrees.  
  34.     acsch       – Inverse hyperbolic cosecant.  
  35.     cot         – Cotangent.  
  36.     cotd        – Cotangent of argument in degrees.  
  37.     coth        – Hyperbolic cotangent.  
  38.     acot        – Inverse cotangent.  
  39.     acotd       – Inverse cotangent, result in degrees.  
  40.     acoth       – Inverse hyperbolic cotangent.  
  41.     hypot       – Square root of sum of squares.  
  42.   Exponential.  
  43.     exp         – Exponential.  
  44.     expm1       – Compute exp(x)-1 accurately.  
  45.     log         – Natural logarithm.  
  46.     log1p       – Compute log(1+x) accurately.  
  47.     log10       – Common (base 10) logarithm.  
  48.     log2        – Base 2 logarithm and dissect floating point number.  
  49.     pow2        – Base 2 power and scale floating point number.  
  50.     realpow     – Power that will error out on complex result.  
  51.     reallog     – Natural logarithm of real number.  
  52.     realsqrt    – Square root of number greater than or equal to zero.  
  53.     sqrt        – Square root.  
  54.     nthroot     – Real n-th root of real numbers.  
  55.     nextpow2    – Next higher power of 2.  
  56.   Complex.  
  57.     abs         – Absolute value.  
  58.     angle       – Phase angle.  
  59.     complex     – Construct complex data from real and imaginary parts.  
  60.     conj        – Complex conjugate.  
  61.     imag        – Complex imaginary part.  
  62.     real        – Complex real part.  
  63.     unwrap      – Unwrap phase angle.  
  64.     isreal      – True for real array.  
  65.     cplxpair    – Sort numbers into complex conjugate pairs.  
  66.   Rounding and remainder.  
  67.     fix         – Round towards zero.  
  68.     floor       – Round towards minus infinity.  
  69.     ceil        – Round towards plus infinity.  
  70.     round       – Round towards nearest integer.  
  71.     mod         – Modulus (signed remainder after division).  
  72.     rem         – Remainder after division.  
  73.     sign        – Signum.

Leave a comment

CAPTCHA ImageChange Image

This website uses cookies to improve your web experience.
Beranda
Konsultasi
Call Center
Cari Artikel
× Add a menu in "WP Dashboard->Appearance->Menus" and select Display location "WP Bottom Menu"
Explore
Drag