Answered
How can I merge two matrix of 2D points following a specific path?
Hello Matteo, I understand that you want to merge two matrices red and blue and you want to merge them according to the blue li...

2 years ago | 0

| accepted

Answered
How to use a trained LSTM network in MATLAB 2013a
Hi Tayyip, If you wish to execute an LSTM model in MATLAB version 2013a, you can utilize code generation. The initial step invo...

2 years ago | 0

Answered
Splitting data to training and testing without validation
Hello Nagwa, It seems like you're asking whether not using validation error for a few short learning models would lead to a l...

2 years ago | 0

Answered
How to make logistic regression model that obtained from literature review?
Hello Kanokkwan, It seems like you know the number of features as well as the value of weights you want to use in logistic regr...

2 years ago | 0

Answered
Error in validation datastore while I am training in parallel
Hello Roaa, The error, “Dot indexing is not supported for variables of this type” occurs when you try to access or modify a pro...

2 years ago | 0

Answered
Equation Modelling/Regression with 3 Independent Variables
Hello Andrew, I think the problem you are facing is, you do not have the exact equation to find the value of H from the ...

2 years ago | 0

Answered
MATLAB coding for artificial neural network (ANN) to automatically determine the species of Gal´apagos finches (birds of the subfamily Geospizinae) in images
Hello Ramos, I have provided with possible answers to each question, please have a look. Learning mechanism that ANN us...

2 years ago | 0

Answered
LSTM RNN output is just the average of the training data
Hello Simone, The issue you've described, where the model consistently outputs the same value (which happens to be the a...

2 years ago | 0

Answered
Artificial neural network transfer learning
Hello Serhat, One of the primary concerns associated with repetitive training is that the model tends to exhibit memorizatio...

2 years ago | 0

Answered
curve fitting with 4 variables
Hello Daniel, If you're looking to fit a curve without a predefined equation, Machine Learning or Deep Learning can be a valu...

2 years ago | 0

Answered
Neural Network Online learning
Hi Hassan Iskandarani, Yes, Simulink does provide a way to perform online learning of a neural network without explicit...

2 years ago | 0

Solved


Replace NaNs with the number that appears to its left in the row.
Replace NaNs with the number that appears to its left in the row. If there are more than one consecutive NaNs, they should all ...

3 years ago

Solved


Counting Money
Add the numbers given in the cell array of strings. The strings represent amounts of money using this notation: $99,999.99. E...

3 years ago

Solved


Pangrams!
A pangram, or holoalphabetic sentence, is a sentence using every letter of the alphabet at least once. Example: Input s ...

3 years ago

Solved


Most nonzero elements in row
Given the matrix a, return the index r of the row with the most nonzero elements. Assume there will always be exactly one row th...

3 years ago

Solved


Pascal's Triangle
Given an integer n >= 0, generate the length n+1 row vector representing the n-th row of <http://en.wikipedia.org/wiki/Pascals_t...

3 years ago

Solved


Which values occur exactly three times?
Return a list of all values (sorted smallest to largest) that appear exactly three times in the input vector x. So if x = [1 2...

3 years ago

Solved


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

3 years ago

Solved


Bullseye Matrix
Given n (always odd), return output a that has concentric rings of the numbers 1 through (n+1)/2 around the center point. Exampl...

3 years ago

Solved


Remove any row in which a NaN appears
Given the matrix A, return B in which all the rows that have one or more <http://www.mathworks.com/help/techdoc/ref/nan.html NaN...

3 years ago

Solved


Return the 3n+1 sequence for n
A Collatz sequence is the sequence where, for a given number n, the next number in the sequence is either n/2 if the number is e...

3 years ago

Solved


Return the largest number that is adjacent to a zero
This example comes from Steve Eddins' blog: <http://blogs.mathworks.com/steve/2009/05/27/learning-lessons-from-a-one-liner/ Lear...

3 years ago

Solved


Find the longest sequence of 1's in a binary sequence.
Given a string such as s = '011110010000000100010111' find the length of the longest string of consecutive 1's. In this examp...

3 years ago

Solved


Swap the first and last columns
Flip the outermost columns of matrix A, so that the first column becomes the last and the last column becomes the first. All oth...

3 years ago

Solved


Summing digits
Given n, find the sum of the digits that make up 2^n. Example: Input n = 7 Output b = 11 since 2^7 = 128, and 1 + ...

3 years ago

Solved


Who Has the Most Change?
You have a matrix for which each row is a person and the columns represent the number of quarters, nickels, dimes, and pennies t...

3 years ago

Solved


Triangle Numbers
Triangle numbers are the sums of successive integers. So 6 is a triangle number because 6 = 1 + 2 + 3 which can be displa...

3 years ago

Solved


Make a checkerboard matrix
Given an integer n, make an n-by-n matrix made up of alternating ones and zeros as shown below. The a(1,1) should be 1. Examp...

3 years ago

Solved


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

3 years ago

Solved


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

3 years ago

Load more