Estadística
0 Problemas
82 Soluciones
CLASIFICACIÓN
N/A
of 301.958
REPUTACIÓN
N/A
CONTRIBUCIONES
0 Preguntas
0 Respuestas
ACEPTACIÓN DE RESPUESTAS
0.00%
VOTOS RECIBIDOS
0
CLASIFICACIÓN
of 21.472
REPUTACIÓN
N/A
EVALUACIÓN MEDIA
0.00
CONTRIBUCIONES
0 Archivos
DESCARGAS
0
ALL TIME DESCARGAS
0
CLASIFICACIÓN
5.966
of 177.745
CONTRIBUCIONES
0 Problemas
82 Soluciones
PUNTUACIÓN
1.008
NÚMERO DE INSIGNIAS
3
CONTRIBUCIONES
0 Publicaciones
CONTRIBUCIONES
0 Público Canales
EVALUACIÓN MEDIA
CONTRIBUCIONES
0 Temas destacados
MEDIA DE ME GUSTA
Feeds
Resuelto
Square the input
Given a scalar or vector x, return the square of each element. Example x = [7 2] answer = [49 4]
alrededor de 2 años hace
Resuelto
Given area find sides
In a right angle triangle given area 'A' one arm=x, another arm=2x then find the value of x. For example, area A=400 then ...
alrededor de 2 años hace
Resuelto
Square root of a number
Write a code that will output the square root of x.
alrededor de 2 años hace
Resuelto
Convert yards to feet
The goal of this script is to convert a value given in yards to feet.
alrededor de 2 años hace
Resuelto
Square Diagonal
If n is the given number, then make a diagonal matrix of size 2*2 with the square of that number.
alrededor de 2 años hace
Resuelto
Volume of a box
Given a box with a length a, width b, and height c. Solve the volume of the box.
alrededor de 2 años hace
Resuelto
Divide by 4
Given the variable x as your input, divide it by four and put the result in y.
alrededor de 2 años hace
Resuelto
Determine if input is odd
Given the input n, return true if n is odd or false if n is even.
alrededor de 2 años hace
Resuelto
Inner product of two vectors
Find the inner product of two vectors.
alrededor de 2 años hace
Resuelto
Vector creation
Create a vector using square brackets going from 1 to the given value x in steps on 1. Hint: use increment.
alrededor de 2 años hace
Resuelto
Doubling elements in a vector
Given the vector A, return B in which all numbers in A are doubling. So for: A = [ 1 5 8 ] then B = [ 1 1 5 ...
alrededor de 2 años hace
Resuelto
Flip the vector from right to left
Flip the vector from right to left. Examples x=[1:5], then y=[5 4 3 2 1] x=[1 4 6], then y=[6 4 1]; Request not ...
alrededor de 2 años hace
Resuelto
Convert to Binary Coded Decimal
Convert from decimal representation to <http://en.wikipedia.org/wiki/Binary-coded_decimal Binary Code Decimal> (or BCD) represen...
alrededor de 2 años hace
Resuelto
Bit calculation
Give me the count of numbers from 1 to n having their last two bits as 0. For example function y = ret_count(4) y = x...
alrededor de 2 años hace
Resuelto
Generate this matrix
Generate the following matrix. n = 2; out = [-4 -3 -2 -1 0 -3 -2 -1 0 1 -...
alrededor de 2 años hace
Resuelto
Triangular matrices in 3D array
Given a 3D numeric array _x_, return an array _y_ of the same size in which all entries to the right of the main diagonal are ze...
alrededor de 2 años hace
Resuelto
Toeplitz Matrix
For a given square matrix of order n-by-n check whether this is a Toeplitz matrix or not. Return true if it is.
alrededor de 2 años hace
Resuelto
Max index of 3D array
Given a three dimensional array M(m,n,p) write a code that finds the three coordinates x,y,z of the Maximum value. Example ...
alrededor de 2 años hace
Resuelto
Determine the number of odd integers in a vector
Determine the number of unique odd integers in a vector. Examples: Input x = [2 5 8 3 7 1]; Output y = 4; Inp...
alrededor de 2 años hace
Resuelto
Reference Index Number
Given a reference set R of elements (each unique but identical in type), and a list V of elements drawn from the set R, possibly...
alrededor de 2 años hace
Resuelto
Insert zeros into vector
Insert zeros after each elements in the vector. Number of zeros is specified as the input parameter. For example: x = [1 ...
alrededor de 2 años hace
Resuelto
Change the sign of even index entries of the reversed vector
change the signs of the even index entries of the reversed vector example 1 vec = [4 -1 -2 9] ans = [9 2 -1 -4] example2...
alrededor de 2 años hace
Resuelto
Create a vector whose elements depend on the previous element
The idea is to create a vector A whose elements depend on the previous element : *A(i+1) = 2*A(i)+1* *2 Inputs*: - A : The...
alrededor de 2 años hace
Resuelto
Finding peaks
Find the peak values in the signal. The peak value is defined as the local maxima. For example, x= [1 12 3 2 7 0 3 1 19 7]; ...
alrededor de 2 años hace
Resuelto
Unique values without using UNIQUE function
You must return unique values in a vector in *stable* mode without using the unique function. About stable order flag: ...
alrededor de 2 años hace
Resuelto
Create an index-powered vector
Given a input vector x, return y as index-powered vector as shown below. Example x = [2 3 6 9] then y should be [...
alrededor de 2 años hace
Resuelto
Oh Zero Zero Zero!!!
Hello all, So you have to find the largest section of zeros in a vector and then find the length of those zeros and there start...
alrededor de 2 años hace


