repfloat

버전 1.0.0.0 (675 Bytes) 작성자: Michael Robbins
Replaces a number in a string, while preserving the string length.
다운로드 수: 2K
업데이트 날짜: 2005/2/7

라이선스 없음

A CSSM participant wanted to replace the numbers in a cellstring with another set of numbers, but he wanted the length of the cellstring to remain the same.

My solution to a CSSM question used RegExpRep and I thought it might be helpful to post it here so that the formatting is preserved and it's easy to read and use.

It was written for use with MATLAB version 6.5 through 7.0. The 'tokenize' parameter is included for the versions of MATLAB where "tokenize" is not the default behaviour. It will produce warnings in other versions.

The thread is available here:

http://newsreader.mathworks.com/WebX?14@255.5zzka3B6LbU.0@.eefa13f

Newsgroups: comp.soft-sys.matlab
Subject: String repair: poor form?
Message-ID: <h8yKd.2516$Ny6.4373@mencken.net.nih.gov>

인용 양식

Michael Robbins (2024). repfloat (https://www.mathworks.com/matlabcentral/fileexchange/6857-repfloat), MATLAB Central File Exchange. 검색됨 .

MATLAB 릴리스 호환 정보
개발 환경: R14SP1
모든 릴리스와 호환
플랫폼 호환성
Windows macOS Linux
카테고리
Help CenterMATLAB Answers에서 Characters and Strings에 대해 자세히 알아보기

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
버전 게시됨 릴리스 정보
1.0.0.0