필터 지우기
필터 지우기

marking points

조회 수: 2 (최근 30일)
FIR
FIR 2011년 11월 11일
is it possible to draw graps for teo sets of data using plot command,in y axis the datas are there corresponding to that the points should be marked
datas
A=[12 34 90 45]
B=[0 8 9 36]
please help
  댓글 수: 2
Jan
Jan 2011년 11월 11일
I do not understand the question. What are teo sets? Do you mean "two"? What does "marking" mean?
Image Analyst
Image Analyst 2011년 11월 11일
Yes, very sloppy. People should take some time and effort into their questions if they expect us to. Perhaps he just want to plot A and B on the same graph. If so, FIR has been around long enough to know about "plot" and "hold on" and other such commands.

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

채택된 답변

Artur M. G. Lourenço
Artur M. G. Lourenço 2011년 11월 11일
A=[12 34 90 45];
B=[0 8 9 36];
C = [ 1 2 3 4];
plot(A,B,'b')
hold on
plot(A,C,'r')

추가 답변 (0개)

Community Treasure Hunt

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

Start Hunting!

Translated by