Community Profile

photo

Lucas García


MathWorks

74 total contributions since 2010

I mainly focus in Machine Learning, Big Data Analytics and Robotics applications.

Contact

Lucas García's Badges

  • First Answer
  • 
  • Knowledgeable Level 3
  • 
  • 3 Month Streak
  • 

View details...

See 1 Cody Badge

Contributions in
View by

Submitted


Example files for "Deep Learning for Computer Vision with MATLAB" Webinar
Example files for "Deep Learning for Computer Vision with MATLAB" Webinar - July 5, 2016 (Spanish)

6 months ago | 49 downloads |

Thumbnail

Answered
Neural Network - Multi Step Ahead Prediction
Hi Jack, When using |narxnet|, the network performs only a one-step ahead prediction after it has been trained. Therefore, yo...

2 years ago | 9

| accepted

Answered
Defuzzification
If you are using the Fuzzy Inference System editor, you can choose in the main GUI one of the defuzzication methods. The input f...

2 years ago | 0

Answered
About random number generators
As you have found out, using |<http://www.mathworks.com/help/matlab/ref/rng.html rng>| is the way to go with the current MATLAB ...

3 years ago | 0

| accepted

Submitted


PID Basics
PID Basics is a nice way to obtain a quick intuition and understanding of PID control.

5 years ago | 17 downloads |

Thumbnail

Answered
corrcoef - plotregression (which algorithm plotregression use)
|plotregression| actually uses the |regression| function (also from Neural Network Toolbox) to compute the R value. However,...

5 years ago | 1

Answered
ODE15S problem with solver
Have you tried with all the different stiff solvers available? |ode15s|, |ode23s|, |ode23t| and |ode23tb|. It could be that the...

5 years ago | 0

| accepted

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

5 years ago

Solved


Back and Forth Rows
Given a number n, create an n-by-n matrix in which the integers from 1 to n^2 wind back and forth along the rows as shown in the...

5 years ago

Solved


Finding Perfect Squares
Given a vector of numbers, return true if one of the numbers is a square of one of the other numbers. Otherwise return false. E...

5 years ago

Solved


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

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

5 years ago

Solved


Determine whether a vector is monotonically increasing
Return true if the elements of the input vector increase monotonically (i.e. each element is larger than the previous). Return f...

5 years ago

Solved


Is my wife right?
Regardless of input, output the string 'yes'.

5 years ago

Answered
bsxfun in GPU in PCT v5.2
The link you are referring to is actually from the current release, R2012a. bsxfun support for GPUArray data is a new feature in...

5 years ago | 0

| accepted

Solved


Binary numbers
Given a positive, scalar integer n, create a (2^n)-by-n double-precision matrix containing the binary numbers from 0 through 2^n...

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

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

5 years ago

Solved


Add two numbers
Given a and b, return the sum a+b in c.

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

5 years ago

Solved


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

5 years ago

Solved


Select every other element of a vector
Write a function which returns every other element of the vector passed in. That is, it returns the all odd-numbered elements, s...

5 years ago

Solved


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

5 years ago

Solved


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

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

5 years ago

Solved


Times 2 - START HERE
Try out this test problem first. Given the variable x as your input, multiply it by two and put the result in y. Examples:...

5 years ago

Answered
Using uiimport and subsequent coded commands
Hi Jason, In order for your code to wait until uiimport has finished, make sure you request a return value from uiimport. ...

6 years ago | 0

| accepted

Answered
Remove ObsNames from MatLab dataset
The property ObsNames may be empty. Otherwise, it should have as many strings as observations. To remove these ObsNames from a d...

6 years ago | 0

| accepted

Answered
How to measure running time of a code using MATLAB
Take a look at the <http://www.mathworks.es/help/techdoc/ref/tic.html tic> and <http://www.mathworks.es/help/techdoc/ref/toc.htm...

6 years ago | 4

| accepted

Answered
Select a random number from a set
There are a few ways to do it. For example, using randi to select in which position is the card that you will extract. pos ...

6 years ago | 1

Load more