Skip to content

Latest commit

 

History

History

CM-Lab1

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 

Computer Modeling

Lab #1

Introduction to the Matlab. Basic constructions of programming language.

Task:

Suppose 2 vectors (A; B) are given:

  1. Calculate the operators.
  2. Compare the two arrays using the condition A < B.
  3. Calculate the subroutine.
  4. Calculate the operator.
  5. Create an M-file using a text editor. Call an M-file from the command line or from another M-file.
  6. Form a three-dimensional array of normally distributed random numbers of size 4 x 3 x 2. 1. Set the sine wave with 10 points and perform interpolation.