Question

all possible combination between matrices

I have 3 matrices with 2 columns but different number of lines, for example; A=[[2,1],[0,6],[4,2]] B = [[0,2],[1,1],[3,4],[0,5...

3 months ago | 1 answer | 0

Question

ARMA(2,2) maximum likelihood estimation

How to estimate ARMA (2,2) like this one : y = delta + phi*(1.5*y(t-1) - 0.5*y(t-2)) + ut - teta*(1.5*u(t-1) - 0.5*u(t-2)) ...

2 years ago | 0 answers | 0

Question

getting new tables from another

hi, how to get table just for smith; a table for william , and a table for johnson ? imagine i have many rows with different co...

2 years ago | 1 answer | 0

Solved

Make the vector [1 2 3 4 5 6 7 8 9 10]

In MATLAB, you create a vector by enclosing the elements in square brackets like so: x = [1 2 3 4] Commas are optional, s...

2 years ago

Solved

Odd times 3

Given a input matrix x, multiply all odd values by 3. Even values remain the same. example: x = [1 2 3 4 5;... 6 7...

3 years ago

Solved

Repeat the entries of the vector to their reference times in the vector.

e.g for input x: [ 7 3 9 5] output y: [ 7 3 3 9 9 9 5 5 5 5]

3 years ago

Solved

Probability of red tulips

I hope to give you bulbs of tulip. But I do not know the color of those petals. I just know that the color is red, white or yell...

3 years ago

Solved

Calculate the values of a polynomial.

Calculate the values of a polynomial.Input parameter p - vector of polynomial coefficients, x - matrix of the argument values. ...

3 years ago

Solved

How close to a hole

Suppose you have a description of good places (ones) and bad places (zeros). You want to know your distance from a bad place (in...

3 years ago

Solved

union without repitition

Let a = [9 9 9 9 9 9 8 8 8 8 7 7 7 6 6 6 5 5 4 2 1] b = [1 1 1 3 3 3 3 3 4 4 4 4 4 10 10 10] Output should be [9 8...

3 years ago

Solved

Which coins to give

I was in shop today. I admired, how shop assistant had to think, which coins to give me. The task is we have a vector v=[0.5 0....

3 years ago

Solved

peta to nano (x-ray)

for certain x-ray radiation, given frequency in petahertz, give wavelength in nanometer, must be accurate +/- 25%

3 years ago

Solved

Create a Standard Size Vector

Given an input x, create a row vector y from 1 to x with 5 elements.

3 years ago

Solved

Create Vector containing following elements

Create Vector containing following elements A=[pi eps NaN inf -inf flintmax];

3 years ago

Solved

Cody Matlab Version

What is the current Cody Matlab Release? *Output:* string *Examples:* '(R2012a)' or 'R2012a' Hint: We have mo...

3 years ago

Solved

Hard limit function

Classify x data as if x>=0 then y=1 if x<0 then y=0 Example x = [ -2 -1 0 1 2] y = [ 0 0 1 1 1]

3 years ago

Solved

Was ist denn los?

Nur für deutschsprechende Leute! Wie geht's? ...also gut, bis bald!

3 years ago

Solved

Rotate a matrix for 180 degree

Rotate a matrix for 180 degree for eg: x=[1 2 3 4] y=[4 3 2 1]

3 years ago

Solved

Rotate array 90 degrees

Rotate the given matrix by 90 degrees. Example, A = [1 2 3 ; 4 5 6 ] B = rotated(A) = [ 3 6; 2 5; 1 4 ]

3 years ago

Solved

Find 100 from a Matrix and Replace With 0 with less computation time

pls use this matrix x = [208 40 167 180 112 70 192 215 90 19 231 100 9 100 97 100 ...

3 years ago

Solved

Back to basics 14 - Keywords

Covering some basic topics I haven't seen elsewhere on Cody. Return a cell array of all MATLAB keywords

3 years ago

Solved

Sort the vector with the given index

Given x = [1 2 4 8 17] and t = [1 3 2 5 4] then y = [1 4 2 17 8].

3 years ago

Solved

Union of two set decreasing order

Union of two set decreasing order Say, x=[1 2 5] and y=[5 7 8] then answer must be [8 7 5 2 1]

3 years ago

Solved

Vector Magnitude Calculator

'a' is a vector that starts at the origin and ends at (x, y). Find ||a||. Hint: It is as simple as "ABC".

3 years ago

Solved

Rotate a matrix for 180 degree

Rotate a matrix for 180 degree for eg: x=[1 2 3 4] y=[4 3 2 1]

3 years ago

Solved

Find out value of sine given by degree.

Find out value of sine given by degree. If theta=30, it's value must be 0.5.

3 years ago

Solved

Basics - not so easy division

Please make a function whcih divides x/y, but pay attention for some exceptions with NaN,0,Inf. Sometimes return "ERROR" instead...

3 years ago