You are on page 1of 2

B.M.S.

COLLEGE OF ENGINEERING
DEPARTMENT OF ELECTRONICS & COMMUNICATIONENGG.

SUBJECT: SIMULATION LAB CODE:15EC3DLSL1

QUESTION BANK

1. (a) Demonstrate 5 basic matrix operations- sum and transpose for any 3x3
matrix.

(b) Create Simulink model of a full adder with A.B, C in as inputs and S, C out as
outputs and demonstrate its operation.

2. (a) Given two 3*3 matrices, A & B, perform element by element multiplication
and division.

(b) Create a Simulink model to integrate sine wave using Op-Amp.

3. (a) Plot the surface Z=Xe -(x2+y2) . Use plot, mesh. Stem, function and
represent waveforms.

(b) Store marks of ten students in two subjects available in MATLAB in excel
file.

4. (a) Write a mat lab code to add odd numbers from 20 to 40 using for loop.
Draw the odd numbers using plot command

(b) Create Simulink model to integrate sine wave, saw tooth wave and square
wave using 4:1 Mux

5. (a) Write a MATLAB function to compute Square/ Cube of a value

(b) Create Simulink model of a half adder with A and B inputs, S and Co as outputs

6. (a) Read from excel file 5 data of temperature in centigrade stored from
MATLAB and plot it after converting to Fahrenheit.

(b) Create a Simulink model to differentiate a sine wave using OP-AMP.

7. (a) Create Simulink model to integrate sine wave, saw tooth wave and square
wave.

(b) Create an array of 9 numbers A= [2,3,5,6,7,8,1,2,5] and reshape it to 3*3


matrix. Delete second row of the new matrix.

8. (a) Generate random number array of size 9 and covert to 3*3 matrix. Find its
sum and transpose.

(b) Create Simulink model to integrate sine wave, cosine wave and square wave.
9. (a) Using a switch command, implement 4:1 mux using MATLAB.

(b) Write a function ‘Waveform’ using MATLAB commands to generate sine


wave/cosine wave using ‘if ‘condition.

10. (a) Write a function ‘QUADRATIC’ that inputs coefficients a,b,c from the user
and computes roots.

(b) Create module for first order system (RC) and show the step response.

12. (a) find x,y,z given:

6x+12y+4z =70

7x-2y+3z = 5

2x+8y-9z= 64

(b) Using basic gates simulate full adder using SIMULINK.

13. (a) Write a mat lab code to add even numbers from 50 to 150 using for loop

(b) Create Simulink model of Half wave rectifier using Diode.

14. (a) Generate two sin wave with same amplitude and frequency. Perform
element by element addition

(b) Create Simulink model of integrator using OP- AMP.

15. (a) Generate two cosine wave with same frequency and different amplitude.
Perform element by element multiplication.

(b) Create Simulink model of Differentiator using OP- AMP.

You might also like