Pages

Showing posts with label matlab. Show all posts
Showing posts with label matlab. Show all posts
Matlab : Flat top sampling using matlab

Matlab : Flat top sampling using matlab

clear all; close all; p=0.001:.001:1; o=ones(1,length(p)); z=zeros(1,length(p)); m=repmat([z o z o z o z o z o z o z o z o z o z o],[1,4]); ...

0 Comments
Matlab : Gibbs phenomenon of given harmonics

Matlab : Gibbs phenomenon of given harmonics

Gibbs phenomenon of given harmonics Code: clc; clear all; close all; t=linspace(-2,2,2000); u=linspace(-2,2,2000); sq=[zeros(1,500),2*ones(1...

0 Comments
Matlab : 2 | Input number

Matlab : 2 | Input number

Take number input by this code prompt='Enter your name: '; N =input(prompt)

0 Comments
Matlab : 1 | Add two number

Matlab : 1 | Add two number

Open Matlab>New Script> paste this code a=12; b=34; c=a+b Run/Press F5

0 Comments