解決済み


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

3年以上 前

解決済み


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]

3年以上 前

解決済み


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

3年以上 前

解決済み


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

3年以上 前

解決済み


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

3年以上 前

解決済み


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

3年以上 前

解決済み


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

3年以上 前

解決済み


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

3年以上 前

解決済み


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

3年以上 前

解決済み


Watt
Ampere x Volt = Watt

3年以上 前

解決済み


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

3年以上 前

解決済み


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

3年以上 前

解決済み


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

3年以上 前

解決済み


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

3年以上 前

解決済み


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

3年以上 前

解決済み


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

3年以上 前

解決済み


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

3年以上 前

解決済み


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

3年以上 前

解決済み


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

3年以上 前

解決済み


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

3年以上 前

解決済み


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

3年以上 前

解決済み


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

3年以上 前

解決済み


Area of rhombus
Calculate the rhombus area

3年以上 前

解決済み


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

3年以上 前

解決済み


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

3年以上 前

解決済み


Radians to Degrees
Convert radians to degrees.

3年以上 前

解決済み


Degrees to Radian
Convert degrees to radians

3年以上 前

解決済み


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

3年以上 前

解決済み


Adding Numbers
Add the input numbers to the original.

3年以上 前

解決済み


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

3年以上 前

さらに読み込む