James Roberts
Followers: 0 Following: 0
Estadísticas
0 Problemas
27 Soluciones
CLASIFICACIÓN
N/A
of 290.019
REPUTACIÓN
N/A
CONTRIBUCIONES
0 Preguntas
0 Respuestas
ACEPTACIÓN DE RESPUESTAS
0.00%
VOTOS RECIBIDOS
0
CLASIFICACIÓN
of 19.620
REPUTACIÓN
N/A
EVALUACIÓN MEDIA
0.00
CONTRIBUCIONES
0 Archivos
DESCARGAS
0
ALL TIME DESCARGAS
0
CLASIFICACIÓN
16.766
of 144.416
CONTRIBUCIONES
0 Problemas
27 Soluciones
PUNTUACIÓN
270
NÚMERO DE INSIGNIAS
1
CONTRIBUCIONES
0 Publicaciones
CONTRIBUCIONES
0 Público Canales
EVALUACIÓN MEDIA
CONTRIBUCIONES
0 Temas destacados
MEDIA DE ME GUSTA
Feeds
Resuelto
Evaluating a polynomial
Given the following polynomial and the value for x, determine y. y = 3x^5 – x^3 + 8x – 3 Example x = 1 y = 3 - 1 +...
más de 4 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 4 años hace
Resuelto
Find the area of a triangle
Given a triangle with a base b and height h, return the triangle area.
más de 4 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]
más de 4 años hace
Resuelto
Bottles of beer
Given an input number representing the number of bottles of beer on the wall, output how many are left if you take one down and ...
más de 4 años hace
Resuelto
Pizza!
Given a circular pizza with radius _z_ and thickness _a_, return the pizza's volume. [ _z_ is first input argument.] Non-scor...
más de 4 años hace
Resuelto
Vector creation
Create a vector using square brackets going from 1 to the given value x in steps on 1. Hint: use increment.
más de 4 años hace
Resuelto
Divide by 4
Given the variable x as your input, divide it by 4 and put the result in y.
más de 4 años hace
Resuelto
Building matrices
If you have matrix A, create matrix B using matrix A as an "element" A = [1 2 3 4; 5 6 7 8...
más de 4 años hace
Resuelto
Replacing a row
For matrix G=[1 2 3; 4 5 6; 7 8 9] Replace the 2nd row with 8s **remember to create matrix G
más de 4 años hace
Resuelto
Counting down
Create a vector that counts from 450 to 200 in increments of 10.
más de 4 años hace
Resuelto
Given area find sides
In a right angle triangle given area 'A' one arm=x, another arm=2x then find the value of x. For example, area A=400 then ...
más de 4 años hace
Resuelto
Determine if input is odd
Given the input n, return true if n is odd or false if n is even.
más de 4 años hace
Resuelto
Maximum value in a matrix
Find the maximum value in the given matrix. For example, if A = [1 2 3; 4 7 8; 0 9 1]; then the answer is 9.
más de 4 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....
más de 4 años hace
Resuelto
Triangle Numbers
Triangle numbers are the sums of successive integers. So 6 is a triangle number because 6 = 1 + 2 + 3 which can be displa...
más de 4 años hace
Resuelto
Make a checkerboard matrix
Given an integer n, make an n-by-n matrix made up of alternating ones and zeros as shown below. The a(1,1) should be 1. Examp...
más de 4 años hace
Resuelto
Find the sum of all the numbers of the input vector
Find the sum of all the numbers of the input vector x. Examples: Input x = [1 2 3 5] Output y is 11 Input x ...
más de 4 años hace
Resuelto
Make the vector [1 2 3 4 5 6 7 8 9 10]
In MATLAB, you create a vector by enclosing the elements in square brackets like so: x = [1 2 3 4] Commas are optional, s...
más de 4 años hace
Resuelto
Times 2 - START HERE
Try out this test problem first. Given the variable x as your input, multiply it by two and put the result in y. Examples:...
más de 4 años hace