Risolto


Array
Create a 3 by 3 array of 1s

oltre 11 anni fa

Risolto


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]

oltre 11 anni fa

Risolto


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

oltre 11 anni fa

Risolto


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

oltre 11 anni fa

Risolto


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

oltre 11 anni fa

Risolto


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

oltre 11 anni fa

Risolto


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)

oltre 11 anni fa

Risolto


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

oltre 11 anni fa

Risolto


Add two hex numbers
Add two hex numbers

oltre 11 anni fa

Risolto


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.

oltre 11 anni fa

Risolto


Sum of a vetor
y = vectorsum(x)

oltre 11 anni fa

Risolto


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

oltre 11 anni fa

Risolto


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

oltre 11 anni fa

Risolto


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

oltre 11 anni fa

Risolto


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

oltre 11 anni fa

Risolto


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

oltre 11 anni fa

Risolto


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

oltre 11 anni fa

Risolto


simple intrest
Cal simple intrest for given details

oltre 11 anni fa

Risolto


Average
Calculate the average of two numbers

oltre 11 anni fa

Risolto


power
Calculate power for given voltage and current

oltre 11 anni fa

Risolto


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

oltre 11 anni fa

Risolto


calculate accleration
Cal accleration for given time and distance

oltre 11 anni fa

Risolto


trignometric function
calculate sinx ,if you are given with tanx

oltre 11 anni fa

Risolto


equate
equate y to x

oltre 11 anni fa

Risolto


find even number
Find even numbers between 1 and nth number

oltre 11 anni fa

Risolto


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

oltre 11 anni fa

Risolto


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

oltre 11 anni fa

Risolto


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

oltre 11 anni fa

Risolto


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

oltre 11 anni fa

Risolto


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

oltre 11 anni fa

Carica altro