Community Profile

Contact

Top 5% contributor

6 downloads

29 days ago

This is a short self-paced course for first year students to get started with MATLAB

688 clicks

10 months ago

You can however use the Simulink Support Software for Arduino, Raspberry Pi , Lego, iPhone & iPad as well as some Android mobile...

1

Answered 1 year ago

This is a first course in scientific computing using MATLAB for scientists and engineers.

294 clicks

3 years ago

The simulations explore the behaviour of dynamical systems complementing a first course on mechanics

212 clicks

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

Solve this!

1 year ago

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

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

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

Try out this test problem first. Given the variable x as your input, multiply it by two and put the result in y. Examples:...

Remove all characters that are below space in ASCII value.

2 years ago

Write a function posX=findPosition(x,y) where x is a vector and y is the number that you are searching for. Examples: fin...

Given a circular pizza with radius _z_ and thickness _a_, return the pizza's volume. [ _z_ is first input argument.] Non-scor...

Flip the outermost columns of matrix A, so that the first column becomes the last and the last column becomes the first. All oth...

Complete the function below such that if the value of x is in the range 10 to 14, inclusive, the value 18 is assigned to y. Oth...

Input x is the sampled signal vector, may have both AC and DC components. Output y should not contain any DC component. Examp...

you just discovered its circumference, that is the input.

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

The sum of the primes below 10 is 2 + 3 + 5 + 7 = 17. Find the sum of all the primes below the input, N. Thank you <http:/...

Find the eigenvalues y for a given matrix x.

Triangle numbers are the sums of successive integers. So 6 is a triangle number because 6 = 1 + 2 + 3 which can be displa...

Given an input vector x, find all elements of x less than 0 or greater than 10 and replace them with NaN. Example: Input ...

Given a positive, scalar integer n, create a (2^n)-by-n double-precision matrix containing the binary numbers from 0 through 2^n...

In MATLAB, you create a vector by enclosing the elements in square brackets like so: x = [1 2 3 4] Commas are optional, s...

This example comes from Steve Eddins' blog: <http://blogs.mathworks.com/steve/2009/05/27/learning-lessons-from-a-one-liner/ Lear...

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

Given n, find the sum of the digits that make up 2^n. Example: Input n = 7 Output b = 11 since 2^7 = 128, and 1 + ...

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

Write a two-input, two-output function that swaps its two input arguments. For example: [q,r] = swap(5,10) returns q = ...

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

Load more

Choose your country to get translated content where available and see local events and offers. Based on your location, we recommend that you select: .

You can also select a location from the following list:

See all countries