uu tsi
Estadísticas
CLASIFICACIÓN
2.757
of 288.870
REPUTACIÓN
20
CONTRIBUCIONES
1 Pregunta
4 Respuestas
ACEPTACIÓN DE RESPUESTAS
100.0%
VOTOS RECIBIDOS
4
CLASIFICACIÓN
13.660 of 19.494
REPUTACIÓN
17
EVALUACIÓN MEDIA
0.00
CONTRIBUCIONES
6 Archivos
DESCARGAS
5
ALL TIME DESCARGAS
179
CLASIFICACIÓN
359
of 143.064
CONTRIBUCIONES
0 Problemas
589 Soluciones
PUNTUACIÓN
4.220
NÚMERO DE INSIGNIAS
3
CONTRIBUCIONES
0 Publicaciones
CONTRIBUCIONES
0 Público Canales
EVALUACIÓN MEDIA
CONTRIBUCIONES
0 Temas destacados
MEDIA DE ME GUSTA
Content Feed
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 ...
más de 7 años hace
Resuelto
Do you like your boss?
Do you like your boss? Answer can be any string! For example: Boss = 'Do you like your boss?'; Output = 'yes' or ...
más de 7 años hace
Resuelto
Matrix which contains the values of an other matrix A at the given locations.
If you have two matrices, which together give xc and yc coordinates into another matrix, eg : xc = [1 1 1; 2 2 1]; ...
más de 7 años hace
Resuelto
While loop with multiple conditions
Write a while loop that multiplies userValue by 2 while userValue is not 10 and while userValue is less than 25.
más de 7 años hace
Resuelto
Return unique values without sorting
If the input vector A is [42 1 1], the output value B must be the unique values [42 1] The *values of B are in the s...
más de 7 años hace
Resuelto
Find best placement for ordered dominoes (harder)
Given a list of ordered pairs, find the order they should be placed in a line, such that the sum of the absolute values of the d...
más de 7 años hace
Resuelto
06 - Matrix Equations 2
Define the vectors _aVec_ and _bVec_: <<http://samle.dk/STTBDP/Assignment1_2a.png>> and <<http://samle.dk/STTBDP/Assig...
más de 7 años hace
Resuelto
07 - Common functions and indexing 1
Define _cMat_: <<http://samle.dk/STTBDP/Assignment1_3c.png>> ( _cMat_ = 10x10 matrix where the numbers from 1 to 100 runs ...
más de 7 años hace
Resuelto
Equal to their cube
Tell me three real numbers that are equal to their cubes?
más de 7 años hace
Resuelto
Area of a triangle
A triangle is given with base *'b'* ,vertical hight *'h'* . then find it's area.
más de 7 años hace
Resuelto
Who invented zero?
We know the importance zero in computer science, mathematics... but who invented zero? Clue: He was the first in the line ...
más de 7 años hace
Resuelto
Matrix indexing with two vectors of indices
Given a matrix M and two index vectors a and b, return a row vector x where x(i) = M(a(i),b(i)).
más de 7 años hace
Resuelto
Given a 4x4 matrix, swap the two middle columns
If a = [1 2 3 4; 1 2 3 4; 1 2 3 4; 1 2 3 4]; then the result is ans = 1 3 2 4 1 3 2...
más de 7 años hace
Resuelto
Back to basics 13 - Input variables
Covering some basic topics I haven't seen elsewhere on Cody. Return as a string the name of the input variable to the functio...
más de 7 años hace
Resuelto
Remove the air bubbles
Given a matrix a, return a matrix b in which all the zeros have "bubbled" to the top. That is, any zeros in a given column shoul...
más de 7 años hace
Resuelto
While loop with branching
Write a while loop that adjusts userValue while userValue is less than 0 or greater than 80. If userValue is greater than 80, th...
más de 7 años hace
Resuelto
Count up then down
Create a function that produces counting up from 0 up to n then down to 0 n=2 --> 0 1 2 1 0 n=3 --> ...
más de 7 años hace
Resuelto
Distance walked 2D
Suppose you go from x-y coordinates [3,4] to [0,0] to [0,1] to [1,1], then you walked 7 units of distance.
más de 7 años hace
Resuelto
Angle between two vectors
You have two vectors , determine the angle between these two vectors For example: u = [0 0 1]; v = [1 0 0]; The a...
más de 7 años hace
Resuelto
04 - Scalar Equations 3
Define the variables a, b, and c: <<http://samle.dk/STTBDP/Assignment1_4-a.png>> <<http://samle.dk/STTBDP/Assignment1_4-b....
más de 7 años hace
Resuelto
Remainder
Make 'y' equal to the remainder of 27 divided by 5. When x=27 and t=5
más de 7 años hace
Resuelto
Output any real number that is neither positive nor negative
Output any real number that is neither positive nor negative
más de 7 años hace
Resuelto
Basics: 'Find the eigenvalues of given matrix
Find the eigenvalues y for a given matrix x.
más de 7 años hace
Resuelto
Is A the inverse of B?
Given a matrix A and a matrix B, is A the inverse of B? >>A=[2,4;3,5]; >>B=[-2.5,2;1.5,-1]; >>isInverse...
más de 7 años hace
Resuelto
Create matrix of replicated elements
Given an input element x, and the dimensions, (m, n) return a matrix of size m x n filled with element x. Example: Input: ...
más de 7 años hace
Resuelto
Number of digits in an integer
Specifies how many digits in a given integer. Example: in=100 ==> out=3
más de 7 años hace
Resuelto
Find the hypotenuse
Given a and b (the two sides of a right-triangle), find c, the hypotenuse.
más de 7 años hace
Resuelto
07 - Common functions and indexing 6
Create a variable _m_ as a magic square with the size 6 x 6 Magic squares are defined as square matrices, where the sum of a...
más de 7 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 ...
más de 7 años hace