A résolu


MATLAB Basic: rounding
Do rounding near to zero Example: -8.8, answer -8 +8.1 answer 8

plus de 2 ans il y a

A résolu


Double all elements in the array
Duplicate all elements in the array

plus de 2 ans il y a

A résolu


Find the max element of the array
Find the max element of the array

plus de 2 ans il y a

A résolu


calculate the length of matrix
input 1 array, calculate the length

plus de 2 ans il y a

A résolu


Converts numbers into characters
Converts numbers into characters

plus de 2 ans il y a

A résolu


Square root
Given x (a matrix), give back another matrix, where all the elements are the square roots of x's elements.

plus de 2 ans il y a

A résolu


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

plus de 2 ans il y a

A résolu


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

plus de 2 ans il y a

A résolu


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

plus de 2 ans il y a

A résolu


Is my wife right?
Regardless of input, output the string 'yes'.

plus de 2 ans il y a

A résolu


Return area of square
Side of square=input=a Area=output=b

plus de 2 ans il y a

A résolu


Add two numbers
Given a and b, return the sum a+b in c.

plus de 2 ans il y a

A résolu


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

plus de 2 ans il y a

A résolu


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

plus de 2 ans il y a

A résolu


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

plus de 2 ans il y a

A résolu


Convert from Fahrenheit to Celsius
Given an input vector F containing temperature values in Fahrenheit, return an output vector C that contains the values in Celsi...

plus de 2 ans il y a