Community Profile

photo

freebil


f

Last seen: 3 mesi fa Attivo dal 2012

Statistiche

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

Visualizza badge

Content Feed

Visto da

Domanda


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

quasi 8 anni fa | 3 risposte | 0

3

risposte

Risolto


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

quasi 8 anni fa

Risolto


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

quasi 8 anni fa

Risolto


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

quasi 8 anni fa

Risolto


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

quasi 8 anni fa

Risolto


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

quasi 8 anni fa

Risolto


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

quasi 8 anni fa

Risolto


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.

quasi 8 anni fa

Risolto


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

quasi 8 anni fa

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

quasi 8 anni fa | 0

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

quasi 8 anni fa | 0

| accettato

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

quasi 8 anni fa | 0

Risolto


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

quasi 8 anni fa

Risolto


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

quasi 8 anni fa

Risolto


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

quasi 8 anni fa

Risolto


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

quasi 8 anni fa

Domanda


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

quasi 8 anni fa | 1 risposta | 0

1

risposta

Domanda


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

quasi 8 anni fa | 1 risposta | 0

1

risposta

Domanda


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

oltre 9 anni fa | 1 risposta | 0

1

risposta

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

oltre 9 anni fa | 0

Domanda


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

oltre 9 anni fa | 3 risposte | 1

3

risposte

Domanda


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

oltre 10 anni fa | 1 risposta | 0

1

risposta

Domanda


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

oltre 10 anni fa | 0 risposte | 0

0

risposte

Domanda


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

oltre 10 anni fa | 3 risposte | 0

3

risposte

Domanda


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

oltre 10 anni fa | 1 risposta | 0

1

risposta

Domanda


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

oltre 10 anni fa | 1 risposta | 0

1

risposta

Domanda


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

oltre 10 anni fa | 2 risposte | 0

2

risposte

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

oltre 10 anni fa | 0

Domanda


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

oltre 10 anni fa | 2 risposte | 0

2

risposte

Carica altro