Gistlib Logo

gistlib

draw the graph of y=sinx for 0<x<30. in matlab

main.m
x = 0:0.1:30;
y = sin(x);
plot(x, y);
xlabel('X');
ylabel('sin(X)');
title('Graph of y = sin(x) for 0 < x < 30');
114 chars
7 lines

similar matlab code snippets

ezplot sine wave in matlab
how to write a plot for y=sinx in matlab
plot a sine wave in matlab
plot the fourier transform of a 1000 point sine wave at 200hz with a sample rate of 10khz in matlab in matlab
plot the fourier transform of a 1000 point sine wave in matlab
plot a smily in matlab
create a graph in matlab
draw a sunset in matlab
fit a line in matlab
how to plot an arrow in matlab in matlab

related categories

matlab
plot
sine-wave

gistlibby LogSnag