Resuelto


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

casi 4 años hace

Resuelto


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

casi 4 años hace

Resuelto


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]

casi 4 años hace

Resuelto


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

casi 4 años hace

Resuelto


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

casi 4 años hace

Resuelto


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

casi 4 años hace

Resuelto


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

casi 4 años hace

Resuelto


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

casi 4 años hace

Resuelto


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

casi 4 años hace

Resuelto


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

casi 4 años hace

Resuelto


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

casi 4 años hace

Resuelto


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

casi 4 años hace

Resuelto


Seperate 2nd column in a matrix

casi 4 años hace

Resuelto


Product of elements in a column

casi 4 años hace

Resuelto


Half the length of the vector

casi 4 años hace

Resuelto


Double the length of the vector

casi 4 años hace

Resuelto


non-repitition of numbers in a vector

casi 4 años hace

Resuelto


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

casi 4 años hace

Resuelto


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

casi 4 años hace

Resuelto


Add two hex numbers
Add two hex numbers

casi 4 años hace

Resuelto


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

casi 4 años hace

Resuelto


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

casi 4 años hace

Resuelto


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

casi 4 años hace

Resuelto


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

casi 4 años hace

Resuelto


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

casi 4 años hace

Resuelto


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

casi 4 años hace

Resuelto


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

casi 4 años hace

Resuelto


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

casi 4 años hace

Resuelto


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

casi 4 años hace

Cargar más