From: kalam_gre AZED on
"Warrick Tan" <turtlesteady(a)gmail.com> wrote in message <hota9g$n31$1(a)fred.mathworks.com>...
> I need to plot a graph (when H=0, H=0.5 and when H=1) V against t using MatLab
>
> Here is the equation (sorry if it is not clear, I can only type it in text):
>
> V(t)=1/(pi^H) &#8747;[(constant)/(t-&#964;)^(1-H)] d&#964;
>
> The limits of the integral is: upper limit=t and lower limit=0
>
> Anyone can help?

%you need to declare variable
syms t T h x; [for integration]
%then write [your function]
f1=(1/(pi^h))*((const)/(t-T))^(1-h)
%now for integration
x=int (f1,T,0,t)
%when u go for plotting it will give u an error so need to change into double
plot(H,double(x))

do for these H=0 0.5 and 1

cheers
kalam
 | 
Pages: 1
Prev: SAVE GUI TO WORKSPACE
Next: Speed up pdist