Community Profile

Professional Interests: statistics

Contact

Top 5% contributor

I have a cell array, lets say C. Each cell contains a matrix. For example lets say C is C{1}=[1 2;3 4;5 6] C{2}=[7 ...

2 Answers

0

Asked 2 years ago

i agree with the cyclist. of course its not my field but in theory you have to test some networks and also try different activat...

Answered 3 years ago

Hi folks. I have a cell array, each cell containing a column vector. Is there any way to check if a cell contains inf or nans an...

1 Answers

hello. I am trying to compute a spike and slab prior distribution for regression coefficients to use in variable selection. Spi...

Asked 3 years ago

I am sorry for opening a new question, but i cant understand the other solutions here. i have a struct named training_set of siz...

Hello everyone. I have a cell array, from which the cells contain a matrix. I want to remove the cells for which, lets say inv(c...

Hi, i want to select all possible submatrices of rows -subsets of a matrix given the size of subset. i.e if i have the matrix X=...

Given two lists of numbers, determine the weighted average. Example [1 2 3] and [10 15 20] should result in 33.333...

Solve this!

2 years ago

Given an input vector x, find all elements of x less than 0 or greater than 10 and replace them with NaN. Example: Input ...

Regardless of input, output the string 'yes'.

Remove the nth column from input matrix A and return the resulting matrix in output B. So if A = [1 2 3; 4 5 6]; and ...

Write a function which returns every other element of the vector passed in. That is, it returns the all odd-numbered elements, s...

Given a and b, return the sum a+b in c.

Given the input n, return true if n is odd or false if n is even.

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

Try out this test problem first. Given the variable x as your input, multiply it by two and put the result in y. Examples:...

Find the sum of all the numbers of the input vector x. Examples: Input x = [1 2 3 5] Output y is 11 Input x ...

hello folks. i have a general programming question. I have a matrix lets say D. In regression its called the design matrix. I wa...

0 Answers