i need plot a graph

조회 수: 1 (최근 30일)
Rafi Leo
Rafi Leo 2018년 9월 4일
답변: Steven Lord 2018년 9월 4일
i need plot a graph
my data is
0.1s - 48aa 49aa 50aa 10aa ,
0.2s - 50bb 15aa 10bb ,
0.3s - 48bb 10aa 49bb 20aa ,
0.4s - 10bb 20bb ,
in this data aa- means ON state, bb - means OFF state based on numbers i.e 48,49,50,10
and 0.1, 0.2, 0.3, 0.4 this is time how can i plot graph by using above data How can i plot graph pls help me
thanks in advance
  댓글 수: 3
Rafi Leo
Rafi Leo 2018년 9월 4일
iam also a bit confused about this task, let me tell about the data first
this data is generated by the hardwarw system, here "aa" -ON "bb"-OFF next 48,49,50,10,15,20 these are lights
idon't konw how to draw graph for this data
if any possiable ways are there let me know
jonas
jonas 2018년 9월 4일
편집: jonas 2018년 9월 4일
Usually you at least have some kind of vague idea in your mind of what you want the graph to look like. If not, and someone simply told you to make a graph from this data, then I don't think anyone on this forum can help you. You need to first figure out what the purpose of this graph is.
Am I right to assume this is homework?

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

답변 (1개)

Steven Lord
Steven Lord 2018년 9월 4일
I second jonas's confusion. Can you sketch out (with pencil and paper, marker and whiteboard, or even stick and sandbox) how you want the graph to look and post a picture of that sketch? That sketch might help us better understand what you're trying to do.
If you can't provide a sketch, I'm afraid the only suggestion I can give is very general. Look through the Plots tab for a graph whose sample looks like what you want to do. Once you've found that graph, hover over that image for information on the function used to create it.

카테고리

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