Archives

  • How to use “rand” function on MATLAB.

    How to use rand function on MATLAB.
    1. Matlab help command allows us to look at the specific details of rand
    >> help rand
    2. If you are still curious, let’s look at the following command line.
    %Code Start
    t=[0:0.1:10];
    y=t;
    plot(t,y,’x’);
    hold on;
    e=(rand(1,length(t))-0.5)/2;
    y1= e+y;
    plot(t,y1,’r’);
    $Code End
    (Line1) The first line generates linear vectors from 0 to 10 with 0.1 step.
    Then stores values to t.
    (Line2) [...]

    Sep 10th, 2010 | Filed under MATLAB
    Tags: ,
  • Source Insight trial.

    Si3564Setup
    SI3US-475007-38958

    Sep 8th, 2010 | Filed under Programming, Software
  • Function on MATLAB

    M-file

    (1) 스크립트로 사용되는 M-file

    주목적
    명령어 또는 함수들의 일괄처리

    파일 명
    제한이 없음

    변수의 범위
    M-file에서의 변수와 MATLAB Workspace에서의 변수의 구분이 없다.

    (2) 함수로 사용되는 M-file

    주목적
    외부로부터 값을 입력 받아서 [...]

    Sep 7th, 2010 | Filed under MATLAB, Software
Archive for the ‘Software’ Category