統計
All
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年以上 前 | 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年以上 前
解決済み
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年以上 前
解決済み
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年以上 前
解決済み
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年以上 前
解決済み
Determine if input is odd
Given the input n, return true if n is odd or false if n is even.
8年以上 前
解決済み
Pizza!
Given a circular pizza with radius _z_ and thickness _a_, return the pizza's volume. [ _z_ is first input argument.] Non-scor...
8年以上 前
解決済み
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年以上 前
解決済み
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年以上 前
回答済み
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年以上 前 | 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年以上 前 | 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年以上 前 | 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年以上 前 | 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年以上 前
解決済み
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年以上 前
解決済み
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年以上 前
質問
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年以上 前 | 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年以上 前 | 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年以上 前 | 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年以上 前 | 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年以上 前 | 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年以上 前 | 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年以上 前 | 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年以上 前 | 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年以上 前 | 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年以上 前 | 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年以上 前 | 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年以上 前 | 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年以上 前 | 2 件の回答 | 0