# Jay Vaidya

### University of Virginia

Followers: 0 Following: 0

Research Assistant.

Department of Electrical and Computer Engineering

University of Virginia

**Statistics**

RANK**1,281**

of 291,089

REPUTATION**50**

CONTRIBUTIONS

**53** Questions

**25** Answers

ANSWER ACCEPTANCE **
84.91%
**

VOTES RECEIVED**26**

RANK

of 19,749

REPUTATION**N/A**

AVERAGE RATING**0.00**

CONTRIBUTIONS**0** Files

DOWNLOADS **0**

ALL TIME DOWNLOADS**0**

RANK

of 145,722

CONTRIBUTIONS

**0** Problems

**0** Solutions

SCORE**0**

NUMBER OF BADGES**0**

CONTRIBUTIONS**0 Posts**

CONTRIBUTIONS**0** Public Channels

AVERAGE RATING

CONTRIBUTIONS**0** Highlights

AVERAGE NO. OF LIKES

**Feeds**

Question

How to generate a periodic customized waveform?

I want to generate waveforms as shown in the image below and then tweak them to modify the fall time constant of the signal. How...

3 years ago | 1 answer | 0

### 1

answerQuestion

Change the Color of the Switch in the app designer?

I am using app designer and I would like to change the color of the switches. Available switch options were 'Rocker Switch', 'To...

3 years ago | 2 answers | 1

### 2

answersQuestion

Add listener() or a callback function to app designer?

I want to sense something continuously in my GUI (along with other functionalities of the GUI like all other buttons have differ...

3 years ago | 0 answers | 0

### 0

answersQuestion

Auto Refresh in app designer.

I have a couple of controls in my GUI but it can also happen that I control my system manually (sometimes). So the below image s...

3 years ago | 1 answer | 0

### 1

answerQuestion

How to have a stack plot with different colors?

I have the following stacked plot that I want to change the color of but I am unable to do so. Thanks in advance.

3 years ago | 1 answer | 0

### 1

answerQuestion

Reading the numeric columns from a mixed data type file

I have a file (attached below) output.mat I am trying to read the data but everytime I need to manually copy/edit and paste in ...

3 years ago | 1 answer | 0

### 1

answerQuestion

Copy and paste current MATLAB code in another folder

I want to make a copy of my current code in execution and paste it into a folder I specify. But I am not sure how to do that. Th...

3 years ago | 1 answer | 0

### 1

answerQuestion

How to modify few numbers in a random text file?

I am uploading a text file related to a model in an electronic simulator. How to modify the 4 parameters named with toxe = %1....

3 years ago | 1 answer | 0

### 1

answerQuestion

How is pspectrum() different from FFT() magnitude plotted in dB?

I am having difficulty in finding a high-resolution frequency spectrum even though I have a pretty large number of time domain d...

3 years ago | 1 answer | 0

### 1

answerQuestion

High resolution FFT from time domain data.

I have a very large time domain data with a lot of samples, but still I am not getting a good resolution in the FFT spectrum. Is...

3 years ago | 1 answer | 0

### 1

answerQuestion

Find peaks/valleys of a noisy signal

I have this signal which is noisy as well as it has too much data samples. When I try to find the peaks or valleys, it gives mul...

3 years ago | 2 answers | 0

### 2

answersQuestion

How to find the delta cycles (change in the number of cycles) in two sine signals with nearly identical frequencies?

I have these two signals generated from the following code; clc clear all close all %% f = 4000; t = 0:1e-5:50e-3; sig...

3 years ago | 2 answers | 0

### 2

answersQuestion

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

3 years ago | 1 answer | 0

### 1

answerQuestion

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

3 years ago | 1 answer | 0

### 1

answerQuestion

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

3 years ago | 1 answer | 0

### 1

answerQuestion

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

3 years ago | 0 answers | 0

### 0

answersQuestion

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

3 years ago | 1 answer | 0

### 1

answerQuestion

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

3 years ago | 2 answers | 0

### 2

answersQuestion

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

3 years ago | 1 answer | 0

### 1

answerQuestion

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

3 years ago | 1 answer | 0

### 1

answerQuestion

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

3 years ago | 1 answer | 0

### 1

answerQuestion

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

3 years ago | 2 answers | 0

### 2

answersQuestion

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

3 years ago | 1 answer | 0

### 1

answerQuestion

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

3 years ago | 1 answer | 0

### 1

answerQuestion

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

3 years ago | 1 answer | 0

### 1

answerQuestion

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

3 years ago | 0 answers | 1

### 0

answersQuestion

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

3 years ago | 3 answers | 0

### 3

answersQuestion

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

3 years ago | 1 answer | 0

### 1

answerQuestion

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

3 years ago | 2 answers | 0

### 2

answersQuestion

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

3 years ago | 1 answer | 0