Guðmundur
Háskóli Íslands
Followers: 0 Following: 0
Student Professional Interests: Matlab
Estadística
0 Preguntas
4 Respuestas
0 Problemas
151 Soluciones
CLASIFICACIÓN
4.612
of 295.527
REPUTACIÓN
10
CONTRIBUCIONES
0 Preguntas
4 Respuestas
ACEPTACIÓN DE RESPUESTAS
0.00%
VOTOS RECIBIDOS
1
CLASIFICACIÓN
of 20.242
REPUTACIÓN
N/A
EVALUACIÓN MEDIA
0.00
CONTRIBUCIONES
0 Archivos
DESCARGAS
0
ALL TIME DESCARGAS
0
CLASIFICACIÓN
1.918
of 154.057
CONTRIBUCIONES
0 Problemas
151 Soluciones
PUNTUACIÓN
1.370
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
how can I solve this problem
n = 10; x = pi/5; m = 0:2:2*n; s = ones(1,n+1); s(2:2:end) = -1; cosx = sum((x.^m./factorial(m)).*s);
alrededor de 8 años hace | 0
Resuelto
Triangle sequence
A sequence of triangles is constructed in the following way: 1) the first triangle is Pythagoras' 3-4-5 triangle 2) the s...
alrededor de 8 años hace
Resuelto
Find a Pythagorean triple
Given four different positive numbers, a, b, c and d, provided in increasing order: a < b < c < d, find if any three of them com...
alrededor de 8 años hace
Resuelto
Is this triangle right-angled?
Given any three positive numbers a, b, c, return true if the triangle with sides a, b and c is right-angled. Otherwise, return f...
alrededor de 8 años hace
Resuelto
Side of an equilateral triangle
If an equilateral triangle has area A, then what is the length of each of its sides, x? <<http://upload.wikimedia.org/wikipe...
alrededor de 8 años hace
Resuelto
Write an expression
Assigns finalResult with firstSample plus secondSample, squared, then divided by 3. Ex: If firstSample is 18 and secondSample is...
alrededor de 8 años hace
Resuelto
Construct an array
* Construct an row array named observedValues with elements sensorReading1, sensorReading2, and sensorReading3.
alrededor de 8 años hace
Resuelto
Number of Horns on a unicorn!
Calculate the number of horns on a *unicorn*! And I'm talking about a unicorn with not more than one horn on it!
alrededor de 8 años hace
Resuelto
Compute total cost
A soda costs 2 dollars. A taco costs 3 dollars. Write a statement that assigns totalCost with the total meal cost given the numb...
alrededor de 8 años hace
Resuelto
Computing wind chill
On a windy day, a temperature of 15 degrees may feel colder, perhaps 7 degrees. The formula below calculates the "wind chill," i...
alrededor de 8 años hace
Resuelto
Add two numbers
Calculate the sum of two numbers. Example input = [2 3] output = 5
alrededor de 8 años hace
Resuelto
Sums with Excluded Digits
Add all the integers from 1 to n in which the digit m does not appear. m will always be a single digit integer from 0 to 9. no...
alrededor de 8 años hace
Resuelto
Area of an equilateral triangle
Calculate the area of an equilateral triangle of side x. <<http://upload.wikimedia.org/wikipedia/commons/e/e0/Equilateral-tr...
alrededor de 8 años hace
Resuelto
Circle area using pi
Write a statement that assigns circleArea with the circle's area given circleRadius. Use the built-in mathematical constant pi. ...
alrededor de 8 años hace
Resuelto
Side of a rhombus
If a rhombus has diagonals of length x and x+1, then what is the length of its side, y? <<http://upload.wikimedia.org/wikipe...
alrededor de 8 años hace
Resuelto
Dimensions of a rectangle
The longer side of a rectangle is three times the length of the shorter side. If the length of the diagonal is x, find the width...
alrededor de 8 años hace
Resuelto
Area of an Isoceles Triangle
An isosceles triangle has equal sides of length x and a base of length y. Find the area, A, of the triangle. <<http://upload...
alrededor de 8 años hace
Resuelto
Length of a short side
Calculate the length of the short side, a, of a right-angled triangle with hypotenuse of length c, and other short side of lengt...
alrededor de 8 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...
alrededor de 8 años hace
Resuelto
Length of the hypotenuse
Given short sides of lengths a and b, calculate the length c of the hypotenuse of the right-angled triangle. <<http://upload....
alrededor de 8 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,...
alrededor de 8 años hace
Resuelto
Make one big string out of two smaller strings
If you have two small strings, like 'a' and 'b', return them put together like 'ab'. 'a' and 'b' => 'ab' For extra ...
alrededor de 8 años hace
Resuelto
Lightning strike distance: Writing a function
Write a function named LightningDistance that outputs "distance" given input "seconds". Seconds is the time from seeing lightnin...
alrededor de 8 años hace
Resuelto
Plus x: A first program
_Solve this problem in Mathwork's online Cody system._ Write a statement that assigns y with 5 plus x. Ex: If input x = 2,...
alrededor de 8 años hace
Resuelto
Trimming Spaces
Given a string, remove all leading and trailing spaces (where space is defined as ASCII 32). Input a = ' singular value deco...
alrededor de 8 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 8 años hace
Resuelto
Find the alphabetic word product
If the input string s is a word like 'hello', then the output word product p is a number based on the correspondence a=1, b=2, ....
alrededor de 8 años hace
Resuelto
Pizza value using expression with parentheses
Pizza prices are typically listed by diameter, rather than the more relevant feature of area. Compute a pizza's value (cost per ...
alrededor de 8 años hace
Resuelto
Cell joiner
You are given a cell array of strings and a string delimiter. You need to produce one string which is composed of each string fr...
alrededor de 8 años hace