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

4 visualizzazioni (ultimi 30 giorni)
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

Risposte (1)

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

Categorie

Scopri di più su Characters and Strings in Help Center e File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by