Gelöst


the average value of the elements
Calculate the average value of the elements in the array

fast 2 Jahre vor

Gelöst


Calculate Amount of Cake Frosting
Given two input variables r and h, which stand for the radius and height of a cake, calculate the surface area of the cake you n...

fast 2 Jahre vor

Gelöst


Roll the Dice!
*Description* Return two random integers between 1 and 6, inclusive, to simulate rolling 2 dice. *Example* [x1,x2] =...

fast 2 Jahre vor

Gelöst


Making change
Given an amount of currency, return a vector of this form: [100 50 20 10 5 2 1 0.5 0.25 0.1 0.05 0.01] Example: Input a = 2...

fast 2 Jahre vor

Gelöst


Rotate Matrix @180 degree
Rotate Matrix @180 degree Example A=[8 1 6; 3 5 7; 4 9 2], then answer would be [2 9 4;...

fast 2 Jahre vor

Gelöst


calculate the length of matrix
input 1 array, calculate the length

fast 2 Jahre vor

Gelöst


Converts numbers into characters
Converts numbers into characters

fast 2 Jahre vor

Gelöst


Find the max element of the array
Find the max element of the array

fast 2 Jahre vor

Gelöst


Calculate the average value of the elements in the array
Calculate the average value of the elements in the array

fast 2 Jahre vor

Gelöst


Remove a specific row with max value
Remove the row that contain the max value in the matrix? If you like the problem, please like it :)

fast 2 Jahre vor

Gelöst


Return area of square
Side of square=input=a Area=output=b

fast 2 Jahre vor

Gelöst


Fibonacci sequence
Calculate the nth Fibonacci number. Given n, return f where f = fib(n) and f(1) = 1, f(2) = 1, f(3) = 2, ... Examples: Input...

fast 2 Jahre vor

Gelöst


Convert from Fahrenheit to Celsius
Given an input vector F containing temperature values in Fahrenheit, return an output vector C that contains the values in Celsi...

fast 2 Jahre vor

Gelöst


Arrange Vector in descending order
If x=[0,3,4,2,1] then y=[4,3,2,1,0]

fast 2 Jahre vor

Gelöst


Find max
Find the maximum value of a given vector or matrix.

fast 2 Jahre vor

Gelöst


Get the length of a given vector
Given a vector x, the output y should equal the length of x.

fast 2 Jahre vor

Gelöst


to the 2 all elements
to the 2 all elements

fast 2 Jahre vor

Gelöst


Double all elements in the array
Duplicate all elements in the array

fast 2 Jahre vor

Gelöst


Determine whether a vector is monotonically increasing
Return true if the elements of the input vector increase monotonically (i.e. each element is larger than the previous). Return f...

fast 2 Jahre vor

Gelöst


Who Has the Most Change?
You have a matrix for which each row is a person and the columns represent the number of quarters, nickels, dimes, and pennies t...

fast 2 Jahre vor

Gelöst


Add two numbers
Given a and b, return the sum a+b in c.

fast 2 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 2 Jahre vor

Gelöst


Triangle Numbers
Triangle numbers are the sums of successive integers. So 6 is a triangle number because 6 = 1 + 2 + 3 which can be displayed ...

fast 2 Jahre vor

Gelöst


Find the sum of all the numbers of the input vector
Find the sum of all the numbers of the input vector x. Examples: Input x = [1 2 3 5] Output y is 11 Input x ...

fast 2 Jahre vor

Gelöst


Make the vector [1 2 3 4 5 6 7 8 9 10]
In MATLAB, you create a vector by enclosing the elements in square brackets like so: x = [1 2 3 4] Commas are optional, s...

fast 2 Jahre vor

Gelöst


Times 2 - START HERE
Try out this test problem first. Given the variable x as your input, multiply it by two and put the result in y. Examples:...

fast 2 Jahre vor

Beantwortet
Suggestions about GUI development
Saving past data and repopulating it everytime you open the GUI is relatively simple. I am not so sure that I understand what yo...

mehr als 6 Jahre vor | 0

| akzeptiert

Frage


GUI character checking edit text box
When I use the get function to get a value from my edit text box I use get(hfig_home.txt_unit_weight, 'string') where hfig.home ...

mehr als 6 Jahre vor | 0 Antworten | 0

0

Antworten