Task 1 Generation of unit impulse function. close all clear clc fs=10; a=1; t=-5:1/fs:5; impl=zeros(1,length(t)); for i=1:length(t) if t(i)==0 impl(i)=a; end end figure plot(t,impl) ylim([0 2]) figure stem(t,impl) Task 2 Generation of unit Ramp function. close all clear clc fs=10; a=1; t=-5:1/fs:5; rmp=zeros(1,length(t)); for i=1:length(t) if t(i)>=0 rmp(i)=t(i); end end figure plot(t,rmp) figure stem(t,rmp) Task

# Latest Posts

## CSE 432 Fall 2019 Lab 3

Task 1 Plotting a sine curve close all clear clc freq=input(‘Freqiuency of Sine function= ‘); amp=input(‘Amplitude of Function= ‘); phi=input(‘Initial Phase of Sine Function= ‘); time=input(‘End Time for Signal= ‘); fs=freq*10; %Following nyquist critereon t=0:1/fs:time; w=2*pi*freq; y=amp*sin(w*t+phi); figure(1) plot(t,y) figure(2) stem(t,y) Task 2 Plotting a cosine curve close all clear clc freq=input(‘Freqiuency of Cosine function=

## NEUB CSE 121 Fall 2019 Assignment 1

Below are the questions for assignment 1 Download as PDF

## Lab Report Format

For any Hardware lab you can use the format provided below. Just use it as a guideline and feel free to use you creativity. And beware of the fact that copying lab report from others will be heavily penalized. Lab report demo If you want to see an actual lab report in action, here it

## CSE 432 Fall 2019 Lab 2

Task 1 Introduction to for loop %Use of for loop close all clear clc n=input(‘Number of inputs= ‘); if (n>0) for i=1:n r=input(‘radius= ‘); area=pi*r*r; circ=2*pi*r; fprintf(‘Radius= %g\tArea= %g\tCircumference= %g\n’, r, area, circ) end else fprintf(‘ERR:Number must be Positive\n’); end %Task for students %Change the code such that if the radius is negative, it will

## CSE 432 Fall 2019 Lab 1

Task 1 Installation of MATLAB Task 2 Basic matlab instructions a=4; b=5; c=a+b; %difference between usiong a semicolon at the end of an instruction and not disp(c); c=a-b; c=a*b; c=a/b; %Matrix and vector a=[0 1 2] a=[0 1 2; 3 4 5] a=[0 1 2; 3 4 5;6 7 8] b=[1 2 3; 4 5

## CHE 101 Tutorial Marks Summer 2019

Section A Reg Name Test 1 Test 2 Test 3 190103020001 Syed Md. Afsani 5.5 5 10 190103020005 Nadira Ferdous 0 6 2 190103020007 Biprojit Bhattacharjee 6 A 6 190103020009 Maidul Islam 5.5 5 6 190103020011 Marwanur Rashid Shafe 3 4 4 190103020013 Sajib Sutradhar A A A 190103020015 Jeni Begum 5 7 4 190103020017

## CHE 101 Summer 2019 Assignment Submission list

Below is list of assignments I have marked. If you have not submitted any assignment, you can submit the remaining assignments for reduced marking. Section A Reg Name ASS 1 ASS 2 ASS 3 190103020001 Syed Md. Afsani OK OK OK 190103020005 Nadira Ferdous OK OK OK 190103020007 Biprojit Bhattacharjee OK OK OK 190103020009 Maidul