Risolto


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

oltre 5 anni fa

Risolto


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]

oltre 5 anni fa

Risolto


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

oltre 5 anni fa

Risolto


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

oltre 5 anni fa

Risolto


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

oltre 5 anni fa

Risolto


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

oltre 5 anni fa

Risolto


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

oltre 5 anni fa

Risolto


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

oltre 5 anni fa

Risolto


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

oltre 5 anni fa

Risolto


Watt
Ampere x Volt = Watt

oltre 5 anni fa

Risolto


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

oltre 5 anni fa

Risolto


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

oltre 5 anni fa

Risolto


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

oltre 5 anni fa

Risolto


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

oltre 5 anni fa

Risolto


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

oltre 5 anni fa

Risolto


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

oltre 5 anni fa

Risolto


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

oltre 5 anni fa

Risolto


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

oltre 5 anni fa

Risolto


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

oltre 5 anni fa

Risolto


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

oltre 5 anni fa

Risolto


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

oltre 5 anni fa

Risolto


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

oltre 5 anni fa

Risolto


Area of rhombus
Calculate the rhombus area

oltre 5 anni fa

Risolto


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

oltre 5 anni fa

Risolto


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

oltre 5 anni fa

Risolto


Radians to Degrees
Convert radians to degrees.

oltre 5 anni fa

Risolto


Degrees to Radian
Convert degrees to radians

oltre 5 anni fa

Risolto


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

oltre 5 anni fa

Risolto


Adding Numbers
Add the input numbers to the original.

oltre 5 anni fa

Risolto


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

oltre 5 anni fa

Carica altro