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

4 vues (au cours des 30 derniers jours)
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

Réponses (1)

Image Analyst
Image Analyst le 18 Mar 2014
Simply use sprintf().

Catégories

En savoir plus sur Characters and Strings dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by