Find out missing number from a vector of 9 elements - MATLAB Cody - MATLAB Central

Problem 1125. Find out missing number from a vector of 9 elements

Difficulty:Rate

You are given a vector of size 9,

x = [x1 x2 x3 x4 x5 x6 x7 x8 x9]

Elements of x may be randomly selected without repeating from 0,1,2,3,4,5,6,7,8,9

Find a simple solution to find out missing value?

Solution Stats

64.75% Correct | 35.25% Incorrect
Last Solution submitted on Jun 25, 2025

Problem Comments

Solution Comments

Show comments
Why should you share code?
In a discussion on LInkedin about my recent blog post, Do these...
2
3

Problem Recent Solvers305

Suggested Problems

More from this Author5

Problem Tags

Community Treasure Hunt

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

Start Hunting!