Risolto


Modify subscripts - easier
MATLAB supports object-oriented programming. Let's take an advantage of it in cody. This problem focus on modifying subscript...

oltre 3 anni fa

Risolto


Rosenbrock's Banana Function and its derivatives
Write a function to return the value of <http://en.wikipedia.org/wiki/Rosenbrock_function Rosenbrock's two-dimensional banana fu...

oltre 3 anni fa

Risolto


List prime anagrams of a number

oltre 3 anni fa

Risolto


Compute the Euler totient function

oltre 3 anni fa

Risolto


Function minimization - beat fminbnd!
Matlab's fminbnd function finds a minimizer of a function within an interval. If often gets stuck in local minima. Can you do...

oltre 3 anni fa

Risolto


Bounding Circle
The Bounding Circle is the smallest enclosing circle to a given set of points on a plane <https://en.wikipedia.org/wiki/Smallest...

oltre 3 anni fa

Risolto


Least Absolute Deviations (L1-norm) line fit - degree n
This is a generalization of Problem 45851 for degree n <https://www.mathworks.com/matlabcentral/cody/problems/45851-least-abs...

oltre 3 anni fa

Risolto


Least Absolute Deviations (L1-norm) line fit - degree 1
Matlab's polyfit function is very handy to find least-squares regression. It minimizes the (L2-norm) of the estimation errors, b...

oltre 3 anni fa

Risolto


Locate a family on a long street

oltre 3 anni fa

Risolto


Find terms in the Connell sequence

oltre 3 anni fa

Risolto


Find the nth Fibbinary number

oltre 3 anni fa

Risolto


Procrustean bed
Given a vector x and an integer n, convert x to a vector of length n by (1) chopping off the end if it is too long, or (2) addin...

oltre 3 anni fa

Risolto


Leap years on other planets
A year is a leap year if it is divisible by 4, but not if it is divisible by 100, unless it is also divisible by 400. This mean...

oltre 3 anni fa

Risolto


Pluralization
Define function plu(n) that returns '' (an empty string) if n=1, or 's' otherwise. This is handy for displaying messages from a...

oltre 3 anni fa

Risolto


Mystery problem
Given integer x between 1 and 50, return integer y=mystery(x), where mystery(1) = 111 mystery(6) = 809 ... mystery...

oltre 3 anni fa

Risolto


Solve an ODE: diffusion problem 1

oltre 3 anni fa

Risolto


Area under standard normal curve

oltre 3 anni fa

Risolto


Solve a nonlinear difference equation

oltre 3 anni fa

Risolto


Radiation Heat Transfer — View Factors (3)
View factors (aka configuration factors) are utilized in some radiation heat transfer models to estimate heat transfer rates bet...

oltre 3 anni fa

Risolto


Radiation Heat Transfer — View Factors (2)
View factors (aka configuration factors) are utilized in some radiation heat transfer models to estimate heat transfer rates bet...

oltre 3 anni fa

Risolto


Radiation Heat Transfer — View Factors (1)
View factors (aka configuration factors) are utilized in some radiation heat transfer models to estimate heat transfer rates bet...

oltre 3 anni fa

Risolto


Packing oranges - one layer
Help the seller to pack oranges efficiently. How many oranges can be put into a box in one layer without squeezing them? Give...

oltre 3 anni fa

Risolto


Cut an orange
Inspired by problem <http://www.mathworks.co.uk/matlabcentral/cody/problems/2175 2175>. A hungry matlab enthusiast has an ora...

oltre 3 anni fa

Risolto


Distance between two GPS Coordinates
A problem that arises when performing geographically weighted regression is determining the distance between GPS coordinates. GI...

oltre 3 anni fa

Carica altro