Research Assistant.

Department of Electrical and Computer Engineering

University of Virginia

질문

Finding first 5 maxima and its consecutive minima.

I have the signal in the plot which is zoomed in a time window to show the peaks. I want to find not only the maxima (I did th...

16일 전 | 답변 수: 1 | 0

질문

Create a binary matrix for more than 50 variables

I am not able to get the ouput for: dec2bin(0:1:2^no_of_variables-1) where 2^no_of_variables = 50 or more. This is because ...

18일 전 | 답변 수: 1 | 0

질문

How to make stack plot with y axis consisting of multiple plots?

I make the plots by the following code using subplots subplot(2,1,1) for i=2:size(data,1) plot_fig(i) = plot(data(1,:...

18일 전 | 답변 수: 1 | 0

질문

Can we save the table as delimited txt in a proper manner?

I am using the following command. writetable(T,'myData.txt','Delimiter',' ') However, the table doesn't get stored as nicely...

19일 전 | 답변 수: 0 | 0

질문

Dynamic variable names for MATLAB table

I am making the header names of the table as following: colnames = [arrayfun(@(x) sprintf('type%d', x), 1:size(all_sorted), 'Un...

19일 전 | 답변 수: 1 | 0

질문

How to take logical or of all the elements in the vector without a loop?

I am trying to use or(a(1,1):a(1,size(a,2))) but it doesn't run for more than 2 elements. also when I run or(1,1,0,0.1,0,...

20일 전 | 답변 수: 2 | 0

질문

Converting a variable sized cell array to a matrix

I have a cell as below: 5 -3 11 2 3 7 -9 7 -1 3 2 4 -4 ...

20일 전 | 답변 수: 1 | 0

질문

How to position the legend such that it is not over the plots and also how to make horizontal legends?

I am plotting mxn matrix (y-axis) with the mx1 vector (x-axis). However, the plot just looks bad for cases of more than 10 legen...

20일 전 | 답변 수: 1 | 0

질문

How to construct and evaluate a boolean expression using symbols?

If I have a boolean expression that is y = (x1bar∨x2)(x3bar∨x4bar)(x3bar∨x5) I am currently using a simple 1 and 0 matrix to ...

20일 전 | 답변 수: 1 | 0

질문

Can I make the matrix of size n with only x elements known and rest all 0?

I have a matrix that can have some x known values. But I want to make it of fixed length n. In other words, I want to append 0s ...

21일 전 | 답변 수: 2 | 0

질문

Is there a matrix which can be alphanumeric?

I am trying to make a matrix like 1n -1 1n 2 1n 1 1n 3 The first column is going to be concaten...

24일 전 | 답변 수: 1 | 0

질문

Is it possible to read a file line by line and then break each line into individual characters/numbers for further processing?

If I have a file with the folliwing contents: a file.dat a n pqr 3 2 1 -3 0 2 3 -1 0 Then is it possible to extract the nu...

약 1달 전 | 답변 수: 1 | 0

질문

MATLAB not using the RAM entirely. Is it because I have an academic license?

I have a big workstation with 256 GB RAM and 32 cores. The intention to buy this was to speed up the simulations. But, I just fi...

약 2달 전 | 답변 수: 1 | 0

질문

How to construct a large graph (~1e5) that has max, min, and avg degree using the logical sparse adj matrix that computes faster. Also, how to ensure that the graph is not broken (there are no subsets of disconnected graphs in the main graph)?

I have the following code for generating a small (~1e3) graph that I can control the degree of (code 1). This has n (number of n...

약 2달 전 | 답변 수: 0 | 1

질문

Generate a 100000x100000 matrix that takes less time and memory

I have written a random matrix generator code that generates an adjacency matrix of any size. I am targetting larger size like 1...

약 2달 전 | 답변 수: 3 | 0

질문

how to find fwhm using fwhm()?

I have a time domain data and also a FFT of this data. But when I use fwhm(x,y) then it says Pulse Polarity = Positive Pulse ...

약 2달 전 | 답변 수: 1 | 0

질문

dBc/Hz phase noise undefined function error?

I am trying to use phaseNoiseMeasure (https://www.mathworks.com/help/msblks/ref/phasenoisemeasure.html) function to find dBc/Hz...

약 2달 전 | 답변 수: 1 | 0

질문

How to display the filename correctly?

I am trying to export a figure with a file name that is derived from the string name after a section of a code. Below is the exp...

2달 전 | 답변 수: 1 | 0

질문

How to maintain uniformity in the xtick and ytick labels? Also, how to adjust the legend position in a non-interactive setup.

I have the below plot and I want to do the following changes. 1) If you see the horizontal spacing between tick and the plot i...

2달 전 | 답변 수: 1 | 0

답변 있음

How to plot the figure as equivalent to figure Picture1 below?

I got the solution. It is quite simple. I used export_fig function of MATLAB https://www.mathworks.com/matlabcentral/fileexchang...

How to plot the figure as equivalent to figure Picture1 below?

I got the solution. It is quite simple. I used export_fig function of MATLAB https://www.mathworks.com/matlabcentral/fileexchang...

2달 전 | 0

| 수락됨

질문

How to plot the figure as equivalent to figure Picture1 below?

I have a plotted figure in software called Origin. I used to use the EMF figures from Origin and import them into the PowerPoint...

2달 전 | 답변 수: 1 | 0

답변 있음

Problem Add-Ons Matlab 2016b

Please try to run the following in the MATLAB Command Window: >> opengl software And then try opening the Add on explorer aga...

Problem Add-Ons Matlab 2016b

Please try to run the following in the MATLAB Command Window: >> opengl software And then try opening the Add on explorer aga...

3달 전 | 0

답변 있음

Facing problem whenever try to access Matlab add-on explorer in 2017a

Please try to run the following in the MATLAB Command Window: >> opengl software And then try opening the Add on explorer aga...

Facing problem whenever try to access Matlab add-on explorer in 2017a

Please try to run the following in the MATLAB Command Window: >> opengl software And then try opening the Add on explorer aga...

3달 전 | 0

답변 있음

File Exchange and Add-On Explorer

Please try to run the following in the MATLAB Command Window: >> opengl software And then try opening the Add on explorer aga...

File Exchange and Add-On Explorer

Please try to run the following in the MATLAB Command Window: >> opengl software And then try opening the Add on explorer aga...

3달 전 | 0

답변 있음

add-on maintenance problem

Please try to run the following in the MATLAB Command Window: >> opengl software And then try opening the Add on explorer aga...

add-on maintenance problem

Please try to run the following in the MATLAB Command Window: >> opengl software And then try opening the Add on explorer aga...

3달 전 | 0

답변 있음

Installed add-on stops working after restarting MATLAB

Please try to run the following in the MATLAB Command Window: >> opengl software And then try opening the Add on explorer aga...

Installed add-on stops working after restarting MATLAB

Please try to run the following in the MATLAB Command Window: >> opengl software And then try opening the Add on explorer aga...

3달 전 | 0

답변 있음

Matlab R2016B Add-Ons Explorer / MATLABWindow command

Please try to run the following in the MATLAB Command Window: >> opengl software And then try opening the Add on explorer aga...

Matlab R2016B Add-Ons Explorer / MATLABWindow command

Please try to run the following in the MATLAB Command Window: >> opengl software And then try opening the Add on explorer aga...

3달 전 | 0

답변 있음

MATLAB 2018a won't start add-on manager in Ubuntu 18.04

Please try to run the following in the MATLAB Command Window: >> opengl software And then try opening the Add on explorer aga...

MATLAB 2018a won't start add-on manager in Ubuntu 18.04

Please try to run the following in the MATLAB Command Window: >> opengl software And then try opening the Add on explorer aga...

3달 전 | 0

답변 있음

Add-on Explorer shows a blank window

Please try to run the following in the MATLAB Command Window: >> opengl software And then try opening the Add on explorer aga...

Add-on Explorer shows a blank window

Please try to run the following in the MATLAB Command Window: >> opengl software And then try opening the Add on explorer aga...

3달 전 | 3

답변 있음

Add-ons, Logging in etc Do Not Work - Linux installation

Please try to run the following in the MATLAB Command Window: >> opengl software And then try opening the Add on explorer aga...

Add-ons, Logging in etc Do Not Work - Linux installation

Please try to run the following in the MATLAB Command Window: >> opengl software And then try opening the Add on explorer aga...

3달 전 | 0