Feeds
提问
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...
4 years 前 | 1 个回答 | 0
1
个回答提问
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)) ...
5 years 前 | 0 个回答 | 0
0
个回答提问
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...
6 years 前 | 1 个回答 | 0
1
个回答已解决
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...
6 years 前
已解决
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...
6 years 前
已解决
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]
6 years 前
已解决
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...
6 years 前
已解决
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. ...
6 years 前
已解决
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...
6 years 前
已解决
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...
6 years 前
已解决
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....
6 years 前
已解决
peta to nano (x-ray)
for certain x-ray radiation, given frequency in petahertz, give wavelength in nanometer, must be accurate +/- 25%
6 years 前
已解决
Create a Standard Size Vector
Given an input x, create a row vector y from 1 to x with 5 elements.
6 years 前
已解决
Create Vector containing following elements
Create Vector containing following elements A=[pi eps NaN inf -inf flintmax];
6 years 前
已解决
Cody Matlab Version
What is the current Cody Matlab Release? *Output:* string *Examples:* '(R2012a)' or 'R2012a' Hint: We have mo...
6 years 前
已解决
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]
6 years 前
已解决
Rotate a matrix for 180 degree
Rotate a matrix for 180 degree for eg: x=[1 2 3 4] y=[4 3 2 1]
6 years 前
已解决
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 ]
6 years 前
已解决
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 ...
6 years 前
已解决
Back to basics 14 - Keywords
Covering some basic topics I haven't seen elsewhere on Cody. Return a cell array of all MATLAB keywords
6 years 前
已解决
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].
6 years 前
已解决
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]
6 years 前
已解决
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".
6 years 前
已解决
Rotate a matrix for 180 degree
Rotate a matrix for 180 degree for eg: x=[1 2 3 4] y=[4 3 2 1]
6 years 前
已解决
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.
6 years 前
已解决
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...
6 years 前