A résolu


find minimum
find the minimum from an array

presque 8 ans il y a

A résolu


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

presque 8 ans il y a

A résolu


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

presque 8 ans il y a

A résolu


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

presque 8 ans il y a

A résolu


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

presque 8 ans il y a

A résolu


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

presque 8 ans il y a

A résolu


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

presque 8 ans il y a

A résolu


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

presque 8 ans il y a

A résolu


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

presque 8 ans il y a

A résolu


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

presque 8 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 8 ans il y a

A résolu


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

presque 8 ans il y a

A résolu


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

presque 8 ans il y a

Problème


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

presque 8 ans il y a | 1 | 15 solveurs

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 8 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 8 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 8 ans il y a

A résolu


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

presque 8 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 8 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 8 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 8 ans il y a

A résolu


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

presque 8 ans il y a

A résolu


modulus of a number
find the modulus of a given number

presque 8 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 8 ans il y a

A résolu


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.

presque 8 ans il y a

A résolu


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

presque 8 ans il y a

A résolu


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

presque 8 ans il y a

A résolu


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.

presque 8 ans il y a

A résolu


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

presque 8 ans il y a

A résolu


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

presque 8 ans il y a

Charger plus