Friday, September 21, 2012

Week Two Progress (SEM 2)

In this week I continued learning about MATLAB and MATLAB's commands

I learnt about
  • matrices 
    • I learnt what the function of comma (,) semicolon (;) space and []
    • Also I learnt how to make commands of addition, subtraction, multiplication, division, exponentiation in matrices
    • Also i learnt the function of other commands such as " min(), max(), prob(), sum(), size(), diag()" and so on



  • Also I studied about M-File and significant of commands like "clc & clear"

  • Also I  knew some important commands like:
    • linspace
    • "linspace(minimum number, maximum number, number of points in between)"



    • randint
    • "randint(number of rows,number of columns,[minimum number,maximum number])"



    • input "input('')"
    • In input we should know about string and character
    • string=a character or word
    • character=a number or group of numbers
    • In order to change from string to character or from chatracter to string "num2str & str2num" 


  • On this week also I had started learning about 2D Plotting in martices
    • Two things we should know when we cross the 2D plotting
    • Dependent Variable    = variable dendening on other value
    • Independent Variable  = its value doesn't on other values



    • example

clc
clear
X=0:0.1:10
Y=sin(x)
polt(X,Y)


    • In this examples 

X is the Independent Variable
Y is the Dependent Variable

Monday, September 10, 2012

Week One Progress (SEM 2)

I started with programming part i was focusing on learn and practice the fundamental of MATLAB. On the week one:

  • I explored about MATLAB command window, workspace, array editor and command history.
  • Then I started to practice simple mathmetical operation commands such as addition, subtraction, multiplication, division, exponentiation square root (+, -, *, /, ^, sqrt).
  • Then I learnt how to address the operation by using (%) command . 
  • After that I discovered what predefined variables (pi, Inf, NaN, i, j) stands for.
  • Also I learnt how to cancel an input command and the output without deleting by using (clear) command.
  • Then enter trigonometric functions commands (sin, cos, tan, sec, csc, cot).
  • Then the inverse trigonometric function commands (asin, acos, atan, asec, acsc, acot) wich usually used in 2D Plotting
  • After that I studied how to enter hyperbolic functions  using (sinh, cosh, tanh, sech, csch, coth) commands
  • Lastly  for week one I learnt how command inverse trigonometric functions (asinh, acosh, asech, acsch, acoth)