photo

Duane Hanselman


University of Maine

Active since 2012

Followers: 0   Following: 0

Message

Statistics

All
  • Personal Best Downloads Level 3
  • Editor's Pick
  • First Review
  • 5-Star Galaxy Level 5
  • First Submission
  • Solver

View badges

Feeds

View by

Solved


Derivative of polynomial
Compute the derivative of a given polynomial. The input is an <http://www.mathworks.com/help/matlab/math/representing-polynomial...

meer dan 11 jaar ago

Solved


Is the paranthesis sequence balanced ?
Quantum mechanics and computer science are interested in <http://en.wikipedia.org/wiki/Bra%E2%80%93ket_notation bra-kets>. Today...

bijna 12 jaar ago

Solved


Convert elements in numeric array into different class
Write a function that converts elements in a numeric array into a different class. Example: a = [1:5]; % class: double b...

bijna 12 jaar ago

Solved


Create matrix of replicated elements
Given an input element x, and the dimensions, (m, n) return a matrix of size m x n filled with element x. Example: Input: ...

bijna 12 jaar ago

Solved


Output any real number that is neither positive nor negative
Output any real number that is neither positive nor negative

bijna 12 jaar ago

Solved


Find max
Find the maximum value of a given vector or matrix.

bijna 12 jaar ago

Solved


Add two numbers
Calculate the sum of two numbers. Example input = [2 3] output = 5

bijna 12 jaar ago

Solved


sum of non-primes
The sum of the non-primes below 10 is 1+4+6+8+9+10=38 Find the sum of all the non-primes below the input, N.

bijna 12 jaar ago

Solved


Largest Twin Primes
<http://en.wikipedia.org/wiki/Twin_prime Twin primes> are primes p1, p2 = p1 + 2 such that both p1 and p2 are prime numbers. Giv...

bijna 12 jaar ago

Solved


Reverse the elements of an array
Reverse the order of elements in an array: eg: input X = [ 1 2 3 ; 4 5 6 ; 7 8 9 ] o...

bijna 12 jaar 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...

bijna 12 jaar 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...

bijna 12 jaar 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 ...

bijna 12 jaar ago

Solved


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

bijna 12 jaar 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 ...

bijna 12 jaar ago

Solved


Make a 1 hot vector
Make a vector of length _N_ that consists of all zeros except at index _k_, where it has the value 1. Example: Input ...

bijna 12 jaar ago

Submitted


Fit Polynomial to Data with Constraints
essentially polyfit with many added features

ongeveer 12 jaar ago | 1 download |

Submitted


Linearly Interpolate Triangulation
Interpolate a triangulation based on a given triangulation matrix TRI.

ongeveer 12 jaar ago | 1 download |

Submitted


Spline and Piecewise Polynomial Tool
Create, manipulate, differentiate, and integrate splines

ongeveer 12 jaar ago | 5 downloads |

Submitted


Improved 2-D Streamlines
More comprehensive streamline computation than stream2 in MATLAB.

ongeveer 12 jaar ago | 5 downloads |

Thumbnail

Submitted


Creation and manipulation of Fourier Series
Create, manipulate and evaluate Fourier Series

ongeveer 12 jaar ago | 2 downloads |

Submitted


Extract contour data from contour matrix C
Extract contour data created by CONTOUR, CONTOURF, CONTOUR3, and CONTOURC.

ongeveer 12 jaar ago | 9 downloads |

Submitted


Contour Line Smoothing
Smooths contour lines by fitting them with a 2-D spline.

ongeveer 12 jaar ago | 4 downloads |

Thumbnail

Submitted


Gradient for scattered data
Compute gradient on triangle faces or their vertices for triangulated data

ongeveer 12 jaar ago | 1 download |

Submitted


Contour Plot for Scattered Data
Triangular Contour Plot

ongeveer 12 jaar ago | 25 downloads |

Thumbnail

Submitted


Quiver plot for scattered data
Quiver plots directly from scattered data

ongeveer 12 jaar ago | 1 download |

Thumbnail

Submitted


Comprehensive Polar Plots
Polar plots with handle graphics type parameter setting. Includes log radius support.

ongeveer 12 jaar ago | 7 downloads |

Thumbnail