Split delimiter separated strings into a matrix

Function to split a delimiter separated string into a matrix of doubles.

이 제출물을 팔로우합니다

Function: outmatrix = strsplit(inpstr[,delimiter])

Input:
inpstring, this is the input string which is a delimiter separated string: 345.56,376.5,4334.34 .
delimiter, optional if not given, ',' is taken.
outmatrix: if all values in inputstring are numerical a double array is given otherwise a cell array.

인용 양식

Gie Spaepen (2026). Split delimiter separated strings into a matrix (https://kr.mathworks.com/matlabcentral/fileexchange/4615-split-delimiter-separated-strings-into-a-matrix), MATLAB Central File Exchange. 검색 날짜: .

도움

도움 준 파일: rsplit, latexfigure

일반 정보

MATLAB 릴리스 호환 정보

  • 모든 릴리스와 호환

플랫폼 호환성

  • Windows
  • macOS
  • Linux
버전 퍼블리시됨 릴리스 정보 Action
1.0.0.0

The inputstring could only consist of numerical values, now it can contain strings as well.