A résolu


Calculate the logarithm of number
Calculate the logarithm of number x

environ 11 ans il y a

A résolu


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

environ 11 ans il y a

A résolu


factorial of a number x
Factorial of a number x

environ 11 ans il y a

A résolu


Determine if a row vector has NaN
Determine if a row vector x has NaN

environ 11 ans il y a

A résolu


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.

environ 11 ans il y a

A résolu


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.

environ 11 ans il y a

A résolu


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.

environ 11 ans il y a

A résolu


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

environ 11 ans il y a

A résolu


Square a Number
Given an input x, return y, which is equal to the square of x.

environ 11 ans il y a

A résolu


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

environ 11 ans il y a

A résolu


Composite Trapezoidal Rule for Numeric Integration
Use the trapezoidal rule to numerically integrate a function, _f(x)_, passed as the first argument, between upper and lower limi...

environ 11 ans il y a

A résolu


Monte-Carlo integration
Write a function that estimates a d-dimensional integral to at least 1% relative precision. Inputs: * d: positive integer....

environ 11 ans il y a

A résolu


Find the definite integral of various linear functions
A definite integral had a minimum and maximum limit. When you solve this type of problem you must use both quad and the trapz fu...

environ 11 ans il y a

A résolu


increase the number by 7
You need to increase any given digit by 7

environ 11 ans il y a

A résolu


Find the realtion between x and y
x=1 then y=3, x=2 then y=7, x=3 then y=13,

environ 11 ans il y a

A résolu


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

environ 11 ans il y a

A résolu


Normalize by maximum
Subtract the maximum value in a column from the corresponding columns of a matrix.

environ 11 ans il y a

A résolu


Add two hex numbers
Add two hex numbers

environ 11 ans il y a

A résolu


Too mean-spirited
Find the mean of each consecutive pair of numbers in the input row vector. For example, x=[1 2 3] ----> y = [1.5 2.5] x=[1...

environ 11 ans il y a

A résolu


Divisible by 2
This is the first problem in a set of "divisible by x" problems. You will be provided a number as a string and the function you ...

environ 11 ans il y a

A résolu


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

environ 11 ans il y a

A résolu


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)

environ 11 ans il y a

A résolu


Define the operators of function_handles
Suppose f and g are function_handles, try to define f+g,f-g,f*g and f/g. e.g. if f = @(x)x and g = @(x)x+1 ...

environ 11 ans il y a

A résolu


Find the area!
Find the area of a medium Dominos pizza

environ 11 ans il y a

A résolu


Array
Create a 3 by 3 array of 1s

environ 11 ans il y a

A résolu


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]

environ 11 ans il y a

A résolu


Determine the mean of matrix
Determine the mean of matrix without using mean function Hint: use simple algorithm

environ 11 ans il y a

A résolu


Sum of a vetor
y = vectorsum(x)

environ 11 ans il y a

A résolu


Get the array of sum for three consecutive numbers in an array
Get the array of sum, for three consecutive numbers in an array. if Input 'x' does not have at-least 3 elements then 'y' shou...

environ 11 ans il y a

A résolu


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

environ 11 ans il y a

Charger plus