Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8810091
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 14, 20262026-06-14T03:02:35+00:00 2026-06-14T03:02:35+00:00

Is there a way to draw a graph from the Incidence matrix. By graph

  • 0

Is there a way to draw a graph from the Incidence matrix.
By graph I mean http://en.wikipedia.org/wiki/Graph_(mathematics) not a plot.

Up till now I found only how to convert incidence matrix to a adjacency matrix.
In R this is possible with an igraph library. So is there an easy way to do it in matlab

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-14T03:02:36+00:00Added an answer on June 14, 2026 at 3:02 am

    You may use gplot:

    k = 1:30;
    [B,XY] = bucky;
    gplot(B(k,k),XY(k,:),'-*')
    axis square
    

    This function is commonly used in machine learning problems. While searching up I’ve seen an implementation for weighted graph plotting.

    enter image description here
    http://www.mathworks.com/help/matlab/ref/gplot.html

    EDIT:

    dt = 2*pi/10;
    t = dt:dt:2*pi;
    x = cos(t); y = sin(t);
    A = ones(10);
    gplot(A,[x' y']);
    A = ones(3,3);
    gplot(A,[x' y']);
    a = [0 1 1; 1 0 0; 1 1 0];
    gplot(a,[x' y'] ,'-*');
    

    All you have to do is make sure the XY plane has sufficient (x,y) pairs for each node in your graph.

    Here is A’s gplot:

    enter image description here

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I might think there are some way to draw graphs related mathematics, for example
HI All, Is there any way to draw a 2d graph of ECG (in
Is there a way to draw an arc using points in JavaScript?? I need
Is there a way to draw the lines in such a way that they
I was wondering if there is a way to draw an image but give
Is there any simple way how to draw obliquely strike through on TextView? Now
Is there a way to make the parent control draw over the children controls
Is there a way (in R with ggplot or otherwise) to draw frequency and
I wondering if there is a faster (GPU time) way to draw a full-screen
Is there way to get file from windows xp command prompt? I tried to

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.