Vector to Decimal - MATLAB Cody - MATLAB Central

Problem 52472. Vector to Decimal

Difficulty:Rate
Given an integer vector , return its decimal representation as a character array.
% Examples
v = 7
x = '7'
%
v = [4 2]
x = '42'
%
v = [0 7]
x = '7'
%
v = [3 12]
x = '42'

Solution Stats

10.17% Correct | 89.83% Incorrect
Last Solution submitted on May 05, 2024

Solution Comments

Show comments
R2025a Pre-release highlights
This topic is for discussing highlights to the current R2025a Pre-release.
13
5

Problem Recent Solvers5

Suggested Problems

More from this Author4

Problem Tags

Community Treasure Hunt

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

Start Hunting!
Go to top of page