Matlab Programming Cheat Sheet

MATLAB BKK
2 min readApr 23, 2023

MATLAB BKK CENTER

ทำแจกสรุป MATLAB Cheat Sheet สรุป MATLAB Programming ดู 2 แผ่นนี้เอาไปใช้งานได้เลย เป็นตัวที่ใช้บ่อย ใส่กรอบแปะไว้เพราะมีลืมแน่ๆ

ตัวอย่างเพิ่มเติมจาก Cheat Sheet อื่นๆ

save ‘file.mat’ :บันทึกตัวแปรเป็น file.mat

load ‘file.mat’ : โหลดตัวแปรจาก file.mat

diary on : บันทึกตัวแปร Input / Output ไปยังไฟล์ไดอารี

diary off : หยุดการบันทึก

whos :แสดงรายการตัวแปรทั้งหมดที่ใช้ ณ ตอนนี้

clear :ลบ/เลิกกำหนดตัวแปรทั้งหมด

help command :quick help ในคำสั่งที่กำหนด

doc command : extensive help ในคำสั่งที่กำหนด

ส่วนของเมทริกซ์และเวกเตอร์:

x(2:12) : the 2nd to the 12th elements of x

x(2:end) : the 2nd to the last elements of x

x(1:3:end) : every third element of x , from 1st to the last

x(:) : all the elements of x

A(5,:) : the row vector of every element in the 5th row of A

A(5,1:3) : the row vector of the first 3 elements in the 5th row of A

A(:,2) : the column vector of every element in the 2nd column of A

diag(A) : column vector of the diagonal elements of A

เราสามารถติดตามหรือหากมีความสนใจ สามารถลงทะเบียนได้ใน Course Data Science Roadmap ซึ่งอบรมออนไลน์ 8 สัปดาห์ เรียนว่าเจาะลึกพร้อมตัวอย่างการประยุกต์ใช้ สามารถติดต่อสอบถามไปทาง Admin Facebook Page :(20) Matlab bkk center | Facebook

สามารถติดตามเนื้อหาความรู้ต่างๆ โดยเฉพาะการใช้ประยุกต์ใช้กับโปรแกรม Matlab ได้ที่ Facebook Page :(20) Matlab bkk center | Facebook

#กำลังเปิดรับลงทะเบียน

Machine Learning for #Predictive #Maintenance Course

NEURAL NETWORK AND DEEP LEARNING COMPLETE COURSE :

ใครอยากเรียนรู้จากตัวอย่างการ Apply จาก #ProjectMachinelearning ต้องไม่พลาด

#Matlab Code ร่วมแชร์ความรู้ สาระผ่านกลุ่ม ->

(กลุ่ม Facebook Matlab Bkk AI & Data science & Other Classroom)>

https://web.facebook.com/groups/403881684322230/

#matlabbkk

#datascience

#MachineLearning

#รับเขียนโปรแกรมMatlab #ทุกApplication

#จัดอบรมMatlab

#DeepLearning

#matlab

--

--