A résolu


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

plus de 13 ans il y a

A résolu


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

plus de 13 ans il y a

A résolu


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

plus de 13 ans il y a

A résolu


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

plus de 13 ans il y a

A résolu


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.

plus de 13 ans il y a

A résolu


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

plus de 13 ans il y a

A résolu


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

plus de 13 ans il y a

A résolu


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

plus de 13 ans il y a

A résolu


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

plus de 13 ans il y a

A résolu


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

plus de 13 ans il y a

A soumis


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

presque 14 ans il y a | 2 téléchargements |

4.5 / 5
Thumbnail

A soumis


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

presque 14 ans il y a | 1 téléchargement |

5.0 / 5

A soumis


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

presque 14 ans il y a | 2 téléchargements |

4.0 / 5
Thumbnail

A soumis


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

presque 14 ans il y a | 2 téléchargements |

3.5 / 5
Thumbnail