Line of code wont read
Show older comments
y = ((x.^2)-((3(x))+7))./(sqrt((2(x))+5));
this is the one that I am working with but it is not working it keeps on telling me that it needs additional parenthesis but even though i added it still wont work. Its almost working just this one.
x=-1:0.1:5;
y = ((x.^2)-((3(x))+7))./(sqrt((2(x))+5));
plot(x,y);
title('Graph of f(x)=((x.^2)-((3(x))+7))./(sqrt((2(x))+5)) for x=[-1:5]');
xlabel('x');
ylabel('f(x)');
here is my full program and i've used the same with the other just different y and it works with the others.
Accepted Answer
More Answers (0)
Categories
Find more on Time Series Collections in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!