aemre
Newbie level 5

hi all...i have to design a graphic with matlab.....it s my homework and i need to make this immidiaetly..i wrote some codes but i couldn t see the graphic...
>> A=14,6;
B=365;
pa=(1:1:10);
gama=1/500;
Ud=(B*pa)/log((A*pa)/log(1+(1/gama)));
xlabel(pa);
ylabel(Ud);
plot(pa,Ud);
i have wrote this code.anyone can send me the truest one?so i will see my wrongs...thank u for all...pa changes 1 by 1 from 1 to 10 and changes 10 by 10 from 10 to 100...but i couldn t write this detail...please help me..(pa is a variable)
>> A=14,6;
B=365;
pa=(1:1:10);
gama=1/500;
Ud=(B*pa)/log((A*pa)/log(1+(1/gama)));
xlabel(pa);
ylabel(Ud);
plot(pa,Ud);
i have wrote this code.anyone can send me the truest one?so i will see my wrongs...thank u for all...pa changes 1 by 1 from 1 to 10 and changes 10 by 10 from 10 to 100...but i couldn t write this detail...please help me..(pa is a variable)