Determina el número de cifras de un número
Crea una función que te devuelva el número de cifras de un número.
Algunos ejemplos para ayudarte serían:
El número 125 tie...
4 years ago
Solved
Construyendo matrices parte 2
Construye la siguiente matriz a partir de otros tres vectores/matrices.
[ 1 8 15 3 3 3 3
2 9 16 3 3...
4 years ago
Solved
Determina si el número es primo
Primero, antes que nada: ¿Qué es un número primo?
Un número primo es cualquier número que solamente se puede dividir por 1 y ...
4 years ago
Solved
ASCII sum of phrases
Find the sum of the numeric equivalents of all characters entered in a phrase. For example: for the phrase 'My name is test', th...
4 years ago
Solved
Homemade: Control Charts
This problem is a simple version of control charts in statistics. Intput consists from 30 or more observations.
* Upper limi...
4 years ago
Solved
Find the outlier in a set of samples
Given an array x of numbers. Assumed that this array has one outlier. Find the position p and the value v of the outlier in this...
4 years ago
Solved
Solve The Equation
The coefficients of a system of equations are given in two vectors, x1 and x2. Write a function to solve the equation and return...
Bleed non-zeros to the right
What a title! Yet, it says what I mean.
You get a vector, some values and a lot of zeroes. Every zero is replaced by the firs...