Question

Difference between "mesh" plot and "plot3" graphs

Kindly explain the difference between "mesh" plot and "plot3" graphs. What's the importance of these two different approaches?

9 days ago | 1 answer | 0

Question

Error while using "attribute function" block in simulink (simevents) model of queue system

I am trying to simulate a restaurant model (queue model) using simevents toolbox. When I use "attribute function" block i found ...

27 days ago | 0 answers | 0

Question

use nested for-loops to generate a matrix (without typing the numbers explicitly)

I want to use nested for-loops to generate a matrix that has elements shown below (without typing the numbers explicitly) I ne...

28 days ago | 1 answer | 0

Question

Problem in "Attribute Function" in SImevents (MATLAB)

I am running a FIFO queue model for restaurent simulation using simevents, when I use "Attribute Function" to control the attrib...

2 months ago | 0 answers | 0

Question

MATLAB codeto python code conversion

I want to convert a MATLAB code to python code that I have attached here. Is it possible? If yes, what's the way?

5 months ago | 1 answer | 0

Question

I have attached a fig file in which I have used 3 legends for upper, middle and lower curve, respectively. Actually, there are six lines in each curve but I want each curve to look like a single line. How is it possible using fig file.

I have attached a fig file in which I have used 3 legends for upper, middle and lower curve, respectively. Actually, there are s...

5 months ago | 1 answer | 0

Question

how to make multiple closely drawn lines to look like a single line?

I have attached a fig file in which I have used 3 legends for upper, middle and lower curve, respectively. Actually, there are s...

5 months ago | 0 answers | 0

Question

how to use spline for a fig. file?

Can I use spline to smooth the plot in attached file?

5 months ago | 2 answers | 0

Question

How to make a plot smooth?

I have attached the fig. file of the plot and I want to make the lines smooth without running code again as it takes too much ti...

6 months ago | 1 answer | 0

Question

how to compare two graphs having different values on x-axis?

