Problema


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

oltre 6 anni fa | 3 | 97 risolutori

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

oltre 6 anni fa | 1 | 39 risolutori

Risolto


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

oltre 6 anni fa

Risolto


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

oltre 6 anni fa

Risposto
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

oltre 6 anni fa | 0

Problema


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

oltre 6 anni fa | 1 | 25 risolutori

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

oltre 6 anni fa | 0

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

oltre 6 anni fa | 0

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

oltre 6 anni fa | 0

| accettato

Domanda


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

oltre 6 anni fa | 0 risposte | 0

0

risposte

Risolto


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

oltre 6 anni fa

Risolto


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

oltre 6 anni fa

Risolto


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

oltre 6 anni fa

Risolto


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

oltre 6 anni fa

Risolto


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.

oltre 6 anni fa

Risolto


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

oltre 6 anni fa

Risolto


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

oltre 6 anni fa

Risolto


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

oltre 6 anni fa

Risolto


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

oltre 6 anni fa

Risolto


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

oltre 6 anni fa

Risolto


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'

oltre 6 anni fa

Risolto


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

oltre 6 anni fa

Risolto


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

oltre 6 anni fa

Risolto


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

oltre 6 anni fa

Risolto


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

oltre 6 anni fa

Risolto


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

oltre 6 anni fa

Risolto


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

oltre 6 anni fa

Risolto


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

oltre 6 anni fa

Risolto


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

oltre 6 anni fa

Problema


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

oltre 6 anni fa | 0 | 61 risolutori

Carica altro