Problem


Problem 44444 !!! free beer everyone
just say hallelujah to resolve this problem

mehr als 6 Jahre vor | 3 | 97 Lösungsvorschläge

Problem


Matrix to vector transformation
given a matrix, make in the output 1 column vector putting odd numbers in ascending order after that put the even numbers in des...

mehr als 6 Jahre vor | 1 | 38 Lösungsvorschläge

Gelöst


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

mehr als 6 Jahre vor

Gelöst


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

mehr als 6 Jahre vor

Beantwortet
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

mehr als 6 Jahre vor | 0

Problem


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

mehr als 6 Jahre vor | 1 | 25 Lösungsvorschläge

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

mehr als 6 Jahre vor | 0

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

mehr als 6 Jahre vor | 0

Beantwortet
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')

mehr als 6 Jahre vor | 0

| akzeptiert

Frage


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

mehr als 6 Jahre vor | 0 Antworten | 0

0

Antworten

Gelöst


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

mehr als 6 Jahre vor

Gelöst


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

mehr als 6 Jahre vor

Gelöst


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

mehr als 6 Jahre vor

Gelöst


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

mehr als 6 Jahre vor

Gelöst


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.

mehr als 6 Jahre vor

Gelöst


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

mehr als 6 Jahre vor

Gelöst


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

mehr als 6 Jahre vor

Gelöst


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

mehr als 6 Jahre vor

Gelöst


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

mehr als 6 Jahre vor

Gelöst


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

mehr als 6 Jahre vor

Gelöst


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'

mehr als 6 Jahre vor

Gelöst


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

mehr als 6 Jahre vor

Gelöst


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

mehr als 6 Jahre vor

Gelöst


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

mehr als 6 Jahre vor

Gelöst


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

mehr als 6 Jahre vor

Gelöst


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

mehr als 6 Jahre vor

Gelöst


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

mehr als 6 Jahre vor

Gelöst


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

mehr als 6 Jahre vor

Gelöst


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

mehr als 6 Jahre vor

Problem


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

mehr als 6 Jahre vor | 0 | 60 Lösungsvorschläge

Mehr laden