Gelöst


Pancakes for everyone!
Accordingly to the <http://nl.mathworks.com/matlabcentral/cody/problems/42460-the-cake-is-a-lie problem 42460>. All the children...

fast 4 Jahre vor

Gelöst


Combine Data With Gaps
Combine data sets a and b where the datasets have "gaps" or unique points. Example: Input a = [1,0; 2,1; ...

fast 4 Jahre vor

Gelöst


Hard limit function
Classify x data as if x>=0 then y=1 if x<0 then y=0 Example x = [ -2 -1 0 1 2] y = [ 0 0 1 1 1]

fast 4 Jahre vor

Gelöst


02 - Vector Variables 2
Make the following variable: <<http://samle.dk/STTBDP/Assignment1_2b.png>>

fast 4 Jahre vor

Gelöst


Are you in XY plane?
Take a point P as an input position Vector (x,y,z). If you are in XY plane, return 1 as an output otherwise return 0. Example...

fast 4 Jahre vor

Gelöst


Matlab Basics II - Operations and Matrix Dimensions
Write a function that takes two inputs, a & b, and outputs the sum and product of the two matrices. The matrices have OPPOSITE d...

fast 4 Jahre vor

Gelöst


Matlab Basics - Logical Tests I
Write a script to test whether a year number is for a leap year or not. eg. x = 1884 output = 1 eg. x = 3 output = 0

fast 4 Jahre vor

Gelöst


Remove the first, third and fifth rows of a matrix
Given a matrix x with at least five rows, return a matrix y that includes all rows of x except for th 1st, the 3rd and 5th. E...

fast 4 Jahre vor

Gelöst


Vector addition
Given two row vectors, v1 and v2, each representing an integer, such that the vector elements are the digits from left to right,...

fast 4 Jahre vor

Gelöst


Spot the rectangle
This problem is related to the 17x17 challenge. Given a matrix filled with ones and zeros, determine whether or not any rectangl...

fast 4 Jahre vor

Gelöst


Sort Reversal
There are n index cards in a row, with n distinct integers written on them (one number per card) so that the numbers are sorted ...

fast 4 Jahre vor

Gelöst


Toads and Frogs Puzzle
On a one-dimensional board with n + m + 1 cells, there are n counters in the first n cells representing Toads and m counters in ...

fast 4 Jahre vor

Gelöst


Seperate 2nd column in a matrix

fast 4 Jahre vor

Gelöst


Product of elements in a column

fast 4 Jahre vor

Gelöst


Half the length of the vector

fast 4 Jahre vor

Gelöst


Double the length of the vector

fast 4 Jahre vor

Gelöst


non-repitition of numbers in a vector

fast 4 Jahre vor

Gelöst


Find 10's complement
Find 10's complement of a given number. An example is <http://electrical4u.com/9s-complement-and-10s-complement/ shown here>.

fast 4 Jahre vor

Gelöst


Count number of words in string
Count number of words in string Examples 'hi', answer is 1 'hi hi', answer is 2 'I enjoy cody', answer is 3

fast 4 Jahre vor

Gelöst


Add two hex numbers
Add two hex numbers

fast 4 Jahre vor

Gelöst


Find difference of two set as per example
Find difference of two set as per example Say x=[1:5] and y=[2:6] then, set_diff(x,y) should give output[1] and set_diff(y...

fast 4 Jahre vor

Gelöst


Juego de posiciones
Crea una función que ordene vectores de tal manera que los primeros números sean negativos ordenados de menor a mayor. Y después...

fast 4 Jahre vor

Gelöst


vector to string
Determine what the ASCII characters spell out. Example: input = [ 72 73 71 72] output = 'HIGH'

fast 4 Jahre vor

Gelöst


Two dimensional moving average
A=[1 2 3 4 5 1 2 2 2 3 2 3 3 3 4 1 1 4 4 2] B=[1 1;1 1]; % This is can be used for weight factor of moving a...

fast 4 Jahre vor

Gelöst


Change string to number
Change given string to number. (hint: there is already function) Changing from ['1234'] to [1234] is one of example

fast 4 Jahre vor

Gelöst


Corresponding ASCII code.
Given the number, the output will show the corresponding ASCII code.

fast 4 Jahre vor

Gelöst


If you have matrix A, create matrix B using matrix A as an "element"
A = [1 2 3 4; 5 6 7 8] B = [1 2 3 4 1 2 3 4; 5 6 ...

fast 4 Jahre vor

Gelöst


ASCII Code
Using matlab, give the symbol that is associated with ASCii code 90.

fast 4 Jahre vor

Gelöst


ASCII code of a leter.
Given the letter, the output will show the corresponding ASCII code.

fast 4 Jahre vor

Mehr laden