2D plot of a function WITH MATLAB


by aredy29
Tags: data analysis, function plot, matlab
aredy29
aredy29 is offline
#1
Jan31-12, 12:19 PM
P: 8
My function is;

y(x,s)= 1-(cos[(s-1)arctan(x)]*gamma(s-1))/(1+x^2)^(s-1)/2

varible x will have range from 0 to 10. At one time the s value will be constant e.g. s = 3 but I want to change s for different values( is there any commands in matlab that will allow me to do this ?). I tried many time but can't get it.
Phys.Org News Partner Science news on Phys.org
Review: With Galaxy S5, Samsung proves less can be more
Making graphene in your kitchen
Study casts doubt on climate benefit of biofuels from corn residue

Register to reply

Related Discussions
How to plot multiple iterations of a while loop on one plot? [MATLAB] Math & Science Software 1
how to do a 3d plot in matlab Math & Science Software 1
MATLAB Plot function of two variables on 2D Grid Math & Science Software 3
MATLAB Plot of a periodic function Electrical Engineering 2
[matlab] I just want to plot a function that describes position as a function of time Math & Science Software 2