Resuelto


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

más de 14 años hace

Resuelto


Find all elements less than 0 or greater than 10 and replace them with NaN
Given an input vector x, find all elements of x less than 0 or greater than 10 and replace them with NaN. Example: Input ...

más de 14 años hace

Resuelto


Number of 1s in a binary string
Find the number of 1s in the given binary string. Example. If the input string is '1100101', the output is 4. If the input stri...

más de 14 años hace

Resuelto


Sum of diagonal of a square matrix
If x = [1 2 4; 3 4 5; 5 6 7] then y should be the sum of the diagonals of the matrix y = 1 + 4 + 7 = 12

más de 14 años hace

Resuelto


Sum all integers from 1 to 2^n
Given the number x, y must be the summation of all integers from 1 to 2^x. For instance if x=2 then y must be 1+2+3+4=10.

más de 14 años hace

Resuelto


Is A the inverse of B?
Given a matrix A and a matrix B, is A the inverse of B? >>A=[2,4;3,5]; >>B=[-2.5,2;1.5,-1]; >>isInverse...

más de 14 años hace

Resuelto


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

más de 14 años hace

Resuelto


Column Removal
Remove the nth column from input matrix A and return the resulting matrix in output B. So if A = [1 2 3; 4 5 6]; and ...

más de 14 años hace

Resuelto


Determine if input is odd
Given the input n, return true if n is odd or false if n is even.

más de 14 años hace

Resuelto


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

más de 14 años hace

Enviada


Multilayer Perceptron Neural Network Model and Backpropagation Algorithm for Simulink
Multilayer Perceptron Neural Network Model and Backpropagation Algorithm for Simulink.

más de 14 años hace | 3618 descargas |

4.5 / 5
Thumbnail

Enviada


The matrix implementation of the two-layer Multilayer Perceptron (MLP) neural networks.
The matrix implementation of the two-layer Multilayer Perceptron (MLP) neural networks.

más de 14 años hace | 4843 descargas |

5.0 / 5

Enviada


The Radial Basis Function (RBF) using pseudo-inverse method for Simulink
The Radial Basis Function (RBF) using pseudo-inverse method for Simulink.

más de 14 años hace | 993 descargas |

4.0 / 5
Thumbnail

Enviada


The Radial Basis Function (RBF) with LMS algorithm for Simulink
The Radial Basis Function (RBF) with LMS algorithm for Simulink.

más de 14 años hace | 1500 descargas |

3.5 / 5
Thumbnail