Resuelto


Subtract 12 from x
given a number x, return y, which is x - 12

casi 11 años hace

Resuelto


Create a square matrix of zeros of even order
Create a square matrix of zeros of even order

casi 11 años hace

Resuelto


Calculate the logarithm of number
Calculate the logarithm of number x

casi 11 años hace

Resuelto


Calculate square and cube of number
Calculate square and cube of number x

casi 11 años hace

Resuelto


Repeat The Components of Matrix
Repeat The components of a matrix so that the size of the output matrix is double to input matrix and components are repeated ne...

casi 11 años hace

Resuelto


Find the sum of all the numbers of the input vector
Find the sum of all the numbers of the input vector x. So if input x is x = [1 2 3 5] then the output y should be 11.

casi 11 años hace

Resuelto


Find the sum of all the numbers of the input vector
Find the sum of all the numbers of the input vector x. So if input x is x = [1 2 3 5] then the output y should be 11.

casi 11 años hace

Resuelto


Evened up (or not)
You will be provided with an array or matrix that contains various numbers, in addition to an evening variable, e, set to 1 or 0...

casi 11 años hace

Resuelto


Write a function man that takes a row vector v and returns a matrix H as follows..
Write a function called man that takes a row vector v as an input and returns a matrix H whose first column consist of the eleme...

casi 11 años hace

Resuelto


Min by mean
Substitute the minimum value in each row of a matrix A by the mean of that row (it should also work if the input is a vector)

casi 11 años hace

Resuelto


~(*|/)
Return three quarters of n without using addition, subtraction, multiplication or division.

casi 11 años hace

Resuelto


Create a Matrix of Zeros
Given an input x, create a square matrix y of zeros with x rows and x columns.

casi 11 años hace

Resuelto


Bell Number calculator
Calculate a vector of Bell numbers for sets up to length n. Bell numbers are the maximum number of partitions of a set. See the ...

casi 11 años hace

Resuelto


Average valid values of arrays
Given a 1D array (column or row vector), compute the average of valid values. Valid values are defined via two thresholds: minVa...

casi 11 años hace

Resuelto


Was ist denn los?
Nur für deutschsprechende Leute! Wie geht's? ...also gut, bis bald!

casi 11 años hace

Resuelto


Vertically stack two vectors
Stack two vectors on top of each-other so that... if A = [1 5 3] and B = [8 6 4] then C = [1 5 3 ; 8 6 4]

casi 11 años hace

Resuelto


Add two hex numbers
Add two hex numbers

casi 11 años hace

Resuelto


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.

casi 11 años hace

Resuelto


row removal
Consider a matrix and remove the first row of the matrix.

casi 11 años hace

Resuelto


Converter temp 0 to 200 degree C to 4 to 20mA
Converter temp 0 to 200 degree C to 4 to 20mA (It is used in transmitter)

casi 11 años hace

Resuelto


metre to feet converter
The idea is to make a converter, which exchange meters to feets. We use a factor of 1m = 3.281*1f. so 3m are equals to 9.843 m...

casi 11 años hace

Resuelto


square a vector-Given the variable x as your input, square it and put the result in y.
function y = (x)squared y = x; end

casi 11 años hace

Resuelto


Find the relation
Take x as input and y as output. If x=1 y=3 If x=2 y=14 If x=3 y=39 If x=4 y=84 Based on this relation find giv...

casi 11 años hace

Resuelto


A quadrant matrix
Write a function called quadrants that takes as its input argument a scalar integer named n. The function returns Q, a 2n-by-2n ...

casi 11 años hace

Resuelto


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

casi 11 años hace

Resuelto


Conversion from hours to mili sec
Convert given input in hours to mili seconds

casi 11 años hace

Resuelto


Reverse a string
Reverse the given string. Example input = 'reverse' output = 'esrever'

casi 11 años hace

Resuelto


Create a square matrix of zeros of even order
Create a square matrix of zeros of even order

casi 11 años hace

Resuelto


Create an array (n,n) where only diagonal elements are '1' and others are '0'
Create an array (n,n) where only diagonal elements are '1' and others are '0' EX: n = 3; then Resultant array would be [ 1 0...

casi 11 años hace

Resuelto


Speed of car
Calculate the Speed of car given its Distance travelled and time taken in x and y respectively

casi 11 años hace

Cargar más