Gelöst


Pangrams!
A pangram, or holoalphabetic sentence, is a sentence using every letter of the alphabet at least once. Example: Input s ...

fast 6 Jahre vor

Gelöst


Draw 'D'.
Draw a x-by-x matrix 'D' using 0 and 1. example: x=4 ans= [1 1 1 0 1 0 0 1 1 0 0 1 1 1 1 0]

fast 6 Jahre vor

Gelöst


Draw a 'N'!
Given n as input, generate a n-by-n matrix 'N' using 0 and 1 . Example: n=5 ans= [1 0 0 0 1 1 1 0 0 1 1 0 ...

fast 6 Jahre vor

Gelöst


Draw 'F'
Draw a x-by-x matrix 'F' using 1 and 0. (x is odd and bigger than 4) Example: x=5 ans= [1 1 1 1 1 1 0 0 0 0 ...

fast 6 Jahre vor

Gelöst


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

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

fast 6 Jahre vor

Gelöst


Times 3 problem
When you enter the number, it should return the number multiplied by 3

fast 6 Jahre vor

Gelöst


Times 10
Try out this test problem first. Given the variable x as your input, multiply it by ten and put the result in y. Examples:...

fast 6 Jahre vor

Gelöst


Electric Flux
Calculate the flux passing through a surface. E is electric field, A is area.

fast 6 Jahre vor

Gelöst


Watt
Ampere x Volt = Watt

fast 6 Jahre vor

Gelöst


Times 5
Try out this test problem first. Given the variable x as your input, multiply it by five and put the result in y. Examples...

fast 6 Jahre vor

Gelöst


Times 6
Try out this test problem first. Given the variable x as your input, multiply it by six and put the result in y. Examples:...

fast 6 Jahre vor

Gelöst


Times 3
Try out this test problem first. Given the variable x as your input, multiply it by three and put the result in y. Example...

fast 6 Jahre vor

Gelöst


Times 11
Try out this test problem first. Given the variable x as your input, multiply it by eleven and put the result in y. Exampl...

fast 6 Jahre vor

Gelöst


Times 9
Try out this test problem first. Given the variable x as your input, multiply it by nine and put the result in y. Examples...

fast 6 Jahre vor

Gelöst


Times 12
Try out this test problem first. Given the variable x as your input, multiply it by twelve and put the result in y. Exampl...

fast 6 Jahre vor

Gelöst


Times 10
Try out this test problem first. Given the variable x as your input, multiply it by ten and put the result in y. Examples:...

fast 6 Jahre vor

Gelöst


Times 20
Try out this test problem first. Given the variable x as your input, multiply it by twenty and put the result in y. Exampl...

fast 6 Jahre vor

Gelöst


Times 8
Try out this test problem first. Given the variable x as your input, multiply it by eight and put the result in y. Example...

fast 6 Jahre vor

Gelöst


Sum 1 to 100 even number
Write a Matlab program to add all the even numbers from 0 to 100 |

fast 6 Jahre vor

Gelöst


Find the y=(1:x)
Look at the question

fast 6 Jahre vor

Gelöst


Select every other element of a vector
Write a function which returns every other element of the vector passed in. That is, it returns the all odd-numbered elements, s...

fast 6 Jahre vor

Gelöst


Area of rhombus
Calculate the rhombus area

fast 6 Jahre vor

Gelöst


Odd row
Create a row 'y' with odd numbers where the potential maximum number is given by 'x' and the space between them by 'm'. The firs...

fast 6 Jahre vor

Gelöst


Kinetic Energy
Given mass, m, and kinetic energy, KE, find the velocity of the object.

fast 6 Jahre vor

Gelöst


Radians to Degrees
Convert radians to degrees.

fast 6 Jahre vor

Gelöst


Degrees to Radian
Convert degrees to radians

fast 6 Jahre vor

Gelöst


Calculate the CIRCUMFERENCE of circle.
Given the radius is 2, the circumference will be 12.5663.

fast 6 Jahre vor

Gelöst


Adding Numbers
Add the input numbers to the original.

fast 6 Jahre vor

Gelöst


subtraction of two nos
given a and b, subtract and give the answer

fast 6 Jahre vor

Mehr laden