Gelöst


find minimum
find the minimum from an array

fast 10 Jahre vor

Gelöst


find sum of the numbers in array
calculate the sum of numbers in a given array

fast 10 Jahre vor

Gelöst


Perimeters/Circumference
Given an array. Determine whether the perimeter is of a circle, triangle or square. Then calculate the perimeter.

fast 10 Jahre vor

Gelöst


Matlab Basics II - 3 Dimensional Arrays
Assume x is a 3D array with n pages, representing students in a class, for each student (page in the array, the 3rd dimension), ...

fast 10 Jahre vor

Gelöst


The prisoner
"We want information, information, information." "Who are you?" Input can be a string or a number (array).

fast 10 Jahre vor

Gelöst


Powers Of
Fill the vector with powers of 2, so that vector(1) is 2^1, vector(2) is 2^2, etc. Stop with vector(10). Complete the function ...

fast 10 Jahre vor

Gelöst


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

fast 10 Jahre vor

Gelöst


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

fast 10 Jahre vor

Gelöst


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

fast 10 Jahre vor

Gelöst


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

fast 10 Jahre vor

Gelöst


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

fast 10 Jahre vor

Gelöst


Find the qube of a give number.
You are given a number, find the qube of that number.

fast 10 Jahre vor

Gelöst


Linear Least Squares (L2 fitting problem )
Given a set of real measurements (x(i), y(i)) find a line sol(1)x + sol(2) (more specifically furnish the vector with...

fast 10 Jahre vor

Problem


Linear Least Squares (L2 fitting problem )
Given a set of real measurements (x(i), y(i)) find a line sol(1)x + sol(2) (more specifically furnish the vector with...

fast 10 Jahre vor | 1 | 17 Lösungsvorschläge

Gelöst


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

fast 10 Jahre vor

Gelöst


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;

fast 10 Jahre vor

Gelöst


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

fast 10 Jahre vor

Gelöst


given number is power of n or not?
Check weather The input is power of n or not? for example x=8,n=2 --> true x=6,n=2 --> false

fast 10 Jahre vor

Gelöst


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

fast 10 Jahre vor

Gelöst


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

fast 10 Jahre vor

Gelöst


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

fast 10 Jahre vor

Gelöst


find lenth of array
you have given an array, find the length of that.

fast 10 Jahre vor

Gelöst


modulus of a number
find the modulus of a given number

fast 10 Jahre vor

Gelöst


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

fast 10 Jahre vor

Gelöst


Find Out sum of principal diagonal element of given matrix
Find out sum of principal diagonal element of given matrix If A=[1 0 0; 0 1 0;0 0 1], then answer must be 3.

fast 10 Jahre vor

Gelöst


Make a Star Pyramid
Create a star pyramid. First line will have 1 star, second will have two stars and so on... a basic program which is easily done...

fast 10 Jahre vor

Gelöst


Sort complex numbers into complex conjugate pairs
Sort complex numbers into complex conjugate pairs. Example: Input x = [3-6i -1-4i -1+4i 3+6i] Sorted output = [-1 - ...

fast 10 Jahre vor

Gelöst


Find out value of sine given by degree.
Find out value of sine given by degree. If theta=30, it's value must be 0.5.

fast 10 Jahre vor

Gelöst


Find out total non zero element of matrix
Find out Non zero element of matrix A=magic(5) 17 24 1 8 15 23 5 7 14 16 4 6...

fast 10 Jahre vor

Gelöst


Help the Patriots get to the Super Bowl
Given a football by the Patriots, return it to them with 2 psi less air in it. (The original psi is passed as a number to the...

fast 10 Jahre vor

Mehr laden