Solved

ASCii Code
Using matlab, give the symbol that is associated with ASCii code 122

casi 2 años ago

Solved

ASCii Code
Using Matlab get the ASCii for '?'

casi 2 años ago

Solved

Squaring Matrix
Square the following matrix using matlab % A = 1 2 3 4 5 6 7 8 So new matrix should display...

casi 2 años ago

Solved

Vectors counting by 2
Create a vector numbers from 7 to 15 in increments of 2

casi 2 años ago

Solved

given 3 sides, find area of this triangle
1:3 -> 0; 3:5 -> 6

casi 2 años ago

Solved

Polygon Interior Angle Sum
Theorem is (n−2)x180°

casi 2 años ago

Solved

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

casi 2 años ago

Solved

Wind Chill Computation
On a windy day, a temperature of 15 degrees may feel colder, perhaps 7 degrees. The formula below calculates the "wind chill," i...

casi 2 años ago

Solved

If-then-else
Complete the function below such that if the value of x is in the range 10 to 14, inclusive, the value 18 is assigned to y. Oth...

casi 2 años ago

Solved

Powers Of
Fill the vector with powers of 2, so that vector(1) is 2^1, vector(2) is 2^2, etc. Stop with vector(10). Complete the function ...

casi 2 años ago

Solved

Max of a Vector
Write a function to return the max of a vector

casi 2 años ago

Solved

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

casi 2 años ago

Solved

Step number
Step number

casi 2 años ago

Solved

Power

casi 2 años ago

Solved

Counting down
Create a vector that counts from 450 to 200 in increments of 10.

casi 2 años ago

Solved

Deleting an element in a matrix
For vector Grades=[98 56 78 34 100 88 87], delete the number 78 to get the following matrix Grades=[98 56 34 100 88 87] **re...

casi 2 años ago

Solved

Number of digits in an integer
Specifies how many digits in a given integer. Example: in=100 ==> out=3

casi 2 años ago

Solved

Area of a circle
Find the value for area of the circle if diameter is given

casi 2 años ago

Solved

Calculate area of sector
A=function(r,seta) r is radius of sector, seta is angle of sector, and A is its area. Area of sector A is defined as 0.5*(r^2...

casi 2 años ago

Solved

Pizza!
Given a circular pizza with radius _z_ and thickness _a_, return the pizza's volume. [ _z_ is first input argument.] Non-scor...

casi 2 años ago

Solved

Perimeter of a semicircle
Given the diameter d, find the perimeter of a semicircle

casi 2 años ago

Solved

You just measured its surface area, that is the input.

casi 2 años ago

Solved

Converting binary to decimals
Convert binary to decimals. Example: 010111 = 23. 110000 = 48.

casi 2 años ago

Solved

Sums with Excluded Digits
Add all the integers from 1 to n in which the digit m does not appear. m will always be a single digit integer from 0 to 9. no...

casi 2 años ago

Solved

Cell joiner
You are given a cell array of strings and a string delimiter. You need to produce one string which is composed of each string fr...

casi 2 años ago

Solved

Subset Sum
Given a vector v of integers and an integer n, return the the indices of v (as a row vector in ascending order) that sum to n. I...

casi 2 años ago

Solved

<http://en.wikipedia.org/wiki/Benford%27s_law Benford's Law> states that the distribution of leading digits is not random. This...

casi 2 años ago

Solved

Make a Palindrome Number
Some numbers like 323 are palindromes. Other numbers like 124 are not. But look what happens when we add that number to a revers...

casi 2 años ago

Solved

Trimming Spaces
Given a string, remove all leading and trailing spaces (where space is defined as ASCII 32). Input a = ' singular value deco...

casi 2 años ago

Solved

Find the alphabetic word product
If the input string s is a word like 'hello', then the output word product p is a number based on the correspondence a=1, b=2, ....

casi 2 años ago