Feeds
提问
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...
8 years 前 | 3 个回答 | 0
3
个回答已解决
Circle area using pi
Given a circle's radius, compute the circle's area. Use the built-in mathematical constant pi.
8 years 前
已解决
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...
8 years 前
已解决
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...
8 years 前
已解决
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...
8 years 前
已解决
Determine if input is odd
Given the input n, return true if n is odd or false if n is even.
8 years 前
已解决
Pizza!
Given a circular pizza with radius _z_ and thickness _a_, return the pizza's volume. [ _z_ is first input argument.] Non-scor...
8 years 前
已解决
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.
8 years 前
已解决
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:...
8 years 前
已回答
performance analysis of LDPC code
See my blog post with matlab code <https://freebil.com/?p=40>
performance analysis of LDPC code
See my blog post with matlab code <https://freebil.com/?p=40>
8 years 前 | 0
已回答
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>
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>
8 years 前 | 0
| 已接受
已回答
Hi, I am trying to make a parity check matrix from non-systematic to systematic. Hence I am attaching my code below. Somewhat it is correct, but there are some problems. It would be really great if someone could help me in this. Thanks
You have to do gauss jordan elimination to convert a parity check matrix to upper triangular form. For example, H=[1 1 0 1 ...
Hi, I am trying to make a parity check matrix from non-systematic to systematic. Hence I am attaching my code below. Somewhat it is correct, but there are some problems. It would be really great if someone could help me in this. Thanks
You have to do gauss jordan elimination to convert a parity check matrix to upper triangular form. For example, H=[1 1 0 1 ...
8 years 前 | 0
已回答
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 ...
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 ...
8 years 前 | 0
已解决
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 ...
8 years 前
已解决
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 ...
8 years 前
已解决
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...
8 years 前
提问
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 = ...
8 years 前 | 1 个回答 | 0
1
个回答提问
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]...
8 years 前 | 1 个回答 | 0
1
个回答提问
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...
10 years 前 | 1 个回答 | 0
1
个回答已回答
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...
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...
10 years 前 | 0
提问
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...
10 years 前 | 3 个回答 | 1
3
个回答提问
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(...
11 years 前 | 1 个回答 | 0
1
个回答提问
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...
11 years 前 | 0 个回答 | 0
0
个回答提问
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 ...
11 years 前 | 3 个回答 | 0
3
个回答提问
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...
11 years 前 | 1 个回答 | 0
1
个回答提问
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
11 years 前 | 1 个回答 | 0
1
个回答提问
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...
11 years 前 | 2 个回答 | 0
2
个回答已回答
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...
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...
11 years 前 | 0
提问
problem with parfor loop
I have the following code parfor edge = 1:1000 var_node = edge_2_var_node(edge, num_of_variable_nodes) ...
11 years 前 | 2 个回答 | 0