Community Profile

photo

Duane Hanselman


University of Maine

Last seen: 11개월 전 2012년부터 활동

Followers: 0   Following: 0

연락

Electrical Engineering professor. Coauthor of the "Mastering MATLAB" book series.

통계

All
  • Personal Best Downloads Level 1
  • First Review
  • First Submission
  • Leader
  • Commenter
  • Solver

배지 보기

Feeds

보기 기준

문제를 풀었습니다


Sum the squares of numbers from 1 to n
For a given value of n return the sum of square of numbers from 1 to n. Example For n = 2 then sum of squares = 5 (1^2 + ...

8년 초과 전

문제를 풀었습니다


Polynomial Evaluation
Create a routine that takes a list of coefficients of a polynomial in order of increasing powers of x; together with a value of ...

8년 초과 전

문제를 풀었습니다


multiple of nine?
Given a positive number n, return true if n is a multiple of 9 and false if not. Do not make the division and do not use functio...

8년 초과 전

문제를 풀었습니다


prime to each other
Given two integers n1, n2 greater than 1, find out if they have common divisors or are prime to each other. Return "true" if the...

8년 초과 전

문제를 풀었습니다


Sum of Matrix
Sum of Matrix

8년 초과 전

문제를 풀었습니다


Get all corner elements from a matrix where dimension of matrix is always equal to or greater than 2.
if a given matrix a = [1 2 3;4 5 6]; so answer is going to be [1 3;4 6]

8년 초과 전

문제를 풀었습니다


How to make y half of x
Making y equal to x/2.

대략 9년 전

문제를 풀었습니다


Find the product of a Vector
How would you find the product of the vector [1.0 1.5 2.0 2.5 3.0 3.5 4.0 4.5 5.0 5.5 6.0] times 2?; x = [1 : 0.5 : 6]; y ...

대략 9년 전

문제를 풀었습니다


y equals x divided by 2
function y = x/2

대략 9년 전

문제를 풀었습니다


Skip by a multiple
Given an integer create an array of its multiples. Array must have a length of 15

대략 9년 전

문제를 풀었습니다


Array of Ones
Create a 100 X 100 array of ones.

대략 9년 전

문제를 풀었습니다


Is It a Palindrome?
Given a string or array, determine if it is a palindrome.

대략 9년 전

문제를 풀었습니다


sum of the first 10 odd numbers
y = sum(first_10_odd_numbers)

대략 9년 전

문제를 풀었습니다


Cumulative product of a vector
Cumulative product of a vector example x=[1 2 5 10], then answer must be [ 1 2 10 100] *If you like this prob...

대략 9년 전

문제를 풀었습니다


Print the largest eigenvalue of A(500)
Write a function that prints the largest eigenvalue of A(500), without any extraneous output. For a positive integer n, let A...

대략 9년 전

문제를 풀었습니다


Find the rank of a matrix
Determine the rank of a matrix without using the MATLAB function of the same name.

대략 9년 전

문제를 풀었습니다


Array resizing: Removing elements
* Remove elements 2, 4, and 6 from row array pendingTasks

9년 초과 전

문제를 풀었습니다


Constructing column arrays
* Construct a column array elevatorStops with values 2, 4, 5, 9, and 10

9년 초과 전

문제를 풀었습니다


Union of two set decreasing order
Union of two set decreasing order Say, x=[1 2 5] and y=[5 7 8] then answer must be [8 7 5 2 1]

9년 초과 전

문제를 풀었습니다


Beginner's Problem - Squaring
Try out this test problem first. Given the variable x as your input, square it by two and put the result in y. Examples: ...

9년 초과 전

문제를 풀었습니다


Determinant without using det()
Given a square matrix A, compute the <http://en.wikipedia.org/wiki/Determinant determinant> of A. Note that you may not use t...

9년 초과 전

문제를 풀었습니다


Remove the Zero
Given an array n, remove all zeros

9년 초과 전

문제를 풀었습니다


Remove and Sort
Given a randomized array n, sort it and remove all odd integers. n=5 y = [2 4]

9년 초과 전

문제를 풀었습니다


Remove the positive integers.
Given array,x, remove all the positive numbers and display ouput as y. Example x=[1 -2 3 -4] , output is y=[-2 -4].

9년 초과 전

문제를 풀었습니다


Evaluate Polynomial
Given a polynomial equation coefficients in a vector p, you have to return its value at x. Example: For inputs p and x ...

9년 초과 전

문제를 풀었습니다


Polynomial Multiplication
Multiply two polynomial equation.Given polynomial coefficients a and b.

9년 초과 전

문제를 풀었습니다


Hard limit function
Classify x data as if x>=0 then y=1 if x<0 then y=0 Example x = [ -2 -1 0 1 2] y = [ 0 0 1 1 1]

9년 초과 전

문제를 풀었습니다


Find supported functions
Given a function name, return true if that function is supported by the toolboxes that are installed with MATLAB on this machine...

9년 초과 전

문제를 풀었습니다


Reverse a matrix
Its simple. You have to reverse a given matrix.

9년 초과 전

문제를 풀었습니다


Vector Magnitude Calculator
'a' is a vector that starts at the origin and ends at (x, y). Find ||a||. Hint: It is as simple as "ABC".

9년 초과 전

더 보기