How to plot a sine wave with matlab programming

Introduction to matlab

MATLAB  programming language is developed by MathWorks. It started out as a matrix programming language where linear algebra programming was simple. It can be run both under interactive sessions and as a batch job.

This tutorial gives you aggressively a gentle introduction of MATLAB programming for a sine wave plo . It is designed to give students fluency in MATLAB programming language. Must see the video link with it

How to plot a sine wave with matlab programming

SEE THE VIDEO

Open matlab workspace>open Editor window

write the following code on the the matlab editor:

N=100;
h=1/N;
x=0:h:1;
y=sin(3*pi*x);
plot(x,y);
title(‘sine plot’);
xlabel(‘x-axis’);
ylabel(‘y-axis’);
grid
zoom

SEE THE VIDEO

sinecod

Save and run it

Output is:

sinolot

SEE THE VIDEO

Other matlab videos tutorial

Matlab basics

Matlab tutorial fo beginners

How to use MATLAB HELP

How to learn matlab

Matlab application

What you can do by learning matlab

matlab image processing tutorial

Matlab ploting calculater

Matlab simulink tutorials

FFT matlab

Matlab file exchange

OTHER MATLAB webinar


Leave a Reply

Your email address will not be published. Required fields are marked *