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

mehr als 14 Jahre vor

Gelöst


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

mehr als 14 Jahre vor

Gelöst


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

mehr als 14 Jahre vor

Gelöst


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

mehr als 14 Jahre vor

Gelöst


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.

mehr als 14 Jahre vor

Gelöst


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

mehr als 14 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: Inpu...

mehr als 14 Jahre vor

Gelöst


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

mehr als 14 Jahre vor

Gelöst


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

mehr als 14 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 ...

mehr als 14 Jahre vor

Gesendet


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

mehr als 14 Jahre vor | 3 Downloads |

4.5 / 5
Thumbnail

Gesendet


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

mehr als 14 Jahre vor | 1 Download |

5.0 / 5

Gesendet


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

mehr als 14 Jahre vor | 1 Download |

4.0 / 5
Thumbnail

Gesendet


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

mehr als 14 Jahre vor | 2 Downloads |

3.5 / 5
Thumbnail