解決済み


Volume of triangular prism

1年以上 前

解決済み


Area of a Square

1年以上 前

解決済み


Multiply pi
Multiply pi with x!

1年以上 前

解決済み


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

1年以上 前

解決済み


Simple polynomial evaluation
Compute the value of a polynomial of degree n with all coefficients '1', at value x. n is always n>=0. p(x)=1+x+x^2+...+x^n...

1年以上 前

解決済み


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

1年以上 前

解決済み


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]

1年以上 前

解決済み


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

1年以上 前

解決済み


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

1年以上 前

解決済み


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

1年以上 前

解決済み


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

1年以上 前

解決済み


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

1年以上 前

解決済み


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

1年以上 前

解決済み


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

1年以上 前

解決済み


Watt
Ampere x Volt = Watt

1年以上 前

解決済み


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

1年以上 前

解決済み


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

1年以上 前

解決済み


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

1年以上 前

解決済み


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

1年以上 前

解決済み


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

1年以上 前

解決済み


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

1年以上 前

解決済み


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

1年以上 前

解決済み


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

1年以上 前

解決済み


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

1年以上 前

解決済み


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

1年以上 前

解決済み


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

1年以上 前

解決済み


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

1年以上 前

解決済み


Area of rhombus
Calculate the rhombus area

1年以上 前

解決済み


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

1年以上 前

解決済み


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

1年以上 前

もっと読み込む