문제


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

8년 초과 전 | 3 | 솔버 수: 111

문제


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

8년 초과 전 | 1 | 솔버 수: 50

문제를 풀었습니다


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

8년 초과 전

문제를 풀었습니다


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

8년 초과 전

답변 있음
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

8년 초과 전 | 0

문제


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

8년 초과 전 | 1 | 솔버 수: 29

답변 있음
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...

8년 초과 전 | 0

답변 있음
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...

8년 초과 전 | 0

답변 있음
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')

8년 초과 전 | 0

| 수락됨

질문


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

8년 초과 전 | 답변 수: 0 | 0

0

답변

문제를 풀었습니다


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

8년 초과 전

문제를 풀었습니다


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

8년 초과 전

문제를 풀었습니다


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

8년 초과 전

문제를 풀었습니다


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

8년 초과 전

문제를 풀었습니다


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.

8년 초과 전

문제를 풀었습니다


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

8년 초과 전

문제를 풀었습니다


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

8년 초과 전

문제를 풀었습니다


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

8년 초과 전

문제를 풀었습니다


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

8년 초과 전

문제를 풀었습니다


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

8년 초과 전

문제를 풀었습니다


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'

8년 초과 전

문제를 풀었습니다


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

8년 초과 전

문제를 풀었습니다


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

8년 초과 전

문제를 풀었습니다


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

8년 초과 전

문제를 풀었습니다


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

8년 초과 전

문제를 풀었습니다


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

8년 초과 전

문제를 풀었습니다


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

8년 초과 전

문제를 풀었습니다


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

8년 초과 전

문제를 풀었습니다


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

8년 초과 전

문제


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

8년 초과 전 | 0 | 솔버 수: 71

더 보기