Avoid str2double and str2num. Use sscanf instead. For scalars, you'll see a modest improvement. >> str = '0009'; >> tic; for p=1:1000, ...
確定! 回上一頁