how to create a Matrix from a dat file
이전 댓글 표시
Attach below is my output(pfoutput.dat) file.
First i will like to have my codes recognize the bus number of my system. 14 for example as in the case below in row 1.
Secondly i will like my code to start reading or skip 5 lines after the stored line (***************power flow report*************) which is row 16.
Lastly i will like my codes to read only the rows start with "1,2,3...,14" skipping all row starting with "To-Bus" to produce a matrix of n rows and 7 columns , where n= number of bus system.
thanks for your help and time in advance
댓글 수: 5
Paolo
2018년 6월 13일
Can you attach your file?
GUSTAF NJEI
2018년 6월 13일
Paolo
2018년 6월 13일
I mean the actual pfoutput.dat, not a screenshot of the file.
GUSTAF NJEI
2018년 6월 13일
Sindhu Yerragunta
2018년 6월 21일
답변 (0개)
카테고리
도움말 센터 및 File Exchange에서 Data Import and Analysis에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!