Resuelto


free points
function y = your_fcn_name(x) y = x(1)+x(2); end

9 meses hace

Resuelto


Sum of Squares
Given a vector v of length n, write a MATLAB function to calculate the sum of the squares of its elements.

9 meses hace

Resuelto


Function(3)
Use this function to earn some points on your cody journey! function y = your_fcn_name(x) y = x^2 - 12; end

9 meses hace

Resuelto


Determine if input is greater than 100
Evaluate if given number is greater than 100. If greater, return true; else, return false.

9 meses hace

Resuelto


Easy Function(2)
Hit the submit button for some cody points! function y = your_fcn_name(x) y = x^2 + 20; end

9 meses hace

Resuelto


Find collatz series next number
For given x, if x is even, output is (x/2) if x is odd, output is (3x+1)

9 meses hace

Resuelto


How many offices does MathWorks have in the UK
Please write a function that returns the number of offices MathWorks has in the UK.

9 meses hace

Resuelto


Google Drive: MATLAB mat file download
Matlab 'mat' files are notoriously hard to email and download as they are binary files. To make a 'mat' file downloadable from ...

9 meses hace

Resuelto


Google Drive file download
This Challenge is to download a file from GoogleDrive given its "copylink" provided URL and a file name. GoogleDrive links fail...

9 meses hace

Resuelto


Remove NaNs and numbers adjacent to NaNs
The aim is to remove the elements before and after NaN occurrences inside a vector. For example: x = [6 10 5 8 9 NaN 23 1...

9 meses hace

Resuelto


Easy Function(4)
Use the submit button to earn points function y = your_fcn_name(x) y = x^2 + 40; end

9 meses hace

Resuelto


Calculate the square root
Given an input integer x, calculate the square root without using the sqrt function.

9 meses hace

Resuelto


Easy Function(1)
Use this function to earn some cody points! function y = your_fcn_name(x) y = x^2 - 1; end

9 meses hace

Resuelto


Find The area of the square
Given that the length of the side of a square is x, find the area.

9 meses hace

Resuelto


Calculate the Distance to Source of Lightning
Lightning discharge heats air rapidly with lightning channels reaching temperatures of up to 50,000 degrees Fahrenheit (which is...

9 meses hace

Resuelto


Calculate BMI
Given weight in kgs and height in metres, calculate body mass index

9 meses hace

Resuelto


sinus de pulsation a
Ecrire une fonction sinat qui prend en entrée un vecteur t (de valeurs croissantes) et renvoie un vecteur y de de même dimensi...

9 meses hace

Resuelto


Six Steps to PCA - Step 2: Covariance
*Previous problems in this series* * <http://www.mathworks.co.uk/matlabcentral/cody/problems/2043-six-steps-to-pca-step-1-cen...

9 meses hace

Resuelto


Six Steps to PCA - Step 1: Centre and Standardize
*Introduction* Principal Component Analysis (PCA) is a classic among the many methods of multivariate data analysis. Invented...

9 meses hace

Resuelto


cos for boss?
a programmer had too much coffee and his boss needs cos(alpha+beta) correctly, especially when alpha or beta are close to pi/2 a...

9 meses hace

Resuelto


GJam: 2013 China Event: Cannon Angle
This Challenge is derived from <http://code.google.com/codejam/contest/2933486/dashboard#s=p1 GJam 2013 China Captain Hammer>. T...

9 meses hace

Resuelto


GJam 2013 Veterans: Hedge
This Challenge is derived from <http://code.google.com/codejam/contest/2334486/dashboard Hedgemony>. This is the Large data set ...

9 meses hace

Resuelto


Loading/Expanding a ZIP file from File Exchange
This challenge is to load a ZIP file from Mathworks File Exchange and UNZIP the contents. *Input:* url_link of ZIP'd file ...

9 meses hace

Resuelto


Free Fall analytical solution (Chapra 2012 textbook Example 1.1)
Analytical solution to bungee jumper problem. Given time series as a vector, parameters mass and drag coefficient, and gravit...

9 meses hace

Resuelto


Determine if input is greater than pi
Evaluate if given number is greater than pi. If greater, return true; else, return false.

9 meses hace

Resuelto


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

9 meses hace

Resuelto


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

9 meses hace

Resuelto


List the emirps
An emirp is a prime number that becomes a different prime when reversed. The numbers 13, 17, and 149 are emirps, but 11, 19, and...

9 meses hace

Resuelto


Cryptomath: Addition
W A I T + A L L --------- G I F T S equals: 9 6 0 8 + 6 7 7 --------- 1 0 2 8 5 Given str...

9 meses hace

Resuelto


String substitution, sub problem to cryptoMath
This is a sub problem related to this problem: <http://www.mathworks.com/matlabcentral/cody/problems/621-cryptomath-addition>...

9 meses hace

Cargar más