Estadística
0 Problemas
98 Soluciones
CLASIFICACIÓN
N/A
of 302.361
REPUTACIÓN
N/A
CONTRIBUCIONES
0 Preguntas
0 Respuestas
ACEPTACIÓN DE RESPUESTAS
0.00%
VOTOS RECIBIDOS
0
CLASIFICACIÓN
of 21.737
REPUTACIÓN
N/A
EVALUACIÓN MEDIA
0.00
CONTRIBUCIONES
0 Archivos
DESCARGAS
0
ALL TIME DESCARGAS
0
CLASIFICACIÓN
3.154
of 181.623
CONTRIBUCIONES
0 Problemas
98 Soluciones
PUNTUACIÓN
1.184
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
Getting the indices from a vector
This is a basic MATLAB operation. It is for instructional purposes. --- You may already know how to find the logical indices o...
alrededor de 2 años hace
Resuelto
Generate a vector like 1,2,2,3,3,3,4,4,4,4
Generate a vector like 1,2,2,3,3,3,4,4,4,4 So if n = 3, then return [1 2 2 3 3 3] And if n = 5, then return [1 2 2 3 3 3 4...
alrededor de 2 años hace
Resuelto
Number of 1s in a binary string
Find the number of 1s in the given binary string. Example. If the input string is '1100101', the output is 4. If the input stri...
alrededor de 2 años hace
Resuelto
Determine whether a vector is monotonically increasing
Return true if the elements of the input vector increase monotonically (i.e. each element is larger than the previous). Return f...
alrededor de 2 años hace
Resuelto
Swap the first and last columns
Flip the outermost columns of matrix A, so that the first column becomes the last and the last column becomes the first. All oth...
alrededor de 2 años hace
Resuelto
Return the first and last characters of a character array
Return the first and last character of a string, concatenated together. If there is only one character in the string, the functi...
alrededor de 2 años hace
Resuelto
Swap the input arguments
Write a two-input, two-output function that swaps its two input arguments. For example: [q,r] = swap(5,10) returns q = ...
alrededor de 2 años hace
Resuelto
Make a random, non-repeating vector.
This is a basic MATLAB operation. It is for instructional purposes. --- If you want to get a random permutation of integer...
alrededor de 2 años hace
Resuelto
Finding Perfect Squares
Given a vector of numbers, return true if one of the numbers is a square of one of the numbers. Otherwise return false. Example...
alrededor de 2 años hace
Resuelto
Select every other element of a vector
Write a function which returns every other element of the vector passed in. That is, it returns the all odd-numbered elements, s...
alrededor de 2 años hace
Resuelto
Check if number exists in vector
Return 1 if number a exists in vector b otherwise return 0. a = 3; b = [1,2,4]; Returns 0. a = 3; b = [1,2,3]; Returns 1.
alrededor de 2 años hace
Resuelto
Magic is simple (for beginners)
Determine for a magic square of order n, the magic sum m. For example m=15 for a magic square of order 3.
alrededor de 2 años hace
Resuelto
find the surface area of a cube
given cube side length x, find the surface area of the cube, set it equal to y
alrededor de 2 años hace
Resuelto
Energy of an object
Calculate the total mechanical energy of an object. Total Energy= Potential energy + Kinetic energy P.E.=m*g*h K.E.=1/2...
alrededor de 2 años hace
Resuelto
area of a square
find the generic solution for an area of a square
alrededor de 2 años hace
Resuelto
Multiply a column by a row
* Given a column vector C and and a row vector R. * Output a matrix M. * Every column of M equals to C multiplied by correspon...
alrededor de 2 años hace
Resuelto
Create a two dimensional zero matrix
You have to create a zero matrix of size (mxn) whose inputs are m and n and the elements of your matrix should be zeros. Exam...
alrededor de 2 años hace
Resuelto
Kinetic Energy
Given the mass m and velocity v of an object, determine its <http://en.wikipedia.org/wiki/Kinetic_energy kinetic energy>.
alrededor de 2 años hace
Resuelto
Sum of the Matrix Elements
Add up all the elements in a NxM matrix where N signifies the number of the rows and M signifies the number of the columns. E...
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
Sum of Two Numbers
Given two integer numbers x and y, calculate their sum and put it in z. Examples: Inputs x = 2, y = 4 Output z is 6 ...
alrededor de 2 años hace
Resuelto
Find the hypotenuse
Given a and b (the two sides of a right-triangle), find c, the hypotenuse.
alrededor de 2 años hace
Resuelto
Transpose
Write a MATLAB script in order to convert a random length row vector (v) into a column vector.
alrededor de 2 años hace
Resuelto
find the maximum element of the matrix
for e.g x = [1 2; 3 4] y = 4
alrededor de 2 años hace
Resuelto
Sorted highest to lowest?
Return 1 if the input is sorted from highest to lowest, 0 if not. Example: 1:7 -> 0 [7 5 2] -> 1
alrededor de 2 años hace
Resuelto
multiply by three
Given the variable x as your input, multiply it by 3 and put the result equal to y. Examples: Input x = 2 Output y is ...
alrededor de 2 años hace
Resuelto
Product of Array
Given an array of numbers. Get the product of the array.
alrededor de 2 años hace


