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


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

A résolu


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

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


Code Wheel
Create a function that offsets each value in a given string by a given amount. For instance, codewheel('hello',1) s...

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


Is the light on?
If true , yes; If false , no create a logical vector;

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


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.

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


De-dupe
Remove all the redundant elements in a vector, but keep the first occurrence of each value in its original location. So if a =...

environ 11 ans il y a

A résolu


write an algebraic expression
An electrician charges $45 per hour and spends $20 a day on gasoline. Write an algebraic expression to represent his earnings fo...

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


Sum of series of numbers
Find the sum of numbers from 1-50 using for loop.

environ 11 ans il y a

A résolu


Write an expression
if 1 = 2 2 = 5 3 = 10 4 = ?

environ 11 ans il y a

A résolu


write an expression
if 1 = 4; 2 = 30; 3 = 120; 4 = 340 write an expression

environ 11 ans il y a

A résolu


simple intrest
Cal simple intrest for given details

environ 11 ans il y a

A résolu


Average
Calculate the average of two numbers

environ 11 ans il y a

A résolu


power
Calculate power for given voltage and current

environ 11 ans il y a

A résolu


calculate hyponetuse
If x,y,z are 3 sides Z being largest

environ 11 ans il y a

A résolu


calculate accleration
Cal accleration for given time and distance

environ 11 ans il y a

A résolu


trignometric function
calculate sinx ,if you are given with tanx

environ 11 ans il y a

A résolu


equate
equate y to x

environ 11 ans il y a

A résolu


find even number
Find even numbers between 1 and nth number

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


Faint Receipt
Suppose you have a receipt with some numbers that have been smudged or didn't print. In particular, the total amount is missing ...

environ 11 ans il y a

A résolu


Divisible by 16
Write a function to determine if a number is divisible by 16. This can be done by a few different methods. Here are two: # If...

environ 11 ans il y a

A résolu


Divisible by 15
Write a function to determine if a number is divisible by 15. If a number is <http://www.mathworks.com/matlabcentral/cody/proble...

environ 11 ans il y a

A résolu


Divisible by 14
Write a function to determine if a number is divisible by 14. If a number is <http://www.mathworks.com/matlabcentral/cody/proble...

environ 11 ans il y a

Charger plus