Category: Engineering

MATLAB code for continuous time convolution

Share This Topic:     Course Details Field of Study: Electronics Engineering Course Name: Signals and Systems Description: MATLAB code for continuous time convolution when x(t)=u(t-3)-u(t-5) and h(t)=u(t)exp(-3t) What is Continuous time convolution? Continuous time convolution is an operation on two continuous time signals defined by the integral: (xh)(t)= int(x(tau)h(t-tau),tau,-inf,inf) for all x,h defined on R. It is

MATLAB code to prepare database of n students for 5 subjects

Share This Topic:     Course Details Field of Study: Electronics Engineering Course Name: Simulation and Computational Laboratory Description: MATLAB code to prepare database of n students for 5 subjects and if their mark is above 250 their status is “passed” else “Failed”. MATLAB Code % A matlab Program that prepares a database of n students for 5

C programming code to display asterisk in diagonal pattern

Share This Topic:     Course Details Field of Study: Computer Science and Engineering Course Name: C Programming Course Description: C programming code to display asterisk in diagonal pattern where the length of the diagonal is given by n Code #include<stdio.h> #include<conio.h> void main() { clrscr(); int n,col,row; printf(“Enter the number\n”); scanf(“%d”,&n); for(int i=1;i<=n;i++) { for(int j=1;j<2n;j++) {