Pregunta


Can we convert a jpg or png image into a fig file via Matlab?
If we have a *.jpg or *.png image and we want to convert it to *.fig image using MATLAB code, how will we do it?

casi 2 años hace | 1 respuesta | 0

1

respuesta

Pregunta


How to draw CRLB (Cramer Rao Lower Bound) for RMSE vs Noise?
I have the following estimation of RMSE for Noise varying from 10 to 40. How to draw its CRLB graph? RMSE=[0.1252 0.0914 ...

casi 2 años hace | 0 respuestas | 0

0

respuestas

Pregunta


Why this piece of code gives error?
The following piece of code gives error: Positions=rand(30,3); fobj=@fun4sn0; for i=1:size(Positions,1) Fit(i) = fobj(Po...

casi 2 años hace | 1 respuesta | 0

1

respuesta

Pregunta


How to extract coordinate values from a graph in Matlab
I have a graph in a png picture and I want to extract the coordinates from this graph and then I want to draw it by my self in M...

casi 2 años hace | 1 respuesta | 0

1

respuesta

Pregunta


I want arrays of one and two but this code doesn't do it
its deleted

casi 2 años hace | 1 respuesta | 0

1

respuesta

Pregunta


MSE and RMSE of vector and Matrix
I have a vector u=[-30 0 41.721]; and a matrix two=rand(100,3); I want to find the error between the two, square of that error, ...

casi 2 años hace | 1 respuesta | 0

1

respuesta

Pregunta


How to remove the AWGN noise from data?
Let's say we have a vector data Uo=[20 30 40 50]; If we add AWGN noise to it, it becomes data U i.e., U=awgn(Uo,30); Now we s...

casi 2 años hace | 2 respuestas | 0

2

respuestas

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

alrededor de 2 años hace | 0

| aceptada

Pregunta


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

alrededor de 2 años hace | 2 respuestas | 0

2

respuestas

Pregunta


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

alrededor de 2 años hace | 1 respuesta | 0

1

respuesta

Pregunta


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

alrededor de 2 años hace | 1 respuesta | 0

1

respuesta

Pregunta


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

alrededor de 2 años hace | 1 respuesta | 0

1

respuesta

Pregunta


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

alrededor de 2 años hace | 1 respuesta | 0

1

respuesta

Pregunta


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

más de 2 años hace | 2 respuestas | 0

2

respuestas

Pregunta


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

más de 2 años hace | 2 respuestas | 0

2

respuestas

Pregunta


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

más de 2 años hace | 1 respuesta | 0

1

respuesta

Pregunta


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

más de 2 años hace | 1 respuesta | 0

1

respuesta

Pregunta


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

más de 2 años hace | 1 respuesta | 0

1

respuesta

Pregunta


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

más de 2 años hace | 1 respuesta | 0

1

respuesta

Canal


IOTDEMO10

más de 2 años hace

Pregunta


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

más de 2 años hace | 3 respuestas | 0

3

respuestas

Pregunta


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

casi 3 años hace | 1 respuesta | 0

1

respuesta

Pregunta


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?

casi 3 años hace | 1 respuesta | 0

1

respuesta

Pregunta


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

casi 3 años hace | 0 respuestas | 0

0

respuestas

Pregunta


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

casi 3 años hace | 1 respuesta | 0

1

respuesta

Pregunta


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

casi 3 años hace | 1 respuesta | 0

1

respuesta

Pregunta


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

casi 3 años hace | 1 respuesta | 0

1

respuesta

Pregunta


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

alrededor de 3 años hace | 2 respuestas | 0

2

respuestas

Pregunta


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

alrededor de 3 años hace | 1 respuesta | 0

1

respuesta

Pregunta


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 ?

alrededor de 3 años hace | 2 respuestas | 0

2

respuestas

Cargar más