Risolto


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

oltre 3 anni fa

Risolto


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...

oltre 3 anni fa

Risolto


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

oltre 3 anni fa

Risolto


Fahrenheit to Celsius converter
Convert Fahrenheit to Celsius degrees.

oltre 3 anni fa

Risolto


Celsius to Fahrenheit converter
Convert Celsius to Fahrenheit degrees.

oltre 3 anni fa

Risolto


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

oltre 3 anni fa

Risolto


Temperature Conversion 2

oltre 3 anni fa

Risolto


Temperature Conversion 1

oltre 3 anni fa

Risolto


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

oltre 3 anni fa

Risolto


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

oltre 3 anni fa

Risolto


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.

oltre 3 anni fa

Risolto


Find the Pattern 3

oltre 3 anni fa

Risolto


Find Logic 27

oltre 3 anni fa

Risolto


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

oltre 3 anni fa

Risolto


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

oltre 3 anni fa

Risolto


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]

oltre 3 anni fa

Risolto


Volume of a box
Given a box with a length a, width b, and height c. Solve the volume of the box.

oltre 3 anni fa

Risolto


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:...

oltre 3 anni fa

Risolto


Find Logic 8

oltre 3 anni fa

Risolto


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

oltre 3 anni fa

Risolto


Spherical Volume
Calculate the volume of a sphere.

oltre 3 anni fa

Risolto


Find Logic 4

oltre 3 anni fa

Risolto


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 ...

oltre 3 anni fa

Risolto


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

oltre 3 anni fa

Risolto


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

oltre 3 anni fa

Risolto


Vector creation
Create a vector using square brackets going from 1 to the given value x in steps on 1. Hint: use increment.

oltre 3 anni fa

Risolto


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

oltre 3 anni fa

Risolto


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...

oltre 3 anni fa

Risolto


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

oltre 3 anni fa

Risolto


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

oltre 3 anni fa

Carica altro