필터 지우기
필터 지우기

Plotting function step by step by GUI?

조회 수: 1 (최근 30일)
Eliza
Eliza 2017년 10월 11일
댓글: Image Analyst 2017년 10월 12일
I would like to create matlab GUI that takes function from the user and produce plot for that function step by step , when the user input the function then click on step button the plot will have one point on it , the next click will have two point on the plot , and so on,until the full plot completed ,can i do it in matlab or not ?

채택된 답변

Image Analyst
Image Analyst 2017년 10월 11일
Yes, you can, though you'll have to probably use the hated "eval()" function. But WHY do you want to do this somewhat unusual thing? I mean the user could just type their function into a script, and type their data into the script also, instead of your GUI, and run their script instead of your GUI. Is this just an arbitrary thing you want to do so that you can learn how to build GUIs?
  댓글 수: 2
Image Analyst
Image Analyst 2017년 10월 12일
Hi's reply moved here (instead of being an "Answer" to the original question):
May be I should Ask my teacher this question
Image Analyst
Image Analyst 2017년 10월 12일
So, is it your homework?

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Annotations에 대해 자세히 알아보기

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by