Community Profile

mary


27 total contributions since 2012

Contact

Contributions in
View by

Question


Plotting a curve issue. i used to draw curves by semilogy but now i don't want it in logarithmetic form!
consider the following a=[3/4 1/2 1/4]; bb=[4.1 3.3 2.7]; cc=[5.9 5.2 4.7]; dd=[7.9 7.6 7.3]; plot(a,bb,'red','L...

2 years ago | 1 Answers | 0

1

answer

Question


issue in matrix multiplication
G=[1 1 1 1 1 0 0 0 1 0 0 0; 0 0 1 1 0 0 0 1 0 1 0 0; 1 1 1 0 1 0 0 1 0 0 1 0; 1 0 0 1 1 1 0 1 0 0 0 1]; m=[1 0...

3 years ago | 5 Answers | 0

5

answers

Question


if i want to change each value 1 in a matrix to 0 how to do that?
a=[1 2 3;1 3 3;2 1 2] is there a function that make a as below b=[0 2 3;0 3 3;2 0 2]

3 years ago | 1 Answers | 0

1

answer

Question


i need some help on matrix operations!
if i have the index matrix a a=[0 1 0 1 1 0 1] and matrix b contains the actual values v=[2 3 4 2 6 1 8] here i'm go...

3 years ago | 3 Answers | 0

3

answers

Question


is there a function that calculates the no. of rows or cols
a=[1 1 1;1 1 1;1 1 1;1 1 1] no of rows=4 col=3

3 years ago | 2 Answers | 1

2

answers

Question


changing from binary to polar form
is there a matlab function that directly maps 0 to -1 and 1 to +1??

3 years ago | 1 Answers | 0

1

answer

Question


matrix multiplication issue.. i need the result to be in binary numbers
i have m=rand(1,4)>0.5; G=[1 1 1 1 1 0 0 0 1 0 0 0; 0 0 1 1 0 0 0 1 0 1 0 0; 1 1 1 0 1 0 0 1 0 0 1 0; 1 0 0 1...

3 years ago | 1 Answers | 0

1

answer

Question


how to write an exponential eqn.
i want to write this the following equation in matlab e-((r+1)^2)/2 how should i write the exponential symbol "e"

3 years ago | 1 Answers | 0

1

answer

Question


how to make a curve smooth ??
if i have a result like a curve with sharp edges and i want to make the curve smooth how do i do this?? e.g like curves of snr v...

3 years ago | 2 Answers | 0

2

answers

Question


question about matrix interleavers??
how to interleave a matrix and deinterleave it?? so it gets back to its original state?

3 years ago | 2 Answers | 0

2

answers

Question


how do i change line to curve??
my snr & ber curve appeared as a line not curve while plotting it how can i change the line to curve

3 years ago | 0 Answers | 0

0

answers

Question


please can anyone help?? i need a matlab code for turbo code and the decoding is by using viterbi
i have tried to find it using file exchange but i ddidnt find it pls help

3 years ago | 1 Answers | 0

1

answer

Question


how to rearrange an array? rows to columns?
ex: a=[1 1 1; 2 2 2; 3 3 3] to aa=[1 2 3; 1 2 3; 1 2 3]

3 years ago | 2 Answers | 0

2

answers

Question


how can i make an array of letters? is it possible
like i have a=[1:26] i want something like a=[a:z]

4 years ago | 2 Answers | 0

2

answers

Question


is this matlab code of 8psk ??
l=100000; %L length of si the input one dimension array nni=randn(1,l);%generate L by L array of random scalare ...

4 years ago | 1 Answers | 0

1

answer

Question


question about qpsk and 8psk
why the transmitted data (the kind of data we deal with) in qpsk is complex data while the one we deal with in 8psk is real data...

4 years ago | 1 Answers | 0

1

answer

Question


how to mix the result of 3 programs (3 curves) in a single figure contains all of these curves?
the first program : l=100000; %L length of si the input one dimension array nni=randn(1,l);%generate L by L array of rand...

4 years ago | 2 Answers | 0

2

answers

Question


how to shift arrays to the left
if i have a=[0 0 0 0 0 0 0 0] a(1,8)=5; shifting a will results in : a=[0 0 0 0 0 0 5 0] how can i do that?

4 years ago | 1 Answers | 0

1

answer

Question


why this prog is not working properly??
L=10; a=1/(2^(1/2)); arr=[0 0 0 0 0 0 0 0 0 1 0;0 1 0 0 1 0 0 1 0 0 1;1 0 0 0 0 0 1 0 0 -1 0;1 1 0 0 1 0 1 1 0 0...

4 years ago | 0 Answers | 0

0

answers

Question


how to generate a matrix of 1 by L dimentions contains complex data from real and imaginary components
how to generate a matrix of 1 by L dimentions contains complex data from real and imaginary components.

4 years ago | 1 Answers | 0

1

answer

Question


how to shift arrays to the right??
for example i have : arr=[1 0 1 1 0 0 0 1];i want to shift it one step to the right and add a random bit to the left my ar...

4 years ago | 1 Answers | 0

1

answer

Question


i need a TCM (trellis coded modulation) matlab code
Uing 2/3 convolutional encoder and viterbi decoder

4 years ago | 1 Answers | 0

1

answer

Question


how to generate a random digital sequence formed of only two bits
fo example how to generate 00 or 01 0r 10 or 11 randomly?

4 years ago | 1 Answers | 0

1

answer

Question


finite state machine ( r=m/m+1 convolutional encoder) .. in trellis coded modulation
i need an example of a finite state machine (2/3 convolutional encoder) with its truth table can anyone help me plz?

4 years ago | 0 Answers | 0

0

answers

Question


how to create a table in matlab to list my results in without the need to run the program each time to get the results and plot
i ran the same program twice in two cases to get the value of SNR & BER and i got two list of values for each .. how can i apply...

4 years ago | 3 Answers | 0

3

answers

Question


is there a function in matlab that creates a binary repetition coder ?
for example when i enter a sequence 0010110 ;when n=3 the result will be 000000111000111111000

4 years ago | 2 Answers | 0

2

answers

Question


how can i write a program that transmits a signal through a AWGN channel .. showing the effect of the noise?? how can i compute bit error rate and signal to noise ration and then plot them togother using matlab
l=10^4; // total number of transmitted bits (no. of si) errorcounter=0; snr=[1:15]; // range of signal to no...

4 years ago | 2 Answers | 0

2

answers