se string manipulating functions to extract the numbers from the strings and add them together.

2 次查看(过去 30 天)
Two variables store strings that consist of a letter of the alphabet, a blank space, and a number (in the form ‘R 14.3’). Write a script that would initialize two such variable

回答(1 个)

Image Analyst
Image Analyst 2014-3-18
Simply use sprintf().

类别

Help CenterFile Exchange 中查找有关 Characters and Strings 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by