필터 지우기
필터 지우기

how to draw graph in matlab? Using Biograph?

조회 수: 6 (최근 30일)
Aswin Sandirakumaran
Aswin Sandirakumaran 2018년 6월 8일
댓글: Steven Lord 2018년 6월 8일
How to draw biograph with labels corresponding to values in p vector?
if true
p = [1,2]
for i=0 : length(p)
%how to draw biograph with label as 1 and 2
end
end

채택된 답변

Steven Lord
Steven Lord 2018년 6월 8일
If you're using release R2015b or later, consider using the graph or digraph functions included in MATLAB to draw your graph / network object.
  댓글 수: 2
Aswin Sandirakumaran
Aswin Sandirakumaran 2018년 6월 8일
how to do that? Or how to use that function in this example?
Steven Lord
Steven Lord 2018년 6월 8일
Your question doesn't have a lot of detail about what you're trying to do, so the only general suggestion I can make is to take a look at the examples in the documentation for the graph or digraph functions, depending on whether you want an undirected or directed graph respectively.

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

추가 답변 (0개)

카테고리

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

태그

Community Treasure Hunt

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

Start Hunting!

Translated by