Risolto


find minimum
find the minimum from an array

quasi 10 anni fa

Risolto


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

quasi 10 anni fa

Risolto


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

quasi 10 anni fa

Risolto


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

quasi 10 anni fa

Risolto


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

quasi 10 anni fa

Risolto


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

quasi 10 anni fa

Risolto


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

quasi 10 anni fa

Risolto


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

quasi 10 anni fa

Risolto


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

quasi 10 anni fa

Risolto


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

quasi 10 anni fa

Risolto


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

quasi 10 anni fa

Risolto


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

quasi 10 anni fa

Risolto


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

quasi 10 anni fa

Problema


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

quasi 10 anni fa | 1 | 17 risolutori

Risolto


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

quasi 10 anni fa

Risolto


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;

quasi 10 anni fa

Risolto


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

quasi 10 anni fa

Risolto


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

quasi 10 anni fa

Risolto


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

quasi 10 anni fa

Risolto


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

quasi 10 anni fa

Risolto


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

quasi 10 anni fa

Risolto


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

quasi 10 anni fa

Risolto


modulus of a number
find the modulus of a given number

quasi 10 anni fa

Risolto


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

quasi 10 anni fa

Risolto


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.

quasi 10 anni fa

Risolto


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

quasi 10 anni fa

Risolto


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

quasi 10 anni fa

Risolto


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.

quasi 10 anni fa

Risolto


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

quasi 10 anni fa

Risolto


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

quasi 10 anni fa

Carica altro