1 / 9

Reti3_Octave

Reti3_Octave. Generare reti E-R con Octave e fare il grafico della distribuzione dei gradi dei nodi. clear clf close all n=50,prob=0.3; A= random_graph (n, prob ); draw_circ_graph (A) figure B= degrees (A); [ xpdf,ypdf,xcdf,ycdf,logk,logx ]= pdf_cdf_rank ( B,'on ');

warren-wynn
Télécharger la présentation

Reti3_Octave

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Reti3_Octave

  2. Generare reti E-R con Octave e fare il grafico della distribuzione dei gradi dei nodi clear clf closeall n=50,prob=0.3; A=random_graph(n, prob); draw_circ_graph(A) figure B=degrees(A); [xpdf,ypdf,xcdf,ycdf,logk,logx]=pdf_cdf_rank(B,'on'); adj2pajek(A,'ERprova.net')

  3. Generare reti S-F (modello B-A base) e fare il grafico della distribuzione dei gradi dei nodi %SFprova.m: Generare una SF ( modello base di B-A) clear clf closeall % Modello B-A A1=SFNG(50,2,[1 0 0; 0 1 0; 0 1 0]); figure draw_circ_graph(A1) B1=degrees(A1); figure [xpdf,ypdf,xcdf,ycdf,logk,logx]=pdf_cdf_rank(B1,'on'); adj2pajek(A,'provaSF.net');

  4. Esercizio Generare diverse B-A e ER al variare del numero di nodi

More Related