Estadística
0 Problemas
100 Soluciones
CLASIFICACIÓN
N/A
of 302.375
REPUTACIÓN
N/A
CONTRIBUCIONES
0 Preguntas
0 Respuestas
ACEPTACIÓN DE RESPUESTAS
0.00%
VOTOS RECIBIDOS
0
CLASIFICACIÓN
of 21.748
REPUTACIÓN
N/A
EVALUACIÓN MEDIA
0.00
CONTRIBUCIONES
0 Archivos
DESCARGAS
0
ALL TIME DESCARGAS
0
CLASIFICACIÓN
3.321
of 181.827
CONTRIBUCIONES
0 Problemas
100 Soluciones
PUNTUACIÓN
1.155
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
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 5 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 5 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 5 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 5 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...
casi 5 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 5 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 5 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 5 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...
casi 5 años hace
Resuelto
Determine the square root
Determine the square root of the value the user has entered, n.
casi 5 años hace
Resuelto
If-then-else
Complete the function below such that if the value of x is in the range 10 to 14, inclusive, the value 18 is assigned to y. Oth...
casi 5 años hace
Resuelto
Transpose
Write a MATLAB script in order to convert a random length row vector (v) into a column vector.
casi 5 años hace
Resuelto
Find the hypotenuse
Given a and b (the two sides of a right-triangle), find c, the hypotenuse.
casi 5 años hace
Resuelto
Counting down
Create a vector that counts from 450 to 200 in increments of 10.
casi 5 años hace
Resuelto
Back to Basics - Find no. of elements in a matrix?
Let A be a m*n matrix. Find the total no. of elements in A ? (Hint - formula based) A = [1 2 3;4 5 6]; output = 6
casi 5 años hace
Resuelto
07 - Common functions and indexing 5
Create the vector _lin_: <<http://samle.dk/STTBDP/Assignment1_7e.png>> (the integers from 1 to 20) Make every other val...
casi 5 años hace
Resuelto
Matlab Basics II - Create a vector with a repeated entry
Create a row vector of length n, filled with 4's, for example, if n = 3 output = [4 4 4] make sure to round UP when n is a...
casi 5 años hace
Resuelto
Divide by 4
Given the variable x as your input, divide it by four and put the result in y.
casi 5 años hace
Resuelto
Square the input
Given a scalar or vector x, return the square of each element. Example x = [7 2] answer = [49 4]
casi 5 años hace
Resuelto
Speed of car
Calculate the Speed of car given its Distance travelled and time taken in x and y respectively
casi 5 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 ...
casi 5 años hace
Resuelto
Who knows the last digit of pi?
There is only one man who knows the last digit of pi, who is that man? Give the name of that man, who, by popular believe, can ...
casi 5 años hace
Resuelto
Area of a Square
Inside a square is a circle with radius r. What is the area of the square?
casi 5 años hace
Resuelto
Area of a triangle
A triangle is given with base *'b'* ,vertical hight *'h'* . then find it's area.
casi 5 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 5 años hace
Resuelto
radius of a spherical planet
You just measured its surface area, that is the input.
casi 5 años hace
Resuelto
Matlab Basics - Absolute Value
Write a script that returns the absolute value of the elements in x e.g. x = [-1 -2 -3 -4] --> y = [1 2 3 4]
casi 5 años hace
Resuelto
Compute a dot product of two vectors x and y
x and y are input vectors, d is a number and contains their dot product
casi 5 años hace

