Risposto
How to code for the following coordinates?
I did it myself. So if any body needs it, here it is: clear all clc N=11;%9;%7; d=0.5; r=zeros(N,3); x=[0 d:d:(N-1)/2*d ze...

oltre un anno fa | 0

| accettato

Domanda


How to code for the following coordinates?
Let N denotes no. of antennas placed along an axis.Now if I have total 7 antennas i.e., N=7 and I place each antenna 0.5 apart o...

oltre un anno fa | 2 risposte | 0

2

risposte

Domanda


How to modify the code to get my desired array?
If we keep 10 antennas at equal distance in a circle on XY-Plane, then their coordinates are given by the code given below: fun...

quasi 2 anni fa | 1 risposta | 0

1

risposta

Domanda


Why does my function abc give error with optimtool
I have a function file abc. I want to run it with optimtool ga. I do settings in the Optimtool as below: Solver: ga-Genetic Alg...

quasi 2 anni fa | 1 risposta | 0

1

risposta

Domanda


How to plot like this????????
I want to draw my plot like the one shown in the attachment. I tried but in vain.

quasi 2 anni fa | 1 risposta | 0

1

risposta

Domanda


How to make size of legend window on a figure window as small as we desire?????
I have drawn my plot having a legend window on it. The legend is coming over the graph lines. I want to make size of the legend ...

quasi 2 anni fa | 1 risposta | 0

1

risposta

Domanda


Why this piece of code gives error?
CostFunction='fun4sn0'; nPop=120; nVar=4;%nVar=1000; nPop_Initial=nPop; nPop_Final=30; MaxNFE=3e3; MaxIter0=ceil(MaxNFE/...

quasi 2 anni fa | 2 risposte | 0

2

risposte

Domanda


Why this gives error?
LB=[0 0 0 0]; UB=[10 10 pi pi]; particles_x(1,1)=LB+rand*(UB-LB)

circa 2 anni fa | 2 risposte | 0

2

risposte

Domanda


How to draw a pulse train
I want to draw a pulse train in Matlab like the one shown blue in attached picture. The duration of each pulse is Tp and there a...

circa 2 anni fa | 1 risposta | 0

1

risposta

Domanda


How to plot peaks on desired location in a 3D plot?
There are two vectors that will make an xy-plane. I want to draw a peak pointing in z-direction on a desired location on the xy-...

circa 2 anni fa | 1 risposta | 0

1

risposta

Domanda


How to plot a 3D plot from three linear vectors?
I have three vectors x ,y and z. The size of all of them are same.But all of them are 1D arrays. I want to draw a 3D plot from t...

circa 2 anni fa | 1 risposta | 0

1

risposta

Domanda


MATLAB libraries of DHT11 sensor
@ MathWorks MATLAB Hardware Team If the DHT11 sensor is connected to my Arduino and I want to read the temperature and humidi...

oltre 2 anni fa | 1 risposta | 0

1

risposta

Canale


IOTDEMO10

oltre 2 anni fa

Domanda


Why do upsample and downsample commands give wrong results in start of sequence?
I have a code for upsampling an input sequnce x and then downsampling it back to original by a factor 3. When I look at the plot...

oltre 2 anni fa | 3 risposte | 0

3

risposte

Domanda


Everything being the same, then why does matrix C give different values in the two codes?
All the values are the same in both the codes, then why does matrix C give different values in both the codes? code1: u=[30 50...

oltre 2 anni fa | 1 risposta | 0

1

risposta

Domanda


I want to implement these equations in MATLAB but how?
The equations are given in the attachment. Assume lambda=1. How to implement the given equations in MATLAB?

oltre 2 anni fa | 1 risposta | 0

1

risposta

Domanda


How to separate the MIMO code only from given code?
The given code treats three types of system namly PHASED-ARRAY RADAR, MIMO RADAR and PHASED-MIMO RADAR (K=5). I want to delete t...

oltre 2 anni fa | 0 risposte | 0

0

risposte

Domanda


why the command "figure(gcf+1)" gives error?????
doas=[-30 -5 40]*pi/180; P=[1 1 1]; N=10; %Number of array elements K=1024; %Number of data snapshots d=0.5; %Distance bet...

oltre 2 anni fa | 1 risposta | 0

1

risposta

Domanda


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

oltre 2 anni fa | 1 risposta | 0

1

risposta

Domanda


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

oltre 2 anni fa | 1 risposta | 0

1

risposta

Domanda


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

oltre 2 anni fa | 2 risposte | 0

2

risposte

Domanda


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

oltre 2 anni fa | 1 risposta | 0

1

risposta

Domanda


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 ?

quasi 3 anni fa | 2 risposte | 0

2

risposte

Domanda


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

quasi 3 anni fa | 1 risposta | 0

1

risposta

Domanda


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

quasi 3 anni fa | 1 risposta | 0

1

risposta

Domanda


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

quasi 3 anni fa | 0 risposte | 0

0

risposte

Domanda


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

quasi 3 anni fa | 2 risposte | 0

2

risposte

Domanda


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

quasi 3 anni fa | 1 risposta | 0

1

risposta

Domanda


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

quasi 3 anni fa | 1 risposta | 0

1

risposta

Domanda


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

quasi 3 anni fa | 1 risposta | 0

1

risposta

Carica altro