# Sadiq Akbar

I am Sadiq Akbar, a keen learner in Matlab

**Statistics**

RANK**14.094**

of 243.026

REPUTATION**2**

CONTRIBUTIONS

**48** Questions

**4** Answers

ANSWER ACCEPTANCE **
37.5%
**

VOTES RECEIVED**1**

RANK

of 16.987

REPUTATION**N/A**

AVERAGE RATING**0.00**

CONTRIBUTIONS**0** Files

DOWNLOADS **0**

ALL TIME DOWNLOADS**0**

CONTRIBUTIONS**0 Posts**

CONTRIBUTIONS**0** Public Channels

AVERAGE RATING

CONTRIBUTIONS**0** Highlights

AVERAGE NO. OF LIKES

**Content Feed**

Question

Where are these coefficients coming from and what does this piece of code do with these coefficients and what for?

coeff1 = [1;0;0;1;0;1];%[1;0;0;1;1]; %(Polynomial coefficients but from where does this polynomial come?) coeff2 = [1;1;1;1;...

alrededor de 21 horas ago | 0 answers | 0

### 0

answersQuestion

Why this code gives error?

Nc=31; N=5; M=3; K=3; tot_len=200; array_TX =[3.5086 0 0;2.6877 2.2553 0;0.6093 3.4553 0;-1.7543 3.0385 0;-3...

7 días ago | 1 answer | 0

### 1

answerQuestion

Why this code the given error?

close all; clear all; clc; vec = @(MAT) MAT(:); vecH = @(MAT) MAT(:).'; % M = 5; M = 10; N = 4; % N = 10; d = 0.5; K = 3...

15 días ago | 1 answer | 0

### 1

answerQuestion

why this line gives error?

I have a code in which there is an error: %% 212 % Range 213 Range_hat(1) = Ranges(snapstart(1)); 214 Rangebin_hat...

2 meses ago | 2 answers | 0

### 2

answersQuestion

What are these commands in Matlab? Can any one explain them with examples. I searched them but didn't find any help

I don't understand the following commands in Matlab. I searched their help but in vain. Can anyone explain them with examples? ...

2 meses ago | 1 answer | 0

### 1

answerQuestion

How to generate a Gaussian random complex vector of N elements

How can we generate a Gaussian random complex vector of N elements of zero mean and variance 1 in MATLAB ?

4 meses ago | 2 answers | 0

### 2

answersQuestion

How to rectify the error in this code?

I found a code for ESPRIT algorithm as below but it gives me this error: Undefined function or variable 'theatest3'. Error...

4 meses ago | 1 answer | 0

### 1

answerQuestion

Covariance matrix as a diagonal matrix or not??????

The literature says that when three signals are uncorrelated i.e., they have different frequencies, then their COVARIANCE MATRIX...

4 meses ago | 1 answer | 0

### 1

answerQuestion

Can we use xcorr() for continuous signals

If we have two continuous signals as below: Then can we use xcorr() to find the correlation between them? close all; clc; clear...

4 meses ago | 0 answers | 0

### 0

answersQuestion

two coherent and two correlated signals in Matlab

How can we generate two coherent signlas in Matlab? Likewise how can we generate two correlated signlas in Matlab. Furhter how w...

4 meses ago | 2 answers | 0

### 2

answersQuestion

Problem in AWGN command

I have two matrices A and xx.. The dimension of the matrix A is 9 x 3 complex double and that of xx is 3 x 500 complex double. T...

4 meses ago | 1 answer | 0

### 1

answerQuestion

dividing a diagonal matrix into same and different diagonal elements

I have a diagonal matrix as: V = [ 0.0001 0 0 0 0; 0 0.0001 0 0 0; ...

4 meses ago | 1 answer | 0

### 1

answerQuestion

Why do these two codes give different covariance matrices?

1st code: S =[ 0.6661 - 0.7458i 0.4210 - 0.9071i 1.0000 + 0.0000i;-0.9127 + 0.4086i -0.8429 + 0.5381i 1.0000 + 0.0000i;1...

5 meses ago | 1 answer | 0

### 1

answerQuestion

Why does this code give error?

clear all close all N=100; fc=1.0e9; fs=20*fc; w=2*pi*fc/fs; n=0:N-1; s=sqrt(1.0)*exp(i*w*n); wn=sqrt(0.1/2)*(ra...

5 meses ago | 1 answer | 0

### 1

answerQuestion

Why this code gives error?

clear all close all N=1001; f1=1.0000e9; f2=1.0200e9; fs=4*f1; w1=2*pi*f1/fs; ...

5 meses ago | 4 answers | 0

### 4

answersQuestion

How to form covariance matrix of this?

I have a complex matrix as: S = 0.6661 - 0.7458i 0.4210 - 0.9071i 1.0000 + 0.0000i -0.9127 + 0.4086i -0.8429 + 0....

5 meses ago | 0 answers | 0

### 0

answersQuestion

How to install a Matlab package offline?????

I have downloaded the following Matlab packages from Mathworks site. 1.Matlab support package for arduino 2-Simulink support p...

5 meses ago | 1 answer | 0

### 1

answerQuestion

Why the result of SQP algorithm varies each time when we change the starting point xo?

I have this code for running the SQP algorithm which is as follows: OPTIONS = optimoptions('fmincon','Algorithm','sqp','Display...

5 meses ago | 1 answer | 0

### 1

answerQuestion

Why each time algorithm "interior point" is shown in output even if I use different algorithm?

My fitness function is as below: function out=myfitness(b) u = [1 2 3 4]; out1 = u-b; out = sum(out1.^2,2...

5 meses ago | 1 answer | 0

### 1

answerQuestion

How to convert this C++ code into Matlab or How can I run this into Matlab

The following is a C++ code of CRO. How can we convert this into Matlab code or how can we run it in Matlab? #include "CRO.h" ...

6 meses ago | 1 answer | 0

### 1

answerQuestion

How to write a code for the following?

I have two vectors u=[u1 u2 u3 u4]=[1 2 3 4]; and b=[b1 b2 b3 b4]=[1 2 3 4]; For M=4 and N=3, I want a to get a row vect...

7 meses ago | 0 answers | 0

### 0

answersQuestion

how to plot it?

I have the following code. I want a plot between var1 vs e where var1 is along x-axis and ranges from 0 to 10. th=pi/180; b=[v...

7 meses ago | 1 answer | 0

### 1

answerQuestion

Error in entropy function

I use the entropy function given belwo for my data, but Matlab gives me an error. e=entropy(x,'shannon') Matlab gives me this...

11 meses ago | 1 answer | 0

### 1

answerQuestion

How to put a preview figure window in a main figure window

I have a code that gives me the plot of my data. I want to put the same plot figure as a preview in top left corner of the same ...

11 meses ago | 1 answer | 0

### 1

answerQuestion

how to make intervals in a bar graph

Suppose I have some people and they are of different weight, e.g. weight in Kq: 40-45 45-50 50-55 55-60 60-65 No. ...

11 meses ago | 2 answers | 0

### 2

answersQuestion

how to get a cdf plot of my data

I have run Flower Pollination Algorithm 100 times and have got readings of fitness values. The values of my fitness are as follo...

11 meses ago | 1 answer | 0

### 1

answerQuestion

How to overwrite labels and data in an excel file?

If I have an Excel file having labels in columns A1,B1,C1,D1,E1,F1,G1,H1,I1 and J1. Below the labels are numeric data. Now if I ...

11 meses ago | 1 answer | 0

### 1

answerQuestion

How to export a figure into MS Word?

If I have 8 figures opened in Matlab. How can I export these figures into an MS Word document?

11 meses ago | 1 answer | 0

### 1

answerQuestion

how to know the dimension of a figure window and then draw my own according to same dimension

If I have a figure window which is open. How can I know its dimesnion? I mean how can I know its size (length and width)? Once I...

11 meses ago | 1 answer | 0

### 1

answerQuestion

how to arrange vectors in descending order?

I have 100 vectors of size 100x8 each as is given in the attachment. I want to arrange them in descending order row-wise only.i....

12 meses ago | 2 answers | 0