Submitted

BLEND: utility for smoothly blending functions or creating piecewise functions

Returns a function that smoothly blends, with specified location and distance, between two functions

casi 5 años ago | 3 downloads |

Submitted

VGRID: utility to help vectorize code

VGRID helps vectorize code to handle n-d variables as inputs for e.g. trapz.

casi 5 años ago | 1 download |

Submitted

cch - close, clear, home

CCH saves keystrokes in resetting MATLAB by running the commands close, clear, and home.

alrededor de 5 años ago | 1 download |

Submitted

DISPDISP - verbose display of structures and objects

Display more information about field and properties of struct or object.

alrededor de 5 años ago | 1 download |

Submitted

Validated Input Function

Like the built-in input function but with the ability to impose constraints and checks on user input

más de 5 años ago | 0 downloads |

Submitted

fevaln: feval with control of the order of the outputs

Return the nth output first. Especially useful for defining anonymous functions for use with search.

más de 5 años ago | 1 download |

Submitted

Fuel fraction sizing

Finds aircraft gross weight using the fuel fraction sizing method

más de 5 años ago | 2 downloads |

Solved

poll: would you like the regexp (?@cmd) functionality to be banned in Cody?

This problem is a poll (and a little bit of "white hat hacktivism" as well) regarding Cody users sentiment about the use of rege...

alrededor de 6 años ago

Solved

Circle area using pi

Given a circle's radius, compute the circle's area. Use the built-in mathematical constant pi.

alrededor de 6 años ago

Solved

Return the Nth Output from an Input Command

*Description* Given _F_, a cell array whose first element is a function handle and subsequent elements are arguments, return ...

alrededor de 6 años ago

Solved

Create a row array using double colon operator

Create a row array from 9 to 1, using the double colon operator.

alrededor de 6 años ago

Solved

Pizza value using expression with parentheses

Pizza prices are typically listed by diameter, rather than the more relevant feature of area. Compute a pizza's value (cost per ...

alrededor de 6 años ago

Solved

Simple equation: Annual salary

Given an hourly wage, compute an annual salary by multiplying the wage times 40 and times 50, because salary = wage x 40 hours/w...

alrededor de 6 años ago

Solved

Triangle sequence

A sequence of triangles is constructed in the following way: 1) the first triangle is Pythagoras' 3-4-5 triangle 2) the s...

alrededor de 6 años ago

Solved

Find a Pythagorean triple

Given four different positive numbers, a, b, c and d, provided in increasing order: a < b < c < d, find if any three of them com...

alrededor de 6 años ago

Solved

Side of a rhombus

If a rhombus has diagonals of length x and x+1, then what is the length of its side, y? <<http://upload.wikimedia.org/wikipe...

alrededor de 6 años ago

Solved

Side of an equilateral triangle

If an equilateral triangle has area A, then what is the length of each of its sides, x? <<http://upload.wikimedia.org/wikipe...

alrededor de 6 años ago

Solved

Area of an equilateral triangle

Calculate the area of an equilateral triangle of side x. <<http://upload.wikimedia.org/wikipedia/commons/e/e0/Equilateral-tr...

alrededor de 6 años ago

Solved

Area of an Isoceles Triangle

An isosceles triangle has equal sides of length x and a base of length y. Find the area, A, of the triangle. <<http://upload...

alrededor de 6 años ago

Solved

Dimensions of a rectangle

The longer side of a rectangle is three times the length of the shorter side. If the length of the diagonal is x, find the width...

alrededor de 6 años ago

Solved

Is this triangle right-angled?

Given any three positive numbers a, b, c, return true if the triangle with sides a, b and c is right-angled. Otherwise, return f...

alrededor de 6 años ago

Solved

Length of a short side

Calculate the length of the short side, a, of a right-angled triangle with hypotenuse of length c, and other short side of lengt...

alrededor de 6 años ago

Solved

Length of the hypotenuse

Given short sides of lengths a and b, calculate the length c of the hypotenuse of the right-angled triangle. <<http://upload....

alrededor de 6 años ago

Solved

Is this triangle right-angled?

Given three positive numbers a, b, c, where c is the largest number, return *true* if the triangle with sides a, b and c is righ...

alrededor de 6 años ago

Solved

Find the peak 3n+1 sequence value

A Collatz sequence is the sequence where, for a given number n, the next number in the sequence is either n/2 if the number is e...

alrededor de 6 años ago

Solved

Given two strings, find the maximum overlap

Given two strings s1 and s2, create a new string s3 which is as short as possible and contains both strings. If s1 = [1 2...

alrededor de 6 años ago

Solved

Tic Tac Toe FTW

Given a tic tac toe board: * 1 represents X * 0 represents empty. * -1 represents O It is X's move. If there is an imme...

alrededor de 6 años ago

Problem

Split up vector or matrix delimited by NaNs

Given several vectors contained within one vector delimited by NaNs, return each individual vector as an element of a cell vecto...

alrededor de 6 años ago | 1 | 14 solvers

Solved

Fahrenheit to Celsius using multiple statements

Given a Fahrenheit value F, convert to a Celsius value C. While the equation is C = 5/9 * (F - 32), as an exercise use two state...

alrededor de 6 años ago