# pign_an

**Statistics**

**Cody**

**0** Problems

**1268** Solutions

RANK**N/A**

of 257,823

REPUTATION**N/A**

CONTRIBUTIONS

**0** Questions

**0** Answers

ANSWER ACCEPTANCE **
0.00%
**

VOTES RECEIVED**0**

RANK

of 17,766

REPUTATION**N/A**

AVERAGE RATING**0.00**

CONTRIBUTIONS**0** Files

DOWNLOADS **0**

ALL TIME DOWNLOADS**0**

CONTRIBUTIONS**0 Posts**

CONTRIBUTIONS**0** Public Channels

AVERAGE RATING

CONTRIBUTIONS**0** Highlights

AVERAGE NO. OF LIKES

**Content Feed**

Solved

Function composition - harder

Write a function that accepts an arbitrary number of function handles f_1, f_2, ..., f_n and returns the composition h. That is,...

2 months ago

Solved

function on a moving window

Create a function that applies an operation (such as @sum, @mean, @std, @norm etc) to a moving window of the data. First exam...

2 months ago

Solved

Create a function handle that reverses the input arguments of another function handle

Given a function that takes two input arguments and returns one output, create another function handle that performs the same op...

2 months ago

Solved

Apply Function to Each Field of a Structure Array: Part 2

The builtin <http://www.mathworks.com/help/matlab/ref/structfun.html?=structfun structfun> applies a function handle to each fie...

2 months ago

Solved

Apply Function to Each Field of a Structure Array: Part 1

The builtin <http://www.mathworks.com/help/matlab/ref/structfun.html?=structfun structfun> applies a function handle to each fie...

2 months ago

Solved

Define the operators of function_handles

Suppose f and g are function_handles, try to define f+g,f-g,f*g and f/g. e.g. if f = @(x)x and g = @(x)x+1 ...

2 months ago

Solved

Two-output anonymous function?

Return a function handle that when applied to an input, it produces two outputs: the first is the same as the input, and the sec...

2 months ago

Solved

Handle to an array of functions

Given a cell array of functions that operate on scalars, it is required to return a function handle to process a vector of value...

2 months ago

Solved

Apply a function array to an array of numbers

It is required to apply a cell array of functions to a numerical array, where the functions accept only scalar inputs. Exampl...

2 months ago

Solved

Function composition

Write a function that accepts two function handles f and g and returns the composition h. That is, h = (f o g)(x) = f(g(x)) ...

2 months ago

Solved

Area of a Square

Given the length x of the side of a regular square, find the area of the square, A.

4 months ago

Solved

Perfect square.

Determine if the input is a perfect square or not. Example - If input is 25, return 1. If input is 17, return 0.

4 months ago

Solved

TRON strategy toggle

Detect whether your lightcycle is on same side of existing walls as opponents lightcycle. This function is useful in toggling a...

5 months ago

Solved

The Answer to Life, the Universe, and Everything

A variation of a previous Hitchhiker's Guide to the Galaxy problem. *Inputs:* Life, the Universe, and Everything *Output:*...

5 months ago

Solved

How many jokers?

* Given DNA codes of a group of suspects, * and a code for certain types of jokers, * Count how many jokers of that type. * ...

5 months ago

Solved

Who has power to do everything in this world?

There is only one person who is older than this universe. He is Indian version of Chuck Norris.

5 months ago

Solved

The Hitchhiker's Guide to MATLAB

Output logical "true" if the input is the answer to life, the universe and everything. Otherwise, output logical "false".

5 months ago

Solved

Easy Sequences 8: Triangles with integer sides and prime perimeters

The triangle below is special. It has integer sides and a prime perimeter. Given an integer "n" we want to know how many t...

5 months ago

Solved

Easy Sequences 40: Quadratic Congruence

Quadratic Congruence is a modular equation of the form: . In this exercise you will be given a vector containing the coefficie...

5 months ago

Solved

Easy Sequences 9: Faithful Pairs

A "faithful number" is a non-prime number that is one less or one more than some prime number but not both. For example, for num...

5 months ago

Solved

Easy Sequences 2: Trigonometric function with integral input and output

The function 'F', defined as: , will always return an integer if the input is a natural number (in radian...

5 months ago

Solved

Stress-Strain Properties - 7

The toughness of a material is technically defined as the plastic strain energy absorbed by the material (the olive region in th...

6 months ago

Solved

Stress-Strain Properties - 6

The total energy absorbed by a material up to failure in a tensile test is termed the absorbed strain energy. With respect to th...

6 months ago

Solved

Stress-Strain Properties - 5

Similar to the previous problem, materials may be characterized by their stiffness-to-weight ratio, which is the elastic modulus...

6 months ago

Solved

Stress-Strain Properties - 4

A common measure of the ability of a material to carry load per unit mass is termed strength-to-weight ratio and is calculated b...

6 months ago

Solved

Stress-Strain Properties - 3

A brittle material will not exhibit a yield point. In other words, the yield point and failure point coincide. In such cases, th...

6 months ago

Solved

Stress-Strain Properties - 2

The resilience of a material is its ability to resist permanent (or plastic) deformation. The resilience coincides with the elas...

6 months ago

Solved

Stress-Strain Properties - 1

This is the first in a series of problems regarding mechanics of materials, in particular, material properties drawn from stress...

6 months ago

Solved

Young's modulus

Given a value of <http://en.wikipedia.org/wiki/Young_modulus Young's modulus> (Y) expressed on MegaPascal, convert it to the uni...

6 months ago