Problema


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

casi 7 años hace | 3 | 103 solvers

Problema


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

casi 7 años hace | 1 | 44 solvers

Resuelto


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

casi 7 años hace

Resuelto


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

casi 7 años hace

Respondida
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

casi 7 años hace | 0

Problema


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

casi 7 años hace | 1 | 26 solvers

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

casi 7 años hace | 0

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

casi 7 años hace | 0

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

casi 7 años hace | 0

| aceptada

Pregunta


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

casi 7 años hace | 0 respuestas | 0

0

respuestas

Resuelto


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

casi 7 años hace

Resuelto


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

casi 7 años hace

Resuelto


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

casi 7 años hace

Resuelto


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

casi 7 años hace

Resuelto


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.

casi 7 años hace

Resuelto


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

casi 7 años hace

Resuelto


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

casi 7 años hace

Resuelto


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

casi 7 años hace

Resuelto


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

casi 7 años hace

Resuelto


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

casi 7 años hace

Resuelto


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'

casi 7 años hace

Resuelto


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

casi 7 años hace

Resuelto


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

casi 7 años hace

Resuelto


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

casi 7 años hace

Resuelto


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

casi 7 años hace

Resuelto


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

casi 7 años hace

Resuelto


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

casi 7 años hace

Resuelto


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

casi 7 años hace

Resuelto


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

casi 7 años hace

Problema


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

casi 7 años hace | 0 | 65 solvers

Cargar más