Resuelto


Back to Basics
Dot product of vectors. Given two vectors A and B, calculate their dot product. A=[1 2 3]; B=[3 2 1]; C=10;

alrededor de 10 años hace

Resuelto


Determinant of a 3x3 Matrix
Return the determinant of a 3x3 matrix. The built-in Matlab function det is not allowed.

alrededor de 10 años hace

Resuelto


Determine Size of Matrix
Use any function that would output size of matrix

alrededor de 10 años hace

Resuelto


Implement zero based indexing (Vectors only)
Given an input vector and position (which is zero based) output the value Example: x = [1 2 4 5] pos = 2 value = 4

alrededor de 10 años hace

Resuelto


Basics - not so easy division
Please make a function whcih divides x/y, but pay attention for some exceptions with NaN,0,Inf. Sometimes return "ERROR" instead...

alrededor de 10 años hace

Resuelto


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

alrededor de 10 años hace

Resuelto


Basic commands - Greatest common divisor
Please write a function, which, will put as output greatest common divisor. Example: A = [-5 17; 10 0];...

alrededor de 10 años hace

Resuelto


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

alrededor de 10 años hace

Resuelto


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

alrededor de 10 años hace

Resuelto


Basic commands - How old is your matlab version?
Please make a function, which gives amount of days since release it's version.

alrededor de 10 años hace

Resuelto


Which coins to give
I was in shop today. I admired, how shop assistant had to think, which coins to give me. The task is we have a vector v=[0.5 0....

alrededor de 10 años hace

Resuelto


Find my daddy short leg
Given the ratio of the two legs,and the hypotenuse, find the value of the shorter leg

alrededor de 10 años hace

Resuelto


Simple polynomial evaluation
Compute the value of a polynomial of degree n with all coefficients '1', at value x. n is always n>=0. p(x)=1+x+x^2+...+x^n...

alrededor de 10 años hace

Resuelto


Display negative numbers
Given array,x, display all the negative numbers and display output as y. Example x=[1 -2 3 -4] , output is y=[-2 -4].

alrededor de 10 años hace

Resuelto


Standard Deviation
Find standard deviation of an array.

alrededor de 10 años hace

Resuelto


Back to Basics - New Data Type in R2016b - convert a char to a string
Convert an char array into a string.

alrededor de 10 años hace

Resuelto


Mean of a matrix
Determine numeric mean of a matrix

alrededor de 10 años hace

Resuelto


Non trivial identities - round
Return x after rounding it.

alrededor de 10 años hace

Resuelto


Find unique number in input
Find value that occurs in odd number of input elements.

alrededor de 10 años hace

Resuelto


Solve equation numerically
y'=y In order to solve equation using computer, numerical analysis are needed. 1st order Euler's method is one of the metho...

alrededor de 10 años hace

Resuelto


S-T-R-E-T-C-H I-T O-U-T
You will be given a row of numbers (x), and a single number (n). Your job is to write a script that will stretch out the row of...

alrededor de 10 años hace

Resuelto


Rotate Matrix Depending on the input
Rotate matrix (CounterClockwise) via 90, 180 or -90 depending on the input Ex. a = [1 2 3; 4 5 6; 7 8 9] b = 90; ...

alrededor de 10 años hace

Resuelto


Basic commands - What if you can't use mod?
There is a function to calculate remainder after division, but it's not mod. Can you remmeber that function? HINT: Try to lo...

alrededor de 10 años hace

Resuelto


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

alrededor de 10 años hace

Resuelto


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

alrededor de 10 años hace

Resuelto


Implement zero-based indexing for Matrices
Given an input vector and position (which is zero based) output the value Example: x = [1 2; 4 5] pos = [0 1] value = 5 ...

alrededor de 10 años hace

Resuelto


Polynomial evaluation
Compute the value of a polynomial of degree n with coeffcients in vector a, at value x. p(x)=a(1)+a(2)x+a(3)x^2+...+a(n+1)x...

alrededor de 10 años hace

Resuelto


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

alrededor de 10 años hace

Resuelto


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;

alrededor de 10 años hace

Resuelto


cross in array
Make a cross from "1" in odd size array. Other value from array should be equal to "0"; As input you get length of side of arra...

alrededor de 10 años hace

Cargar más