Statistik
RANG
115.445
of 301.577
REPUTATION
0
BEITRÄGE
0 Fragen
1 Antwort
ANTWORTZUSTIMMUNG
0.00%
ERHALTENE STIMMEN
0
RANG
of 21.338
REPUTATION
N/A
DURCHSCHNITTLICHE BEWERTUNG
0.00
BEITRÄGE
0 Dateien
DOWNLOADS
0
ALL TIME DOWNLOADS
0
BEITRÄGE
0 Beiträge
BEITRÄGE
0 Öffentlich Kanäle
DURCHSCHNITTLICHE BEWERTUNG
BEITRÄGE
0 Discussions
DURCHSCHNITTLICHE ANZAHL DER LIKES
Feeds
Gelöst
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...
fast 8 Jahre vor
Gelöst
Reverse the vector
Reverse the vector elements. Example: Input x = [1,2,3,4,5,6,7,8,9] Output y = [9,8,7,6,5,4,3,2,1]
fast 8 Jahre vor
Gelöst
Sum of diagonal of a square matrix
If x = [1 2 4; 3 4 5; 5 6 7] then y should be the sum of the diagonals of the matrix y = 1 + 4 + 7 = 12
mehr als 8 Jahre vor
Gelöst
Calculate the Hamming distance between two strings
Inspired by a similar Cody problem found <http://www.mathworks.com/matlabcentral/cody/problems/93-calculate-the-levenshtein-dist...
mehr als 8 Jahre vor
Gelöst
Number of 1s in a binary string
Find the number of 1s in the given binary string. Example. If the input string is '1100101', the output is 4. If the input stri...
mehr als 8 Jahre vor
Gelöst
Return the first and last character of a string
Return the first and last character of a string, concatenated together. If there is only one character in the string, the functi...
mehr als 8 Jahre vor
Gelöst
Create a square matrix of zeros of even order
Create a square matrix of zeros of even order
mehr als 8 Jahre vor
Gelöst
calculate linear convolution two vectors
for e.g in: a = [1 2 3] b = [4 5 6] out: y = [4 13 28 27 18]
mehr als 8 Jahre vor
Gelöst
Determine the mean of matrix
Determine the mean of matrix without using mean function Hint: use simple algorithm
mehr als 8 Jahre vor
Gelöst
Summation of array
Given an array, Find the sum of all of the elements in it Examples: Input x = [1 2 3 5; 4 5 6 7]; Output y is 33
mehr als 8 Jahre vor
Gelöst
Determine if input is divisible by three.
Given a positive integer, n, determine if n is divisible by 3. If yes, the function should output true. If no, false.
mehr als 8 Jahre vor
Gelöst
Reverse a string
Reverse the given string. Example input = 'reverse' output = 'esrever'
mehr als 8 Jahre vor
Gelöst
Square a Number
Given an input x, return y, which is equal to the square of x.
mehr als 8 Jahre vor
Gelöst
Create a Standard Size Vector
Given an input x, create a row vector y from 1 to x with 5 elements.
mehr als 8 Jahre vor
Gelöst
Create a Matrix of Zeros
Given an input x, create a square matrix y of zeros with x rows and x columns.
mehr als 8 Jahre vor
Gelöst
Give prime Numbers upto n
You are given a input number x; print all the prime numbers less than equal to x.
mehr als 8 Jahre vor
Gelöst
Throw common elements of two vector arrays in sorted manner
Throw common elements as output in sorted manner (acending order) of two given input vector arrays
mehr als 8 Jahre vor
Gelöst
Throw common elements of two vector arrays
Throw common elements as output of two given input vector arrays
mehr als 8 Jahre vor
Gelöst
multiple of nine?
Given a positive number n, return true if n is a multiple of 9 and false if not. Do not make the division and do not use functio...
mehr als 8 Jahre vor
Gelöst
Find elements of set A those are not in set B
Given two sets of data A and B. Find elements of A those are not in set B. ...
mehr als 8 Jahre vor
Gelöst
Matrix of almost all zeros, except for main diagonal
Write a program to input an integer n and build a n-by-n matrix with the numbers 1,2,...,n on the main diagonal and zeros elsewh...
mehr als 8 Jahre vor
Gelöst
MATLAB Basic: rounding
Do rounding near to zero Example: -8.8, answer -8 +8.1 answer 8
mehr als 8 Jahre vor
Gelöst
Back to Basics - Find no. of elements in a matrix?
Let A be a m*n matrix. Find the total no. of elements in A ? (Hint - formula based) A = [1 2 3;4 5 6]; output = 6
mehr als 8 Jahre vor
Gelöst
MATLAB Basic: rounding II
Do rounding nearest integer. Example: -8.8, answer -9 +8.1 answer 8 +8.50 answer 9
mehr als 8 Jahre vor
Gelöst
MATLAB Basic: rounding III
Do rounding towards minus infinity. Example: -8.8, answer -9 +8.1 answer 8 +8.50 answer 8
mehr als 8 Jahre vor
Gelöst
MATLAB Basic: rounding IV
Do rounding towards plus infinity. Example: -8.8, answer -8 +8.1 answer 9 +8.50 answer 9
mehr als 8 Jahre vor
Gelöst
Generate a random matrix A of (1,-1)
Input n: is an positive integer which serves as the dimension of the matrix A; Output: A=(Aij),where each entry Aij is either...
mehr als 8 Jahre vor
Gelöst
Is A the inverse of B?
Given a matrix A and a matrix B, is A the inverse of B? >>A=[2,4;3,5]; >>B=[-2.5,2;1.5,-1]; >>isInverse...
mehr als 8 Jahre vor



