Top Banner
การใช้โปรแกรม MATLAB เบื้องต ้น กดตัวเลขที่ต้องการ และเครื่องหทยที่ต้องการ กด enter ผลลัพธ์จะเกิดขึ ้นทันที Clc คือการเคลียหน้าจอให้ว่างเปล่า
12

week 8 การใช้โปรแกรม MATLAB เบื้องต้น pdf

Sep 27, 2015

Download

Documents

.....................
Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
  • MATLAB

    enter

    Clc

  • ,

    ;

  • X x

    X(4) 4

  • X(7)

    X(1:4) 1-4

  • X=(1:20) X 1-20

    X=(2:2:20) 2 2 () 20

  • X=(1:3:20) 1 3 20

    3*3 ;

  • 5*3

    x = 1 2 3 4 5 6 7 8 9 10

  • plot(x) x= 1 2 3 4 5 6 7 8 9 10

    x= 2 4 6 8 10 12 14 16 18 20

  • (x, y - -o)

  • Title (..)

  • x y