A résolu


Corresponding letter to ASCII code.
Given the letter, the output will show the corresponding ASCII code.

presque 10 ans il y a

A résolu


find a specific element from an matrix
Find the element from matrix which is in 2nd row and 3rd column.

presque 10 ans il y a

A résolu


Basic commands - What platform are you using?
Please ask matlab waht platform are you using.

presque 10 ans il y a

A résolu


Basic commands - logarithmically spaced vector
Make a function, which will give a vector: y=[ 0.01 0.1 1 10 ... 10^x];

presque 10 ans il y a

A résolu


Basic commands - Excuse me, what time is it?
Please write a function, which will return current hours and minutes, please notice we are using 24h time. Return a vector li...

presque 10 ans il y a

A résolu


Annual Salary
What is the annual salary of Mr. Cody if he works 40 hours a week and gets $x per hour and a yearly bonus of $2000? (Let, 50 wee...

presque 10 ans il y a

A résolu


ASCII Code
Using matlab, give the symbol that is associated with ASCii code 90.

presque 10 ans il y a

A résolu


multiply an array by its position number
You have given an array. Multiply an array by its position number

presque 10 ans il y a

A résolu


Basic commands - Left division matrix
Please write a function which will left division of A,B Pay attention this is right division: A/B

presque 10 ans il y a

A résolu


Basic commands - rounding
make a function which will round to integer, which is nearer to zero. Example x=[-2.5 2]; y=[-2 2];

presque 10 ans il y a

A résolu


angle in regular polygon
Make a function which returns measure of interior angle in x-side regular polygon. x is as input. Please pay attention, that 1 ...

presque 10 ans il y a

A résolu


Basic commands - Where did I install Matlab?
Please make a function, which returns path to Matlab installation folder

presque 10 ans il y a

A résolu


Basic commands - Which licence do you use?
Please ask Matlab which license do you have on computer. Interesting fact: Pay attention what number of license has Cody. ...

presque 10 ans il y a

A résolu


Basic commands - search path
Please list all search path from Matlab.

presque 10 ans il y a

A résolu


modulus of a number
find the modulus of a given number

presque 10 ans il y a

A résolu


Basic commands - Which matlab files are here?
Please make a function which will list all specific for Matlab files in current folder.

presque 10 ans il y a

A résolu


first element of matrix
find the first elements of a column matrix

presque 10 ans il y a

A résolu


Basic commands - Least common multiple
Make a function which will return least common multiple of "a" and "b" Example: a=8; b=6; y=24;

presque 10 ans il y a

A résolu


Find remainder when x is divided by 3
Find remainder when x is divided by 3

presque 10 ans il y a

A résolu


what can you get for exactly amount of money
You go to store, where each product has price. Prices are in vector s = [ 195 125 260 440 395 290] and you have amount ...

presque 10 ans il y a

A résolu


Basic commands - amount of inputs
Make a function, which will return amount of given inputs Example: amountinput(1,2,4,3,10) -> 5 , because we gave functio...

presque 10 ans il y a

A résolu


Sudoku square
We have a small Sudoku square, but one number is missing. x = [ 1 5 4 8 6 3 0 9 7 ] Make a function, wher...

presque 10 ans il y a

A résolu


If you have matrix A, create matrix B using matrix A as an "element"
A = [1 2 3 4; 5 6 7 8] B = [1 2 3 4 1 2 3 4; 5 6 ...

presque 10 ans il y a

A résolu


BASICS - sum part of vector
Please make a function, where as input you get vector "x" and and vector "c", where in "c" vector you get indexes to sum. Examp...

presque 10 ans il y a

A résolu


Prime number removal
remove all prime numbers from the input e.g. input = 1 2 3 4 5 6 7 8 9 10 11 12 ...

presque 10 ans il y a

A résolu


Unit conversion
Convert x degree Celsius to y degree Fahrenheit.

presque 10 ans il y a

A résolu


Square root of a number
Write a code that will output the square root of x.

presque 10 ans il y a

A résolu


What's size of TV?
Many people buy TV. Usually they ask about diagonal. But also important are width and height. Let's assume that all TV have rati...

presque 10 ans il y a

A résolu


Area of a circle
Given the radius x, y would be the area of a circle. Pi = 3.1416

presque 10 ans il y a

Charger plus