Community Profile

photo

high speed


Last seen: 3 days ago Active since 2021

Statistics

  • Thankful Level 4

View badges

Content Feed

View by

Question


Plot binary sequence of type char (MATLAB)
Dear, I have this binary sequence '011010001000000001010011' of type char, and I want to plot it to obtain a graph like that f...

3 days ago | 2 answers | 0

2

answers

Question


Convert 8x3 char to string sequence (MATLAB)
Dear, I have this char characters on MATLAB: val = '011' '010' '001' '000' '000' '001' '010...

3 days ago | 3 answers | 0

3

answers

Question


writing binary number with specific length (MATLAB)
Dear, I have this simple program: n=3; A=0.2; B=[0.7 0.5 0.3 0.1 0.1 0.3 0.5 0.7]; K=dec2bin(B/A); The output K is of type...

4 days ago | 1 answer | 0

1

answer

Question


Representing samples on analog signal according to the sample period (MATLAB)
Dear, I have this analog signal y from this code: load handel.mat filename = 'handel.wav'; audiowrite(filename,y,Fs); [y,Fe...

5 days ago | 1 answer | 0

1

answer

Question


Convert RGB image to YUV (MATLAB)
Dear, I'm trying to convert an image from standard RGB to YUV and vice-versa And I need to plot each parameter Y, U, V in subpl...

25 days ago | 2 answers | 0

2

answers

Question


aviread MATLAB function not found
Dear, In my program Ihave this line: frm(i)=aviread('test.avi',i); And I got this error: Unrecognized function or variable '...

1 month ago | 1 answer | 0

1

answer

Question


Modifying MATLAB code according to conditions (MATLAB)
Dear, I have this code A = sum(matrix(decode == 1, :), 1); B = max(A); C = find( A == B ); D = mod(code(C)+1,2); I wa...

3 months ago | 1 answer | 0

1

answer

Question


Different colors in Histogram (MATLAB)
Dear; I have created this simple program to plot the histogram of these values: Iter=[30 55 64 130 186 432]; SNR=[9 8 8 9.3 6...

5 months ago | 1 answer | 0

1

answer

Question


Check if a vector and matrix are orthogonal (MATLAB)
Dear, I founded this program: clear;clc; Niter = 2; % number of iterations EsN0_dB = -3:1:7; % SNR range to plot over msg_n...

8 months ago | 1 answer | 0

1

answer

Question


Modifying the elements of matrix from indices (MATLAB)
I have a number of elements m for example m=4. And the matrix is square of dimensions m*m P = 1 2 3 4 ...

9 months ago | 1 answer | 0

1

answer

Question


Replace sub matrices in the correspondant matrix (MATLAB)
Dear I have this program for m=4 for example: m=4; P=hankel(1:m,m:-1:1); a=zeros(m-1,m-1,m-2); a(:,:,1)=eye(m-1); for k=2:...

9 months ago | 1 answer | 0

1

answer

Question


Shift elements of matrix N times (MATLAB)
I have a parameter m and an identity matrix of dimensions m-1*m-1 for example: m=4 so the identity matrix is 3*3 a1=[1 0 0 ...

9 months ago | 1 answer | 0

1

answer

Question


Create a specific matrix (MATLAB)
Dear members I want create a square matrix in such a way that I got the general form: For example if we have m=4, we got: ...

9 months ago | 2 answers | 0

2

answers

Question


zooming a portion in the same figure (MATLAB)
Dear members, I want to know how to zoom a part in MATLAB figures and put it in the same figure as in this example:

10 months ago | 1 answer | 0

1

answer

Question


Create random matrix (MATLAB)
Dear, I have these initial parameters : numRows = 216; numCols = 432; A = zeros(numRows,numCols); numOnesPerCol = randi(([2...

11 months ago | 2 answers | 0

2

answers

Question


Create polynomials in MATLAB
Dear, I have this polynomial that I should program in MATLAB : I have for example dv=3, lambda2=0.6 and lambda3=0.4 So, in ...

11 months ago | 1 answer | 0

1

answer

Question


Sum of same values in a vector (MATLAB)
Dear; I have two vectors as follows: V1=[3 2 3 3 2 3 2 3 3 2] V2=[5;6;5;5;5] I want obtain the sum of the equal values in ea...

11 months ago | 1 answer | 0

1

answer

Question


Zero elements in a matrix more higher than ones (MATLAB)
Dear members, I want to generate a random binary matrix like this: M=216; N=432; H=randi([0,1],M,N); But I want to add a co...

1 year ago | 1 answer | 0

1

answer

Question


Create random regular matrix (Matlab)
Dear members, I have the program below, that create a random regular (equal number of ones in each row and column) matrix. Bu...

1 year ago | 1 answer | 0

1

answer

Question


Specify the path of X and Y axis (MATLAB)
Dear members, When I tried to plot this figure, the axes are not the same. X axis start from 0 to 1 with path of 0.1 and that's...

1 year ago | 1 answer | 0

1

answer

Question


Plot figures in the same figure (MATLAB)
Dear members, I have this program for one matrix H=[0 1 1 0 1 0 1 1 1 0; 0 1 1 1 0 1 0 0 1 1; 1 1 1 0 0 1 1 1 0 0; ...

1 year ago | 1 answer | 0

1

answer

Question


Convert from SNR to Eb/N0 (Matlab)
How can I convert from SNR to Eb/N0 before plotting curves on Matlab please

1 year ago | 1 answer | 0

1

answer

Question


Standard matrices (Sources) for Matlab
Anyone can help me to find standard matrices for example from IEEE How can I found standard matrices that I can use in Matlab ...

1 year ago | 1 answer | 0

1

answer

Question


Error using randi Size inputs must be scalar (Matlab)
I have entries parameters A and B, and I have to obtain C with for loop, where C is the random subset of B of size Ai I program...

1 year ago | 1 answer | 0

1

answer

Question


Create binary matrix with some conditions (Matlab)
I have this matrix of dimensions (6x12) H=[1 1 1 1 1 1 0 0 0 0 0 0; 0 0 0 1 0 0 0 0 0 0 0 0; 0 0 0 0 0 1 0 0 0 0 ...

1 year ago | 1 answer | 0

1

answer

Question


modify a program to obtain the same result from right to left
I have this matrix: H=[0 1 0 0 0 0 0 0 0 0 0 0; 0 0 0 1 0 0 0 0 0 0 0 0; 0 0 0 0 0 1 0 0 0 0 0 0; 0 0 0 0 ...

1 year ago | 1 answer | 0

1

answer

Question


Specify number of ones in each row and column in binary matrix
I want create random binary matrix of dimensions 972x1944 that contain 3 ones in each column and 6 ones in each row. How can I ...

1 year ago | 1 answer | 0

1

answer

Question


Error using reshape (Size arguments must be real integers)
I have this Matlab program: for i = 2:length(Encode)/(2*(ms-1)) - 1 tmp = reshape(V_final (:, i ), 2 , length(V_final (:...

1 year ago | 1 answer | 0

1

answer