Learning programming using MATLAB

Aaron r  bradley   programming for engineers  a foundational approach to learning c and matlab

Aaron r bradley programming for engineers a foundational approach to learning c and matlab

... 173 8.5 FurtherAdventures withLinkedLists 178 9 Introduction to Matlab 181 9.1 The Command-Line Interface . . . . . . 182 9.2 ProgramminginMatlab 188 9.2.1 Generating a Pure Tone . . . . . 189 9.2.2 ... reasons. First, manipulating memory is fundamental to practical programming, yet many students, through lack of practice, leave their first programming course unable to do so effec- tively....
Ngày tải lên : 19/03/2014, 14:05
  • 250
  • 655
  • 0
optics learning by computing with examples using matlab - k.d. moller

optics learning by computing with examples using matlab - k.d. moller

... θ 2 + θ 4 − θ 3 A  θ 2 + θ 3 (1.17) and using the laws of refraction sin θ 1  n sin θ 2 n sin θ 3  sin θ 4 (1.18) we get for the angle of deviation, using asin for sin −1 δ  θ 1 + asin {(  n 2 − ... 339 9.1.1 Introduction 339 9.1.2 The Fourier Integrals 339 9.1.3 Examples of Fourier Transformations Using Analytical Functions 340 9.1.4 Numerical Fourier Transformation 341 9.1.5 Four...
Ngày tải lên : 08/04/2014, 10:27
  • 459
  • 565
  • 0
Electronics and Circuit Analysis Using MATLAB P1

Electronics and Circuit Analysis Using MATLAB P1

... MATLAB has a rich set of plotting capabilities. The graphics are integrated in MATLAB. Since MATLAB is also a programming environment, a user can extend the functional capabilities of MATLAB ... CHAPTER ONE MATLAB FUNDAMENTALS MATLAB is a numeric computation software for engineering and scientific calculations. The name MATLAB stands for MATRIX LABORATORY. MATLAB i...
Ngày tải lên : 23/10/2013, 16:15
  • 23
  • 467
  • 1
Electronics and Circuit Analysis Using MATLAB

Electronics and Circuit Analysis Using MATLAB

... MATLAB has a rich set of plotting capabilities. The graphics are integrated in MATLAB. Since MATLAB is also a programming environment, a user can extend the functional capabilities of MATLAB ... CHAPTER ONE MATLAB FUNDAMENTALS MATLAB is a numeric computation software for engineering and scientific calculations. The name MATLAB stands for MATRIX LABORATORY. MATLAB i...
Ngày tải lên : 27/10/2013, 23:15
  • 400
  • 511
  • 2
Electronics and Circuit Analysis Using MATLAB P3

Electronics and Circuit Analysis Using MATLAB P3

... Write a MATLAB program to convert analog signal x to digital signal y. Test the program by using an analog signal with the following amplitudes: -1.25, 2.57 and 6.0. Solution MATLAB ... following MATLAB statements: x = input(‘Enter age of student’); if x < 0 error(‘wrong age was entered, try again’) end x = input(‘Enter age of student’) For the above MATLAB s...
Ngày tải lên : 27/10/2013, 23:15
  • 17
  • 440
  • 0
Electronics and Circuit Analysis Using MATLAB P2

Electronics and Circuit Analysis Using MATLAB P2

... specified using the statement: plot(x, y, ’g’) © 1999 CRC Press LLC © 1999 CRC Press LLC implying, plot x versus y using green color. Line and mark style may be added to color type using ... Figure 2.5. The MATLAB script file is ex2_2.m. Figure 2.5 Plot of Gain versus Frequency of an Amplifier A polar plot of an angle versus magnitude may be generated using...
Ngày tải lên : 27/10/2013, 23:15
  • 16
  • 453
  • 1
Electronics and Circuit Analysis Using MATLAB P6

Electronics and Circuit Analysis Using MATLAB P6

... compute the vector [v] using the MATLAB command () VinvYI= * where () inv Y is the inverse of the matrix [] Y . A MATLAB program for solving V 3 is as follows: MATLAB Script ... [] I using the MATLAB command () IinvZV= * where () inv Z is the inverse of the matrix [] Z . The voltage V C can be obtained as VjII C =− − ()( )10 12...
Ngày tải lên : 06/11/2013, 09:15
  • 39
  • 561
  • 0
Electronics and Circuit Analysis Using MATLAB P5

Electronics and Circuit Analysis Using MATLAB P5

... [] y V V i =−           110 1 2 1 (5.40) MATLAB functions for solving ordinary differential equations are ODE functions. These are described in the following section. 5.4.1 MATLAB Ode Functions MATLAB has two functions, ... by CRC PRESS LLC where τ 2 2 200 200 1 == = L R eq s The MATLAB program for plotting it () is shown below. MATLAB Script % Sol...
Ngày tải lên : 06/11/2013, 09:15
  • 33
  • 714
  • 0

Xem thêm