A résolu


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

plus de 5 ans il y a

A résolu


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

plus de 5 ans il y a

A résolu


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

plus de 5 ans il y a

A résolu


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

plus de 5 ans il y a

A résolu


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

plus de 5 ans il y a

A résolu


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

plus de 5 ans il y a

A résolu


Matrix Max Finder
Output the maximum value in a matrix

plus de 5 ans il y a

A résolu


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

plus de 5 ans il y a

A résolu


Real

plus de 5 ans il y a

A résolu


PRIME GENERATOR

plus de 5 ans il y a

A résolu


imaginary

plus de 5 ans il y a

A résolu


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

plus de 5 ans il y a

A résolu


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

plus de 5 ans il y a

A résolu


to the 2 all elements
to the 2 all elements

plus de 5 ans il y a

A résolu


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

plus de 5 ans il y a

A résolu


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

plus de 5 ans il y a

A résolu


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

plus de 5 ans il y a

A résolu


Converts numbers into characters
Converts numbers into characters

plus de 5 ans il y a

A résolu


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

plus de 5 ans il y a

A résolu


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

plus de 5 ans il y a

A résolu


easy problem
Find the last element of the array

plus de 5 ans il y a

A résolu


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

plus de 5 ans il y a

A résolu


Square root of number
Square root of given number.

plus de 5 ans il y a

A résolu


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

plus de 5 ans il y a

A résolu


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;

plus de 5 ans il y a

A résolu


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.

plus de 5 ans il y a

A résolu


modulus of a number
find the modulus of a given number

plus de 5 ans il y a

A résolu


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

plus de 5 ans il y a

A résolu


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

plus de 5 ans il y a

A résolu


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

plus de 5 ans il y a

Charger plus