MATLAB: Creating Script Files and Variables for Beginners

Опубликовано: 27 Октябрь 2024
на канале: Engineering with Dr. Kelsey Joy
1,702
19

How to create Variables in MATLAB (along with rules for naming variables) and how to create a Script File (.m) to get started in writing code.

How to Create Programs in MATLAB tutorial playlist:    • How to Create Programs in MATLAB (tut...  

Get your own MATLAB cheat sheet Travel Mug: https://www.redbubble.com/i/mug/MATLA...

#MATLAB #learntocode #variables #engineeringstudent #engineeringstudents #engineering #engineer #coding #code #programming #program

Chapters:
00:00 Introduction and "ans" default variable
00:31 Creating variables and deciding names
01:15 Variables in Workspace
01:52 Variable names - rules about valid names
03:05 Picking a variable name that is a MATLAB function (problem)
04:23 Creating a MATLAB script file (.m)
04:41 Start code with clc and clear (MATLAB functions)
05:05 Starting to write code (first steps)
06:26 Methods to create new script files
07:30 Help function in MATLAB