MATLAB Auburn Exam 1 Questions And Answers | 2024 Updated Quiz | 100% Correct Answers
clc - clears command window clear all - clears workspace, closes all figures, clears all variables In [x,y], x indicates - the actual value In [x,y], y indicates - the location of the value sum(matrix) - will calculate the sum of the numbers in EACH COLUMN of a matrix Where A= a matrix what would sum(A') produce? - a sum of each row in a vector command window - Main window where programmer enters statements workspace window - lists variables that have been defined in command window Format of linspace common - linspace(first number, last number, amount of numbers) double colon operator - [first number: increment size: largest possible number] data file commands - will always start with 'f' ! %% - Allows data entered between to be formatted as a comment A=(1,2,3) - A=1 2 3 A=(1;2;3) - A= 1 2 3 A= (1 2 3; 4 5 6; 7 8 9) - A= 1 2 3 4 5 6 7 8 9 min(a(:,2)) - find the minimum in all of the rows in column 2 if loop - if else if else if ... else end while loop - while _____ statement end for loop - for some condition command endplot (x,y) - command to create a graph how to open edit window - -select New Scrip -select New -type edit
Written for
- Institution
- MATLAB Auburn
- Course
- MATLAB Auburn
Document information
- Uploaded on
- May 19, 2024
- Number of pages
- 3
- Written in
- 2023/2024
- Type
- Exam (elaborations)
- Contains
- Questions & answers
Subjects
Also available in package deal