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

2 years ago

Submitted

Dragon Curve (aka Jurassic Park Fractal)

Plots user specified variations of the Dragon Curve

4 years ago | 6 downloads |

Submitted

Empty a Cup with a Straw

Calculates the number of dips a straw must make to decrease the water level in a cup

4 years ago | 1 download |

Submitted

Model a Sunflower with the Golden Ratio

Uses the Golden Ratio to predict the location of each seed on a sunflower

4 years ago | 4 downloads |

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

4 years ago

Solved

Circle area using pi

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

4 years ago

Submitted

Show

Prints the contents of structures, including structure arrays and nested structures

4 years ago | 1 download |

Submitted

GoTo

Points the Current Folder to the location of a file or a path.

4 years ago | 1 download |

Submitted

Distance Matrix

fast, vectorized inter/intra-point distance matrix calculation (Euclidean, Manhattan, or Chebyshev)

5 years ago | 15 downloads |

Submitted

Dijkstra's Minimum Cost Path Algorithm

calculates the shortest (least cost) path along edges of a graph using Dijkstra's Algorithm

5 years ago | 19 downloads |

Answered

Best way to programmatically detect new graphics engine?

~verLessThan('matlab','8.4')

Best way to programmatically detect new graphics engine?

~verLessThan('matlab','8.4')

5 years ago | 1

| accepted

Question

Why do scatter plot markers not change size correctly in R2014b?

With the new graphics package, scatter plots do not always render correctly. For example, when I create a scatter plot with dif...

5 years ago | 0 answers | 0

Submitted

Fixed Endpoints Open Traveling Salesman Problem - Genetic Algorithm

Finds a near-optimal solution to a "open" variation of the TSP with fixed endpoints using a GA

6 years ago | 2 downloads |

Submitted

Multiple Traveling Salesmen Problem - Genetic Algorithm

Finds a near-optimal solution to a M-TSP using a GA

6 years ago | 11 downloads |

Submitted

Open Multiple Traveling Salesmen Problem - Genetic Algorithm

Finds a near-optimal solution to a "open" variation of the M-TSP using a GA

6 years ago | 4 downloads |

Submitted

Fixed Endpoints Open Multiple Traveling Salesmen Problem - Genetic Algorithm

Finds a near-optimal solution to a "open" variation of the M-TSP with fixed endpoints using a GA

6 years ago | 4 downloads |

Submitted

Fixed Start Open Multiple Traveling Salesmen Problem - Genetic Algorithm

Finds a near-optimal solution to a "open" variation of the M-TSP with fixed start points using a GA

6 years ago | 5 downloads |

Submitted

Multiple Variable Traveling Salesmen Problem - Genetic Algorithm

Finds a near-optimal solution to a variation of the MTSP with variable number of salesmen using a GA

6 years ago | 2 downloads |

Submitted

Traveling Salesman Problem - Genetic Algorithm

Finds a near-optimal solution to a TSP using a GA

6 years ago | 78 downloads |

Submitted

Traveling Salesman Problem - Nearest Neighbor

Finds a near-optimal solution to a TSP using Nearest Neighbor (NN)

6 years ago | 13 downloads |

Submitted

Open Traveling Salesman Problem - Genetic Algorithm

Finds a near-optimal solution to a "open" variation of the TSP using a GA

6 years ago | 7 downloads |

Submitted

Fixed Start Open Traveling Salesman Problem - Genetic Algorithm

Finds a near-optimal solution to a "open" variation of the TSP with fixed start points using a GA

6 years ago | 4 downloads |

Submitted

Fixed Start/End Point Multiple Traveling Salesmen Problem - Genetic Algorithm

Finds a near-optimal solution to a variation of the M-TSP with fixed endpoints using a GA

6 years ago | 7 downloads |

Solved

realsmall

Please return the smallest positive number. This is a little silly problem, but the solution has some funny properties...

6 years ago

Solved

Duplicates

Write a function that accepts a cell array of strings and returns another cell array of strings *with only the duplicates* retai...

7 years ago

Solved

No Twins?

Write a function that accepts as input a vector and returns the same vector, but retaining only the first occurrence of an eleme...

7 years ago

Solved

Check if number exists in vector

Return 1 if number _a_ exists in vector _b_ otherwise return 0. a = 3; b = [1,2,4]; Returns 0. a = 3; b = [1,...

7 years ago