Community Profile

# Tom Gaudette

### MathWorks

Last seen: alrededor de 2 meses hace Con actividad desde 2011

Metric on user behavior

Programming Languages:
Python, C, MATLAB, SQL
Professional Interests:
Graph Database, Data Analysis

All

Ver insignias

#### Content Feed

Ver por

Respondida
How do I get Taxi data for New York city?

alrededor de 6 años hace | 0

Pregunta

How do I get Taxi data for New York city?
In the video <http://www.mathworks.com/videos/matlab-tall-arrays-in-action-122883.html here> , it talks about using the New York...

alrededor de 6 años hace | 1 respuesta | 0

### 1

respuesta

Workflow Design Thoughts: How to create lecture notes, homework examples or book figures easily.
A style guide on how to create published figures for books and lecture notes. M-Files included

alrededor de 6 años hace | 1 descarga |

Respondida
This is not very readable by all, but I will try to parse this for you. 1) The command actually being executed is regexp(str,...

más de 7 años hace | 0

Resuelto

Model a mass spring system
Model an ideal mass-spring system shown below where the spring is initially stretched. <<http://blogs.mathworks.com/images/se...

más de 7 años hace

Resuelto

Add damping to a mass spring system
Model an ideal mass-spring-damper system shown below where the spring is initially stretched. <<http://blogs.mathworks.com/im...

más de 7 años hace

Resuelto

Counting pulses in a signal
Count the number of pulses that are the result of summing each pulse generator block. Pulse Generator blocks produce a recurr...

más de 7 años hace

Resuelto

Make a full wave rectifier
Produce a full wave rectifier waveform for the given sine wave source. For a sine wave input, the output of the full wave rec...

más de 7 años hace

Resuelto

Make a half wave rectifier
Produce a signal that outputs the given sine wave source when it is greater than zero and outputs zero when it is less than zero...

más de 7 años hace

Resuelto

Produce a sine wave
Produce a sine wave with amplitude 3: <<http://blogs.mathworks.com/images/seth/cody/sine-eqn.png>>

más de 7 años hace

Resuelto

Add a block to a model
Produce the following signal: <<http://blogs.mathworks.com/images/seth/cody/add-block-eqn.png>> In this case, the slope of...

más de 7 años hace

Resuelto

Produce a cosine wave
Produce the following signal: <<http://blogs.mathworks.com/images/seth/cody/cosine-eqn.png>>

más de 7 años hace

Resuelto

Produce the following signal: <<http://blogs.mathworks.com/images/seth/cody/add-offset-eqn.png>> You should see a downward...

más de 7 años hace

Resuelto

Connect blocks in a model
Connect the blocks in the model to produce the following signal: <<http://blogs.mathworks.com/images/seth/cody/connect-blocks...

más de 7 años hace

Resuelto

<http://en.wikipedia.org/wiki/Benford%27s_law Benford's Law> states that the distribution of leading digits is not random. This...

más de 9 años hace

Resuelto

Remove all the words that end with "ain"
Given the string s1, return the string s2 with the target characters removed. For example, given s1 = 'the main event' your ...

más de 9 años hace

Resuelto

Create times-tables
At one time or another, we all had to memorize boring times tables. 5 times 5 is 25. 5 times 6 is 30. 12 times 12 is way more th...

más de 9 años hace

Resuelto

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

más de 9 años hace

Resuelto

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

casi 10 años hace

Resuelto

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

casi 10 años hace

Resuelto

Return the first and last character of a string
Return the first and last character of a string, concatenated together. If there is only one character in the string, the functi...

casi 10 años hace

Resuelto

Matrix indexing with two vectors of indices
Given a matrix M and two index vectors a and b, return a row vector x where x(i) = M(a(i),b(i)).

casi 10 años hace

Resuelto

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

casi 10 años hace

Resuelto

middleAsColumn: Return all but first and last element as a column vector
Given input A, return all but the first and last elements, arranged as a column vector. (I.e., all dimensions after the first s...

casi 10 años hace

Resuelto

Quote Doubler
Given a string s1, find all occurrences of the single quote character and replace them with two occurrences of the single quote ...

casi 10 años hace

Resuelto

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

casi 10 años hace

Resuelto

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

casi 10 años hace

Resuelto

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

casi 10 años hace

Resuelto

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

más de 10 años hace

Resuelto

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

casi 11 años hace