Respondida
Hello, I want to simulate traffic between a multiple antenna base station and a single antenna user for mm-wave frequency of 28GHz. What is the most suitable channel model for such high frequency and what kind of beamforming would you suggest?
Hi The suitable channel models for mm-wave frequency of 28 GHz are nrTDLChannel and nrCDLChannel that followed the aspects of T...

alrededor de 6 años hace | 0

Respondida
Problem solving system of differential equations using dsolve()
The input odes to the dsolve function can be a vector only when the number of indeterminates are equal to the number of odes. Ho...

alrededor de 6 años hace | 0

Respondida
How to quickly find the minimal number of rows in a sparse matrix to form a full-rank sub-matrix?
Here is a similar question for your reference to find the minimal number of rows in a sparse matrix to form a full-rank sub-matr...

alrededor de 6 años hace | 0

| aceptada

Respondida
Is there a way to programmatically "print" the window of the dsp.SpectrumAnalyzer to a JPG or PNG file?
Use the below code to get the spectrum analyzer window to a JPG or PNG file including the measurement data programmatically. sc...

alrededor de 6 años hace | 0

| aceptada

Respondida
niftiread niftiwrite cycle inappropriately changes image orientation
Hi Randolph, I have heard that the issue with niftiwrite function is known and the concerned parties may be investigating furth...

alrededor de 6 años hace | 2

Respondida
how to copy circle for a new image using imfindcircle?
Use the code below to copy circle for a new image using 'imfindcircle'. theta=0:1:360; r=round(centers(1,1) + radii*sin(theta)...

alrededor de 6 años hace | 0

Respondida
How to compute the scaled version of gray scale image
The ‘NumLevels’ property in ‘graycomatrix’ function scales the image to 8 gray scales as the default value of ‘NumLevels’ is 8. ...

alrededor de 6 años hace | 0

Respondida
How to get the range of a complex Inequality
The range of complex inequality can be obtained by using the following syntax for ‘solve’ function. S = solve(a0>0, [kp,ki], 'I...

alrededor de 6 años hace | 0

Respondida
how can i use 3d scatter interpolation
Use ‘scatteredInterpolant’ function to interpolate the 3d scattered data. The 3d scattered data can also be interpolated using D...

alrededor de 6 años hace | 0

Respondida
Get data from basemap 'topographic'
1. In order to plot a rectangle on the matlab basemap ‘topographic’, use the below code. xRec = [44.56 44.51 44.51 44.56 44.56]...

alrededor de 6 años hace | 0

| aceptada

Respondida
Drawing a tangent line (concave line) for a curve
Considering the curve equation as f(x), find the derivative of the curve w.r.to the variable the curve depends on i.e. ‘x’. Eval...

alrededor de 6 años hace | 0

Respondida
Plot animation of multivariable function
I considered a random function to plot the animation of a multivariable function. x = linspace(-2,2); y = linspace(-2,2); z =...

alrededor de 6 años hace | 0

Respondida
How to convert an ideal filter to a non-ideal filter?
In the above code, the size of C is 3*3 due to the selection of the ‘shape’ in ‘conv2’ function as ‘same’. However, selecting th...

alrededor de 6 años hace | 0

| aceptada

Respondida
how to substitute sym variables in jacobian matrix with numeric values?
The ‘subs’ function works as expected. Please find the code shown below. Iscr = 1; Iph = 2; Vth = 5; n = 4; Vocr = 3; Im =...

alrededor de 6 años hace | 0

Respondida
what is the code for converting .wav audio file to hex values and also the reverse of it
Use the following code to convert the .wav audio file to hex values and the reverse of it. [y,Fs] = audioread('RockGuitar.wav')...

alrededor de 6 años hace | 0

Respondida
Error in port widths or dimensions. Output port 1 of 'untitled/Add' is a one dimensional vector with 64 elements
Hi Awais Ahmad, After creating the Simulink model, run the pulse_detector_v1_tb.mlx testbench file available from the link: htt...

alrededor de 6 años hace | 0

Respondida
How do I edit Default Exciter = dipole in the Antenna Toolbox
Use the following code to design the reflectorCorner antenna with operating frequency 434 MHz. antenna = reflectorCorner; des...

alrededor de 6 años hace | 0

Respondida
How to create a 3 variable Karnaugh Map
The following link might help in creating a 3 variable Karnaugh map in MATLAB. https://www.mathworks.com/matlabcentral/fileexch...

alrededor de 6 años hace | 0

Respondida
Using the findpeaks function with threshold
The threshold value can be inputted by the user as shown below. prompt = 'What is the threshold value? '; threshold = input(pr...

más de 6 años hace | 0

Respondida
How to close the signalAnalyzer app from the command line?
As of now, closing the signal analyzer app from the command window is not supported for the available MATLAB releases. However,...

más de 6 años hace | 2

| aceptada

Respondida
how do we plot enumerated data and real floating point data in the same plot/figure?
The y-axis values in the plot function do not support enumerated data types. Refer https://www.mathworks.com/help/matlab/ref/plo...

más de 6 años hace | 1

| aceptada

Respondida
Did I implement the backwards-euler Methode correctly?
Hi Marchus, The backward euler method is implemented correctly, however as f is not a function of t, the plot is constant for i...

más de 6 años hace | 0

| aceptada

Respondida
Hank and Tank code model
Hi MATLAB has few examples that are related to keynesian models. https://www.mathworks.com/help/econ/examples/modeling-the-un...

más de 6 años hace | 0

Respondida
how to generate an image given 2D points coordinates and the gray intensity value
Hi Luca To generate an image with the given 2D point coordinates and the gray intensity value, use the imshow function in MATLA...

más de 6 años hace | 0

| aceptada

Respondida
Best way to plot spectogram of multiple single frequency inputs (0.05hz, 0.1hz, 0.15hz etc) and corresponding output data
Use the spectrogram function to plot the spectrogram of multiple single frequency inputs. Define the input signal with different...

más de 6 años hace | 0

Respondida
Save output variables from uitable in the workspace
Hi Joseba, To save the updated values of the editable table into the workspace in the newData variable, use the below command. ...

más de 6 años hace | 0

| aceptada

Respondida
Numden on complex equation returns unexpected result
The given input to numden function is a symbolic expression. However, as it involves a complex number, the numden function handl...

más de 6 años hace | 0

Respondida
Is it possible to change stackedplots background color?
As of now, changing the background color in stackedplot is not supported in AppDesigner -> uifigure for the available MATLAB rel...

más de 6 años hace | 1

| aceptada

Respondida
Problem combining Count and switch block in simulink
The issue occurred primarily because the Switch block is being used before the Counter block in your Simulink model. In order to...

más de 6 años hace | 0

| aceptada

Respondida
Using nested loop to check for whole numbers inside a matrix
To check for whole numbers inside a matrix using nested loop, use the code as shown below. x = [1 2.5 4;3.2 6 9;5.2 6 7]; [rx,...

más de 6 años hace | 0

Cargar más