Matlab how can I make this inequality?
Show older comments
I have an exercise that requires me to plot a function of y=x^2 from 0<=x<pi/2 what would be the right approach for this?
6 Comments
John D'Errico
on 19 Jan 2017
Please don't edit your question away. That is an insult to the people who bothered to spend the time to answer your question. It is an insult to the Answers site, since it makes those answers useless for ANYBODY ever to use.
If I had ever answered a question by you and then see you do this, I would never bother to answer another of your questions.
Adam
on 19 Jan 2017
I wish there was a personal black list that we could put people on to see at a glance people who have deleted their questions in the past, though usually they are new names anyway I suppose.
Star Strider
on 19 Jan 2017
TMW can restore deleted Questions. I believe Rena Berman is the person to contact.
John BG
on 19 Jan 2017
Mr Nash, please post your question again so all readers can read your question
Rena Berman
on 19 Jan 2017
Edited: Rena Berman
on 19 Jan 2017
(Answers dev) Restored question edits.
John BG
on 21 Jan 2017
Mr Nash
please keep adding details with comments to your question and/or to the diverse answers of interest until you get what you need.
Then please choose and accept answer by clicking on the button Accept Answer.
Is it a limit that you want to calculate approaching (pi/2)^2?
Accepted Answer
More Answers (1)
Star Strider
on 19 Jan 2017
You can use ezplot or fplot:
y = @(x) x.^2;
figure(1)
ezplot(y, [0, pi/2])
grid
figure(2)
fplot(y, [0, pi/2])
grid
Categories
Find more on MATLAB 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!