Risolto


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

oltre 13 anni fa

Risolto


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

oltre 13 anni fa

Risolto


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

oltre 13 anni fa

Risolto


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

oltre 13 anni fa

Risolto


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.

oltre 13 anni fa

Risolto


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

oltre 13 anni fa

Risolto


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

oltre 13 anni fa

Risolto


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

oltre 13 anni fa

Risolto


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

oltre 13 anni fa

Risolto


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

oltre 13 anni fa

Inviato


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

oltre 13 anni fa | 2 download |

4.5 / 5
Thumbnail

Inviato


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

oltre 13 anni fa | 1 download |

5.0 / 5

Inviato


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

oltre 13 anni fa | 2 download |

4.0 / 5
Thumbnail

Inviato


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

oltre 13 anni fa | 2 download |

3.5 / 5
Thumbnail