Solved


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

fast 2 Jahre ago

Solved


Jack's hand in "Titanic" ♤
Given a series of cards, return true if it's the famous hand.

fast 2 Jahre ago

Answered
how to add multidimensional array
if you mean how to create 3D matrix 5*5*5 you can use x(1:5,1:5,1:5)=0 % full of zero here

fast 2 Jahre ago | 0

Problem


Jack's hand in "Titanic" ♤
Given a series of cards, return true if it's the famous hand.

fast 2 Jahre ago | 0

Answered
Perform least squares regression to determine the coefficients a and b ussing the manipulation
look <https://ece.uwaterloo.ca/~dwharder/NumericalAnalysis/06LeastSquares/transformations/complete.html here> T=[77 100 185...

fast 2 Jahre ago | 0

Answered
Correlation Matrix of a 1x1 Structure
first step you have to construct the big matrix then compute the correlation: X=struct2array(here type your structure tit...

fast 2 Jahre ago | 0

Answered
How to calculate the value of correlation coefficient r using Spearman correlation coefficient test?
if you have the statistics toolbox you can use [RHO,PVAL] = corr(x,y,'type','Spearman')

fast 2 Jahre ago | 0

| accepted

Question


theoric vs empiric PDF & CDF
hello guys, i want to know if there is a better way to compare the empiric PDF to the theoric PDF of a *normal distribution samp...

fast 2 Jahre ago | 0 answers | 0

0

answers

Solved


Remove the first, third and fifth rows of a matrix
Given a matrix x with at least five rows, return a matrix y that includes all rows of x except for th 1st, the 3rd and 5th. E...

fast 2 Jahre ago

Solved


Matrix game: Winner takes all
Given a matrix A, return a new matrix of the same size in which the biggest element of each column in A takes 1, and 0 for all t...

fast 2 Jahre ago

Solved


Check availability of a number in an array
An array is given A=[1 2 3 4 5 7 8 9 10]. Find whether the number n is present in given array or not. If the number n is prese...

fast 2 Jahre ago

Solved


Rotate it!
Given a set of points, your aim is to rotate it by a given angle "theta" CCW (in 2d). The points are given in a matrix(x) of dim...

fast 2 Jahre ago

Solved


Back to basics 11 - Max Integer
Covering some basic topics I haven't seen elsewhere on Cody. Return the largest positive integer MATLAB can handle.

fast 2 Jahre ago

Solved


Vector Element Multiplication
Take two incoming vectors, and output the element wise multiplication of the vectors.

fast 2 Jahre ago

Solved


Sorting
Assume that x is an n-by-2 matrix. The aim is to return the first column of x, but sorted according to the second column. Exa...

fast 2 Jahre ago

Solved


Check if inputted variable is a string or a number
Check if a inputted variable is a number or a string, given a string input (i.e. '1' is 1 and thus a number, 'a' is a string).

fast 2 Jahre ago

Solved


Replace 0 indices in array with 1's
Take a incoming vector, and replace 0's with ones

fast 2 Jahre ago

Solved


Vector indexing: lower than mean
Find all values in a vector lower than the mean of the vector

fast 2 Jahre ago

Solved


Determine whether the input is divisible by 3 as well as 5
If the input is divisible by 3 as well as 5 then the output should be 'true' otherwise 'false'

fast 2 Jahre ago

Solved


Determine whether the input is odd, even, or neither.
Make a function that returns ‘odd’ if the input is odd, ‘even’ if the input if even or ‘error’ if the input is neither odd nor ...

fast 2 Jahre ago

Solved


determine amount cookies left
started with 3 cookies and you never ate any how many are left

fast 2 Jahre ago

Solved


Find the largest number
Given a vector v with 4 elements, find the largest number x. Example: Input: v = [4 7 1 6]; Output: x = 7; You mu...

fast 2 Jahre ago

Solved


remove every row&col for every nan
for a given matrix, remove the row and column of every nan. Example x=[1 2 NaN 4 5 6 7 8 ...

fast 2 Jahre ago

Solved


short or buy ? take the opportunity
you had already calculated a theoretical stock value, now you checked in bloomberg the quoted price of that stock and you have t...

fast 2 Jahre ago

Solved


continuous compounding
what's the present value of having 100 dollars after n years given a continuously compounded rate i ? keep only 2 decimals pleas...

fast 2 Jahre ago

Solved


basic finance application
i watch bloomberg everyday and i want to estimate a stock price stability, so i have to calculate the momentum & the rate of cha...

fast 2 Jahre ago

Solved


find the logic,easy one
find the logic behind, example x=18 y=306 x=53 y=2809

fast 2 Jahre ago

Problem


find the logic,easy one
find the logic behind, example x=18 y=306 x=53 y=2809

fast 2 Jahre ago | 0

Problem


basic finance application
i watch bloomberg everyday and i want to estimate a stock price stability, so i have to calculate the momentum & the rate of cha...

fast 2 Jahre ago | 0

Problem


continuous compounding
what's the present value of having 100 dollars after n years given a continuously compounded rate i ? keep only 2 decimals pleas...

fast 2 Jahre ago | 0

Load more