Community Profile

# Lucas García

### MathWorks

73 total contributions since 2011

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

View details...

Contributions in
View by

Submitted

Face, Age and Emotion Detection
Demo for face, age and emotion detection (all using Deep Learning) and leveraging the capability to import Caffe models in MATLA...

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)

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

5 years ago | 0

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

6 years ago | 0

| accepted

Submitted

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

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

7 years ago | 1

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

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

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

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

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

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

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

8 years ago

Solved

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

8 years ago

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

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

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

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

8 years ago

Solved

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

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

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

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

8 years ago

Solved

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

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

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

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

8 years ago

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

8 years ago | 0

| accepted

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

8 years ago | 0

| accepted

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

8 years ago | 4

| accepted