I have two sets like SINRo=[3.16455696202532 4.74683544303798 6.32911392405063 7.91139240506329 9.49367088607595 11.07594936708...

8 months ago | 1 answer | 0

Question

I want to do SC-FdMA modulation in MATLAB 2017a but when i open script, for its 'given example' in 'MATLAB 2017a help' I got error.

%% Perform SC-FDMA Modulation % Perform SC-FDMA modulation of one subframe of random % uniformly-distributed noise, using a 10...

1 year ago | 0 answers | 0

Question

I want to do SC-FdMA modulation in MATLAB 2017a but when i open script, for its 'given example' in 'MATLAB 2017a help' I got error.

%% Perform SC-FDMA Modulation % Perform SC-FDMA modulation of one subframe of random % uniformly-distributed noise, using a 10...

1 year ago | 0 answers | 0

Question

I have a matrix 'm' of oder 4 by6by960. I want to extract 1st and 3rd dimensions, i.e 4by960. how to do this?

m=rand(4,960); m = [m; zeros(20,960)]; m=permute(reshape(m, 4,6,960), [1 2 3]); % need this 3d matrix for some operation...

1 year ago | 1 answer | 0

Question

I have to combine output(79 matrix of 64 by 1) of a loop into a single matrix of 64 by 79. Kindly add a line in my code

y=rand(64,1); N=10112; SC=64; for e=1:((N/2)/SC) Rx_com_t =fft(y) end % please combine Rx_com_t into a single matrix of ...

1 year ago | 1 answer | 0

Question

how to perform idwt on a 2D matrix?

s=rand(10000,1); d=dwt2(s,'haar'); Now how to perform idwt2 on d matrix.

1 year ago | 0 answers | 0

Question

KIndly see the following code and help me to combine submatrices of my output "sigRx"

numSC = 128; % Number of OFDM subcarriers cpLen = 32; % OFDM cyclic prefix length ofdmMod = comm.OFDMModu...

1 year ago | 0 answers | 0

Question

How to combine 340 submatrices of 117 by 1 into single matrix of 9945 by 1?

where (9945/117)=85

1 year ago | 1 answer | 0

Question

I have divided a matrix of 9945 by 4 into 340 matrices of 117 by 1, I want, (after my required operation) i want to recombine them as single matrix of 9945 by 4. how can i do this using loop?

st=rand(9945,4) for n=1:85 Baserow = (n-1) * 117; for n1 = 1:4 Subset = st(Baserow+(1:117),n1, :) txSig = ofdmMod(Subset);...

1 year ago | 0 answers | 0

Question

How to combine 340 sub matrices of 117 by 1 into one matrix of 9945 by 1. I'm working on ofdm(subcarriers=128, cp length=32) and got 117 data carriers. That's why ofdm requires input matrix of 117 by 1

kindly tell me how to combine these subsets in one matrix. for example I'm working on following lines. numSC = 128; %...

1 year ago | 0 answers | 0

Question

How to combine 340 sub matrices of 117 by 1 into one matrix of 9945 by 1. I'm working on ofdm(subcarriers=128, cp length=32) and got 117 data carriers. That's why ofdm requires input matrix of 117 by 1

kindly tell me how to combine these subsets in one matrix. for example I'm working on following lines. st=rand(9945,4) for n=...

1 year ago | 1 answer | 0

Question

I was facing problem in activation matlab 2017a. I enter the path of license for activation and it gets complete but when i start matlab it again demands activation.

Now I have change the calender date of my laptop i.e., 2016. Matlab is running now but the problem is that by changing date to p...

1 year ago | 3 answers | 0

Question

I am facing problem in activation matlab 2017a. I enter the path of license for activation and it gets complete but when i start matlab it again demands activation.

That's why I am unable to use matlab. Kindly help

1 year ago | 0 answers | 0

Question

I am finding problem in matlab2017a activation. I give the license path and activation completes but when I start matlab it again demands for activation

kindly help me why it happens?

1 year ago | 1 answer | 0

Question

anyone help to fix it? Array formation and parentheses-style indexing with objects of class 'comm.OFDMModulator' is not allowed. Use objects of class 'comm.OFDMModulator' only as scalars or use a cell array.

I'm writing the following lines and getting above error numSC = 128; % Number of OFDM subcarriers cpLen = 32; ...

1 year ago | 1 answer | 0

Question

I'm working with ofdm in Matlab R2015a but facing error kindly help to resolve this

numSC = 128; % Number of OFDM subcarriers cpLen = 32; % OFDM cyclic prefix length ofdmMod = comm.OFDMModu...

1 year ago | 1 answer | 0

Question

I have a matix of 117 by 4. I need to make it 160 by 4 by adding 43 rows of zeros.

How can I do this by using matlab command or a code line.

1 year ago | 1 answer | 0

Question

I have a matrix y of 160 by 4, I have to divide it by a 3D matrix h of dimensions 4 by 6 by 117.

I want to to do A=y./h Kindly guide.

1 year ago | 0 answers | 0

Question

I have a matrix of 4095 by 4. i need to divide it into submatrices of 117 by 1.

How can I do this using for loop? I mean I have to select first 117 rows and 1st column then first 117 rows and 2nd column, then...

1 year ago | 1 answer | 0

Question

i have data of 468 by 8 char type, I need to modulate it using qpsk modulator.

srb = 468×8 char array '11111110' '00000000' '00000000' '00000001' '00000000' '00000000' ...

1 year ago | 0 answers | 0

Question

I have 468 by 1 matrix of floating data. I need to convert it to binary with same dimensions, e.g., 468 by 1. Kindly help

-1.9836 -0.0287 -0.4330 0.7517 -0.4883 -0.1712 0.2263 0.7347 .... 400+ rows here -0.5308...

1 year ago | 1 answer | 0