Info
이 질문은 마감되었습니다. 편집하거나 답변을 올리려면 질문을 다시 여십시오.
Writing Code for Function
조회 수: 2 (최근 30일)
이전 댓글 표시
Write a function named getStringAtColumn which receives a character array and a number as input. The character array (rowOfData) represents a row of data in a comma-separated values (CSV) format. The number (col) represents the column of interest within the row of data. The function must return the character array associated with the column. You can assume correct column numbers will be provided for the row of data passed. The function should have the following name and parameters: getStringAtColumn(rowOfData, col)
For example, if the input is getStringAtColumn('a,b,34', 3) then the function will return '34'
댓글 수: 0
답변 (0개)
이 질문은 마감되었습니다.
참고 항목
제품
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!