Community Profile

photo

Alfonso Nieto-Castanon


Last seen: Today
3.641 total contributions since 2012

Contact

Alfonso Nieto-Castanon's Badges

  • Cody 5th Anniversary Finisher
  • Cody 5th Anniversary Author
  • Scavenger Finisher
  • 3 Month Streak
  • Thankful Level 1
  • Knowledgeable Level 3
  • Introduction to MATLAB Master
  • Combinatorics I Master
  • Draw Letters
  • GitHub Submissions Level 1
  • Editor's Pick
  • 5-Star Galaxy Level 4
  • First Submission
  • Community Group Solver
  • Word Puzzles Master

View all

Contributions in
View by

Solved


The End of the World
given a date -- represent it in the Maya long count system. <https://en.wikipedia.org/wiki/Maya_calendar> <https://maya.nm...

etwa 4 Stunden ago

Solved


Lost days
Given two dates in a particular format, calculate the difference between them.

etwa 5 Stunden ago

Solved


leap year
find the number of leap years within the given time interval

etwa 5 Stunden ago

Solved


Count the days
Count the occurrence of a particular day (e.g. Monday) in a given year.

etwa 5 Stunden ago

Solved


Calculate days until Christmas
Provided with inputs year, month, day e.g. 2019,11,12, calculate the number of days until the next Christmas day, i.e. the next ...

etwa 5 Stunden ago

Solved


Rescale Scores
Each column (except last) of matrix |X| contains students' scores in a course assignment or a test. The last column has a weight...

etwa 5 Stunden ago

Solved


Calculate Inner Product
Given two input matrices, |x| and |y|, check if their inner dimensions match. * If they match, create an output variable |z|...

etwa 6 Stunden ago

Solved


Find MPG of Lightest Cars
The file |cars.mat| contains a table named |cars| with variables |Model|, |MPG|, |Horsepower|, |Weight|, and |Acceleration| for ...

etwa 6 Stunden ago

Solved


Find the Best Hotels
Given three input variables: * |hotels| - a list of hotel names * |ratings| - their ratings in a city * |cutoff| - the rat...

etwa 6 Stunden ago

Solved


Calculate a Damped Sinusoid
The equation of a damped sinusoid can be written as |y = A.&#8519;^(-&lambda;t)*cos(2πft)| where |A|, |&lambda;|, and |f| ...

etwa 6 Stunden ago

Solved


Crop an Image
A grayscale image is represented as a matrix in MATLAB. Each matrix element represents a pixel in the image. An element value re...

etwa 6 Stunden ago

Solved


Calculate BMI
Given a matrix |hw| (height and weight) with two columns, calculate BMI using these formulas: * 1 kilogram = 2.2 pounds * 1 ...

etwa 7 Stunden ago

Solved


Plot Damped Sinusoid
Given two vectors |t| and |y|, make a plot containing a blue ( |b| ) dashed ( |--| ) line of |y| versus |t|. Mark the minimum...

etwa 7 Stunden ago

Solved


Solve a System of Linear Equations
*Example*: If a system of linear equations in _x&#8321_ and _x&#8322_ is: 2 _x&#8321;_ + _x&#8322;_ = 2 _x&#8321;...

etwa 7 Stunden ago

Solved


Verify Law of Large Numbers
If a large number of fair N-sided dice are rolled, the average of the simulated rolls is likely to be close to the mean of 1,2,....

etwa 7 Stunden ago

Solved


Find the Oldest Person in a Room
Given two input vectors: * |name| - user last names * |age| - corresponding age of the person Return the name of the ol...

etwa 7 Stunden ago

Solved


Convert from Fahrenheit to Celsius
Given an input vector |F| containing temperature values in Fahrenheit, return an output vector |C| that contains the values in C...

etwa 7 Stunden ago

Solved


Calculate Amount of Cake Frosting
Given two input variables |r| and |h|, which stand for the radius and height of a cake, calculate the surface area of the cake y...

etwa 7 Stunden ago

Solved


Damping of Servomotors with Tachometer Feedback
In Control Engineering, servomotors with tachometer feedback can be modeled by the second order system K / [J*s^2 + (B + K*K...

etwa 21 Stunden ago

Solved


Compute Area from Fixed Sum Cumulative Probability
In Matlab the code v = rand(1,3); v = v/sum(v); is sometimes suggested as a convenient means of generating three rando...

etwa 21 Stunden ago

Solved


Mean = Standard Deviation
Create a series with following properties; # All of the members should be positive integer # Mean of the series should be in...

ein Tag ago

Submitted


CONN
functional connectivity analyses of resting-state or task-based neuroimaging data; CONN toolbox, development version

11 Tage ago | 3 downloads |

Thumbnail

Solved


Logistic map
The sequence defined by x_n = 4*r*x_{n-1}*(1-x_{n-1}) and a given 0 < x_1 < 1 turns each x_n into a polynomial of r. Write a ...

mehr als ein Jahr ago

Solved


What score did they give?
Your task in this problem is to figure out the most recent score, |S|, submitted. <<https://upload.wikimedia.org/wikipedia/...

mehr als ein Jahr ago

Solved


Big Integer Sqrt
You will be given a big integer, you should return the square root of it. input: '16' output: '4' have fun!

mehr als ein Jahr ago

Solved


Sum of combinations
Input: *X = 40*, *Y = [40 20 10 4]* Output: *Z = [1 0 0 0; 0 2 0 0; 0 1 2 0; 0 1 1 3; 0 1 0 5; 0 0 4 0; 0 0 3 3; 0 0 2 5; 0 ...

mehr als ein Jahr ago

Solved


Nodal Voltage of Resistor Ladder Network
* You have a bunch (an even number N) of identical resistors (each R ohms), a good battery (V volts) and a high impedance voltme...

mehr als ein Jahr ago

Solved


Britney unfolded
You have a long, narrow strip of paper. You are going to fold this strip of paper length-wise in half, than fold the folded stri...

mehr als ein Jahr ago

Solved


Augmented Lagrange Multiplier (ALM) Method
Write a function to find the values of a design variable vector, _x_, that minimizes a scalar objective function, _f_ ( _x_ ), g...

mehr als ein Jahr ago

Solved


Writing Error Messages
Well written functions check inputs to make sure the input is valid. The function ErrorCheck takes three arguments: * a - a s...

mehr als ein Jahr ago

Load more