Write a function, [B,V]=fullerene2graph(filename,rmax), which reads data from a text file named filename.cc1 (Chem3D Cartesian 1 format – 1st line: number of atoms, 2nd and all other lines: chem. symbol, atom index, x, y, z, atom_type, indexes of adjacent atoms). The function returns the sparse adjacency matrix B (for definition see doc bucky) and Cartesian coordinates of atoms. Visualize the molecule in fullerene.cc1 (wireframe 3D model).
Mandatory: textscan
Hint: sparse
編寫一個函數 [B,V]=fullerene2graph(filename,rmax),它從名為 filename.cc1 的文本文件(Chem3D Cartesian 1 格式 - 第一行:原子數,第二行和所有其他行:化學符號 ,原子索引,x,y,z,atom_type,相鄰原子的索引)。 該函數返回稀疏鄰接矩陣 B(定義見 doc bucky)和原子的笛卡爾坐標。 在 fullerene.cc1(線框 3D 模型)中可視化分子。
[B
你是否還在尋找穩定的海外服務器提供商?創新互聯www.cdcxhl.cn海外機房具備T級流量清洗系統配攻擊溯源,準確流量調度確保服務器高可用性,企業級服務器適合批量采購,新人活動首月15元起,快前往官網查看詳情吧
當前名稱:Matlabchapter05-創新互聯
標題網址:http://vcdvsql.cn/article40/cdesho.html
成都網站建設公司_創新互聯,為您提供企業網站制作、App開發、網站設計公司、用戶體驗、移動網站建設、微信公眾號
聲明:本網站發布的內容(圖片、視頻和文字)以用戶投稿、用戶轉載內容為主,如果涉及侵權請盡快告知,我們將會在第一時間刪除。文章觀點不代表本網站立場,如需處理請聯系客服。電話:028-86922220;郵箱:631063699@qq.com。內容未經允許不得轉載,或轉載時需注明來源: 創新互聯