Community Profile

photo

freebil


f

Active since 2012

Statistics

All
  • Thankful Level 3
  • Revival Level 1
  • Knowledgeable Level 1
  • First Answer
  • Solver

View badges

Content Feed

View by

Question


Gaussian Mixture pdf plot
Hello. I have a gaussian with probability 0.2 and (m1,sigma1), another with probability 0.3 and (m2,sigma2) and one with probabi...

6 years ago | 3 answers | 0

3

answers

Solved


Circle area using pi
Given a circle's radius, compute the circle's area. Use the built-in mathematical constant pi.

6 years ago

Solved


Find the numeric mean of the prime numbers in a matrix.
There will always be at least one prime in the matrix. Example: Input in = [ 8 3 5 9 ] Output out is 4...

6 years ago

Solved


Remove any row in which a NaN appears
Given the matrix A, return B in which all the rows that have one or more <http://www.mathworks.com/help/techdoc/ref/nan.html NaN...

6 years ago

Solved


Swap the first and last columns
Flip the outermost columns of matrix A, so that the first column becomes the last and the last column becomes the first. All oth...

6 years ago

Solved


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

6 years ago

Solved


Pizza!
Given a circular pizza with radius _z_ and thickness _a_, return the pizza's volume. [ _z_ is first input argument.] Non-scor...

6 years ago

Solved


Sum all integers from 1 to 2^n
Given the number x, y must be the summation of all integers from 1 to 2^x. For instance if x=2 then y must be 1+2+3+4=10.

6 years ago

Solved


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

6 years ago

Answered
performance analysis of LDPC code
See my blog post with matlab code <https://freebil.com/?p=40>

6 years ago | 0

Answered
Hi,,is there anyone who could help in implementing the DECODER of LDPC code?
See my blog post with matlab code <https://freebil.com/?p=40>

6 years ago | 0

| accepted

Answered
need help with a for loop
In the second line of the for loop, b is 3x1 and (A*x(a)) is 3x3. So, you cant sum these. For summing, they must have identical ...

6 years ago | 0

Solved


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

6 years ago

Solved


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

6 years ago

Solved


Find the sum of all the numbers of the input vector
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 ...

6 years ago

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

6 years ago

Question


create sparse upper triangular matrix with only 1s
Hello. I want to create a sparse upper triangular with size 10^5x10^5. Is it possible? m = triu(ones(10^5); and m = ...

6 years ago | 1 answer | 0

1

answer

Question


Generator matrix for repetition coding
Hello. I would like to be able to make generator repetition matrices for given vectors. If I have the vector u = [1 0 0 1]...

6 years ago | 1 answer | 0

1

answer

Question


The variable g in a parfor cannot be classified..
Can anyone help me with this? parfor j=1:N z1r=normrnd(Z1(1),Z1(2)); %Random sample from distribution of...

7 years ago | 1 answer | 0

1

answer

Answered
I cannot install Matlab 2014a on OS X Yosemite 10.10 public beta
Try this but i dont know if it will work.. 1- find Matlab application file under Applications folder 2- Right (Control) clic...

8 years ago | 0

Question


Osx Yosemite 10.10
Public beta of OS X yosemite is out now. I installed this and now matlab doesn't work. You can’t use this version of the app...

8 years ago | 3 answers | 1

3

answers

Question


create big matrix with only 0s and 1s
I want to run the following n = 10^6; m = n/2; H = sparse(m,n); parfor jj=1:n pos = sample(cumulative); H(...

8 years ago | 1 answer | 0

1

answer

Question


problem with parfor and big sparse matrix
I have the following code but I have to run it for n>10^6. For n=10^5 the memory is over. I have 16gb. Is there any efficient wa...

8 years ago | 0 answers | 0

0

answers

Question


convert a double array to something like logical
Hello. I want to concert every 1-> 1 0 0 0 0 0 0 2-> 0 1 0 0 0 0 0 3-> 0 0 1 0 0 0 0 4-> 0 0 0 1 0 0 0 5-> 0 0 0 ...

8 years ago | 3 answers | 0

3

answers

Question


Floating point to fixed point
Hello. I want to convert some floating point values to fixed point with the best precision i can have for 20 bits. My range of v...

8 years ago | 1 answer | 0

1

answer

Question


problem with parfor loop
Is it possible to parfor this? for iter=1:50 for i=1:100 x(:,i)= rand(3,1) end end

8 years ago | 1 answer | 0

1

answer

Question


count rectangles on big matrices
Hello. I have very large sparse matrices with zero and one only and i have to count all the rectangles that there are in it. Fo...

8 years ago | 2 answers | 0

2

answers

Answered
problem with parfor loop
Thanks for your answer. Actually, the code is for edge = 1:sum(num_of_edges) var_node = edge_2_var_node(edg...

9 years ago | 0

Question


problem with parfor loop
I have the following code parfor edge = 1:1000 var_node = edge_2_var_node(edge, num_of_variable_nodes) ...

9 years ago | 2 answers | 0

2

answers

Load more