Estadística
0 Problemas
97 Soluciones
CLASIFICACIÓN
N/A
of 302.377
REPUTACIÓN
N/A
CONTRIBUCIONES
0 Preguntas
0 Respuestas
ACEPTACIÓN DE RESPUESTAS
0.00%
VOTOS RECIBIDOS
0
CLASIFICACIÓN
of 21.750
REPUTACIÓN
N/A
EVALUACIÓN MEDIA
0.00
CONTRIBUCIONES
0 Archivos
DESCARGAS
0
ALL TIME DESCARGAS
0
CLASIFICACIÓN
3.745
of 181.857
CONTRIBUCIONES
0 Problemas
97 Soluciones
PUNTUACIÓN
1.094
NÚMERO DE INSIGNIAS
2
CONTRIBUCIONES
0 Publicaciones
CONTRIBUCIONES
0 Público Canales
EVALUACIÓN MEDIA
CONTRIBUCIONES
0 Temas destacados
MEDIA DE ME GUSTA
Feeds
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...
casi 6 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...
casi 6 años hace
Resuelto
Roll the Dice!
*Description* Return two random integers between 1 and 6, inclusive, to simulate rolling 2 dice. *Example* [x1,x2] =...
casi 6 años hace
Resuelto
Return the first and last character of a string
Return the first and last character of a string, concatenated together. If there is only one character in the string, the functi...
casi 6 años hace
Resuelto
Getting the indices from a vector
This is a basic MATLAB operation. It is for instructional purposes. --- You may already know how to <http://www.mathworks....
casi 6 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.
casi 6 años hace
Resuelto
Create times-tables
At one time or another, we all had to memorize boring times tables. 5 times 5 is 25. 5 times 6 is 30. 12 times 12 is way more th...
casi 6 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...
casi 6 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 = ...
casi 6 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...
casi 6 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 other numbers. Otherwise return false. E...
casi 6 años hace
Resuelto
Return 'on' or 'off'
When the input is true, return 'on', otherwise, return 'off'.
casi 6 años hace
Resuelto
Multiply by 3
Given the variable x as your input, multiply it by three and put the result in y.
casi 6 años hace
Resuelto
Is the input divisible by 3?
Return true if the input is divisible by 3 and false if not.
casi 6 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.
casi 6 años hace
Resuelto
Flipping
Write code that can reverse the vector without using any sort of loop. Example Given the input vector A = [ 1 2 3 4 5...
casi 6 años hace
Resuelto
0<=x<=pi?
Check whether the given angle is between zero and pi. Return logical true or false.
casi 6 años hace
Resuelto
Whether the input is vector?
Given the input x, return 1 if x is vector or else 0.
casi 6 años hace
Resuelto
Beginner's Problem - Squaring
Try out this test problem first. Given the variable x as your input, square it by two and put the result in y. Examples: ...
casi 6 años hace
Resuelto
Add two numbers
Calculate the sum of two numbers. Example input = [2 3] output = 5
casi 6 años hace
Resuelto
What percentage?
Calculate the output c as the percentage of a on b for given a and b.
casi 6 años hace
Resuelto
Unit Matrix
Given n, you should return an n-by-n unit matrix. Example: If input is n=2 then A = [ 1 0 0 1 ] If input ...
casi 6 años hace
Resuelto
Determine the square root
Determine the square root of the value the user has entered, n.
casi 6 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,...
casi 6 años hace
Resuelto
Transpose
Write a MATLAB script in order to convert a random length row vector (v) into a column vector.
casi 6 años hace
Resuelto
Is this triangle right-angled?
Given three positive numbers a, b, c, where c is the largest number, return *true* if the triangle with sides a, b and c is righ...
casi 6 años hace
Resuelto
Rotate a matrix for 180 degree
Rotate a matrix for 180 degree for eg: x=[1 2 3 4] y=[4 3 2 1]
casi 6 años hace

