45 total contributions since 2013

Daniel J. Auger was born in Rainham, Kent, UK. He received the BA and MEng degrees in electrical and information sciences from the University of Cambridge, UK, in 2000, the MA degree from the University of Cambridge, UK, in 2003, and the PhD degree in control engineering from the University of Cambridge, UK, in 2005.

From 2004 to 2008, he was with BAE Systems Integrated System Technologies Ltd, Chelmsford, UK. From 2008 to 2013, he was with The MathWorks Ltd, Cambridge, UK. He is currently a Senior Lecturer in Control and Vehicle Systems at Cranfield University, Beds., UK. His research has been concerned with applications of control to electrified and autonomous vehicles and the development of BMS algorithms for lithium-sulfur traction batteries.

Dr Auger is a Senior Member of the Institute of Electrical and Electronics Engineers in the US, a Chartered Engineer in the UK and a Fellow of the Institution of Engineering and Technology, UK.

Submitted

Driving Cycle (Simulink Block)

Produces NEDC, Artemis, WLTP Class 3 and selected EPA driving cycles easily

13 days ago | 155 downloads |

Solved

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

1 month ago

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

1 month ago

Solved

Find the numeric mean of the prime numbers in a matrix.

There will always be at least one prime in the matrix. Example: Input in = [ 8 3 5 9 ] Output out is 4...

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

1 month ago

Submitted

Lithium-Sulfur Equivalent Circuit Network Model

Simulink model a of a lithium-sulfur cell during discharge

1 year ago | 8 downloads |

Submitted

Electrical Power Source for Simscape

This block allows the user to deliver a specified power to a DC electrical circuit in Simscape

2 years ago | 3 downloads |

Submitted

genpath_safe

Version of "genpath" that ignores Subversion and GitHub config folders.

2 years ago | 1 download |

Submitted

F14 H-Infinity Loop-Shaping Design Example

Illustration of H-infinity loop-shaping with Robust Control Toolbox

3 years ago | 17 downloads |

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

Submitted

bdclose_clean

Closes all open Simulink models except for unsaved ones.

3 years ago | 0 downloads |

Solved

Find state names that end with the letter A

Given a list of US states, remove all the states that end with the letter A. Example: Input s1 = 'Alabama Montana Nebras...

4 years ago

Solved

It dseon't mettar waht oedrr the lrettes in a wrod are.

An internet meme from 2003 (read more <http://www.snopes.com/language/apocryph/cambridge.asp here>) asserted that readers are re...

4 years ago

Solved

Counting in Finnish

Sort a vector of single digit whole numbers alphabetically by their name, in Finnish. See the Wikipedia page for <http://en.wik...

4 years ago

Solved

Interpolator

You have a two vectors, a and b. They are monotonic and the same length. Given a value, va, where va is between a(1) and a(end...

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

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

4 years ago

Solved

Number of Horns on a unicorn!

Calculate the number of horns on a *unicorn*! And I'm talking about a unicorn with not more than one horn on it!

4 years ago

Solved

Find the two most distant points

Given a collection of points, return the indices of the rows that contain the two points most distant from one another. The inpu...

4 years ago

Solved

Function Iterator

Given a handle fh to a function which takes a scalar input and returns a scalar output and an integer n >= 1, return a handle f...

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

4 years ago

Solved

QWERTY coordinates

Given a lowercase letter or a digit as input, return the row where that letter appears on a <http://en.wikipedia.org/wiki/Keyboa...

4 years ago

Solved

Pattern matching

Given a matrix, m-by-n, find all the rows that have the same "increase, decrease, or stay same" pattern going across the columns...

4 years ago

Solved

Elapsed Time

Given two date strings d1 and d2 of the form yyyy/mm/dd HH:MM:SS (assume hours HH is in 24 hour mode), determine how much time, ...

4 years ago

Submitted

kappa - Frequency-wise nu-gap metric

This function calculates the frequency-wise version of the nu-gap between two systems.

5 years ago | 0 downloads |

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

Remove all the consonants

Remove all the consonants in the given phrase. Example: Input s1 = 'Jack and Jill went up the hill'; Output s2 is 'a ...

5 years ago

Solved

Pangrams!

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

5 years ago