Resuelto


What percentage?
Calculate the output c as the percentage of a on b for given a and b.

más de 3 años hace

Resuelto


Mode
Find the mode of the vector Assumption: no vector is bimodal Example 1: input=[1 2 3 4 4]; output=4 Example 2: input=[7...

más de 3 años hace

Resuelto


Square a Number
Given an input x, return y, which is equal to the square of x.

más de 3 años hace

Resuelto


Fahrenheit to Celsius converter
Convert Fahrenheit to Celsius degrees.

más de 3 años hace

Resuelto


Celsius to Fahrenheit converter
Convert Celsius to Fahrenheit degrees.

más de 3 años hace

Resuelto


find the maximum element of the matrix
for e.g x = [1 2; 3 4] y = 4

más de 3 años hace

Resuelto


Temperature Conversion 2

más de 3 años hace

Resuelto


Temperature Conversion 1

más de 3 años hace

Resuelto


Temperature Conversion 3
Given a temperature in Celcius, convert it to Fahrenheit.

más de 3 años hace

Resuelto


Slope intercept application
Find y given slope (m), x, and y intercept (b).

más de 3 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.

más de 3 años hace

Resuelto


Find the Pattern 3

más de 3 años hace

Resuelto


Find Logic 27

más de 3 años hace

Resuelto


the average value of the elements
Calculate the average value of the elements in the array

más de 3 años hace

Resuelto


Box!
Given a box, find the volume of the cube. With each side = a.

más de 3 años hace

Resuelto


Matlab Basics II - squares
Write a function that takes matrix A, and squares each element in the matrix example: A = [1 2 3] output = [1 4 9]

más de 3 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.

más de 3 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 3 años hace

Resuelto


Find Logic 8

más de 3 años hace

Resuelto


length of a vector
Find twice the length of a given vector.

más de 3 años hace

Resuelto


Spherical Volume
Calculate the volume of a sphere.

más de 3 años hace

Resuelto


Find Logic 4

más de 3 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 3 años hace

Resuelto


Create a vector
Create a vector from 0 to n by intervals of 2.

más de 3 años hace

Resuelto


Get the length of a given vector
Given a vector x, the output y should equal the length of x.

más de 3 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 3 años hace

Resuelto


Matlab Basics - Rounding II
Write a script to round a variable x to 3 decimal places: e.g. x = 2.3456 --> y = 2.346

más de 3 años hace

Resuelto


Rounding off numbers to n decimals
Inspired by a mistake in one of the problems I created, I created this problem where you have to round off a floating point numb...

más de 3 años hace

Resuelto


MATLAB Basic: rounding III
Do rounding towards minus infinity. Example: -8.8, answer -9 +8.1 answer 8 +8.50 answer 8

más de 3 años hace

Resuelto


MATLAB Basic: rounding II
Do rounding nearest integer. Example: -8.8, answer -9 +8.1 answer 8 +8.50 answer 9

más de 3 años hace

Cargar más