Community Profile

# George Vuong

14 total contributions since 2015

View details...

Contributions in
View by

Question

how to output logical arrays in each cell element of the cell array using ismember function???
So for example, lets say I have two cell arrays A and B. Each cell element contains a column vector. I would like to compare eac...

4 years ago | 1 answer | 0

### 1

Question

Is there a way to make the largest numerical value in each row in uitable bold, automatically (as in if the dataset varies) ??
For example if I run this code, I get a table 5x5 uitable, where the first column contains empty cell elements: a = [cell(...

4 years ago | 3 answers | 0

### 3

Question

How to make a column of elements in a cell array be empty cell elements??
Suppose I have a 4x4 cell array, x = num2cell(rand(4)); And i would like to make the first column of elements be e...

4 years ago | 1 answer | 0

### 1

Question

How to find area under plotted curve if given a vector containing numerical data?
If given the following data set, a, for example, and vector a is plotted using the code provided below, how do I find the area u...

4 years ago | 1 answer | 0

### 1

Question

how to identify number of values in a column vector that are not zero values and are not NaN values?
Hello, Lets say I have a 2458 x 1 column vector in a cell array, A, that contains zeros, nonzeros, and NaN values. I would li...

4 years ago | 1 answer | 0

### 1

Question

How do I output a vectors in the order for example, z1, z2,z3,z4,z5....after having a 1 x 5 cell array go through a for loop?
Hello, Lets say I have a cell array Z, and it contains the following. This is just a simple example. Z = {1,4,13,2,6} ...

4 years ago | 2 answers | 0

### 2

Question

Is there a way to connect to Microsoft SQL Server database without needing the database toolbox?
Hello, I was wondering if there is a way to connect to Microsoft SQL Server database without the database toolbox?? I did som...

4 years ago | 1 answer | 0

### 1

Question

How to convert a cell column of numerical data in a cell array to a matrix or column vector containing those numerical data?
Hello, I'm dealing with a cell array as shown below, A = {[1205:1:1211], [7]; [1881], [1]; [2449:1:2458], [10]}; and w...

4 years ago | 2 answers | 0

### 2

Question

How to properly write an if-else-statement such that if the condition is met, then the values in x-vector will be stored in the vector; or else the values in the x-vector will not be deleted??
Hello, I am stuck on trying to write what I think should be a simple and easy if-else statement, but I just seem to be having...

4 years ago | 1 answer | 0

### 1

Question

Is there a simple way of having one x-axis label and title at the bottom center and top center of subplot, respectively?
Hello, Lets say I have a 3x2 subplot and want to have only one x-axis label at the bottom center of the subplot/figure, and a...

4 years ago | 0 answers | 0

### 0

Question

How to create a title in plot such that it has the same name as the .txt file name being imported?
Hello, I have a 6x1 subplot, and it is missing a title. I want the title to be named based on the name of the .txt file I imp...

4 years ago | 1 answer | 1

### 1

Question

How to determine which indices in a row cell array contains the value 1, even when there are null vectors [ ] in the cell array?
Hello, If I have a row cell array, C = {[], [], [], [], 1, 1, 1, 1, 1, 1, 4, 4, 5, 5, 5, [], [], []} and I would li...

4 years ago | 3 answers | 0

### 3

Question

How to group sets of data based on linearly increasing sequence into individual column vectors, and to also return indexing range of where the data set started and ended for each subvector produced from the original column vector
Hello, Lets say I have a column vector that contains data such as, A = [5;6;7;8;9;10;52;53;54;55;84;85;86;87;88;89;90;...

4 years ago | 1 answer | 0