Risolto


Count photos
Given n people, everyone must have pictures taken with everyone, each photo includes only two persons, please count the total nu...

quasi 6 anni fa

Risolto


raise 1/3
Raise a number to 1/3 power.

quasi 6 anni fa

Risolto


Matrix element wise multiplication
Take two incoming vectors, and multiply them element wise

quasi 6 anni fa

Risolto


Matrix Ax=B problem
Take a incoming A and B vector, and solve for x

quasi 6 anni fa

Risolto


Resizing Matrices
Take an 4x3 matrix, and resize it to a 2x6 matrix

quasi 6 anni fa

Risolto


Matrix Generation from Vector Multiplication
Output the matrix generated from multiplying two vectors together

quasi 6 anni fa

Risolto


Matrix Max Finder
Output the maximum value in a matrix

quasi 6 anni fa

Risolto


Replace 0 indices in array with 1's
Take a incoming vector, and replace 0's with ones

quasi 6 anni fa

Risolto


Real

quasi 6 anni fa

Risolto


PRIME GENERATOR

quasi 6 anni fa

Risolto


imaginary

quasi 6 anni fa

Risolto


Is It a Palindrome?
Given a string or array, determine if it is a palindrome.

quasi 6 anni fa

Risolto


Find out magnitude of vector
Find out magnitude of vector. Say x=[1 2 3], then answer must sqrt(1^2+2^2+3^2) Please don't use sum function. If you l...

quasi 6 anni fa

Risolto


to the 2 all elements
to the 2 all elements

quasi 6 anni fa

Risolto


03 - Matrix Variables 2
Make the following variable: <<http://samle.dk/STTBDP/Assignment1_3b.png>> A 9x9 matrix of zeros, but with the following v...

quasi 6 anni fa

Risolto


Find the max element of the array
Find the max element of the array

quasi 6 anni fa

Risolto


Area of a Square
Given the length x of the side of a regular square, find the area of the square, A.

quasi 6 anni fa

Risolto


Converts numbers into characters
Converts numbers into characters

quasi 6 anni fa

Risolto


calculate the length of matrix
input 1 array, calculate the length

quasi 6 anni fa

Risolto


What is Sum Of all elements of Matrix
Given the matrix x, return the sum of all elements of matrix. Example: Input x = [ 1 2 0 0 0 0 6 9 3 3 ] ...

quasi 6 anni fa

Risolto


easy problem
Find the last element of the array

quasi 6 anni fa

Risolto


find the mean of all elements in a matrix
given a matrix, just find the mean of all elements in the matrix

quasi 6 anni fa

Risolto


Square root of number
Square root of given number.

quasi 6 anni fa

Risolto


Matlab Basics II - Max & Index of Max
Write a function that takes a vector x, then returns both the max value in x and its location in the vector for example x ...

quasi 6 anni fa

Risolto


find radius of cone
if Slant height of Cone(I)& hight of Cone(H) given then find radius of the Cone(R) for example I=5,h=4 then the ans R=3;

quasi 6 anni fa

Risolto


Find the last digit
FInd the last digit of a given number. Given number is the input and output should be the last digit of that number.

quasi 6 anni fa

Risolto


modulus of a number
find the modulus of a given number

quasi 6 anni fa

Risolto


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

quasi 6 anni fa

Risolto


Reverse the elements of an array
Reverse the order of elements in an array: eg: input X = [ 1 2 3 ; 4 5 6 ; 7 8 9 ] o...

quasi 6 anni fa

Risolto


Skip by a multiple
Given an integer create an array of its multiples. Array must have a length of 15

quasi 6 anni fa

Carica altro