**Statistics**

RANK**8 448**

of 250 395

REPUTATION**4**

CONTRIBUTIONS

**38** Questions

**7** Answers

ANSWER ACCEPTANCE **
73.68%
**

VOTES RECEIVED**3**

RANK

of 17 398

REPUTATION**N/A**

AVERAGE RATING**0.00**

CONTRIBUTIONS**0** Files

DOWNLOADS **0**

ALL TIME DOWNLOADS**0**

RANK

of 104 086

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

**Content Feed**

Question

How to get rid of an extra space added by getSnapshotImage

Hello, getSnapshotImage seems to be adding an extra space in the annotation of my figures. In the dummy plot below there is no ...

environ 2 mois ago | 1 answer | 0

### 1

answerHow do I get time in input?????

You mean like this ? You can enter time as '23:45' for example prompt = 'What time is it ? '; t = datetime(input(prompt), 'For...

3 mois ago | 0

Question

How to modify the size of images in a report

Hello, I am struggling to add images of the correct size in a report (https://www.mathworks.com/matlabcentral/answers/1563981-h...

3 mois ago | 1 answer | 0

### 1

answerQuestion

How to increase the size of figures in Report Generator

Hello, I want to have 2 figures per page in my report but I cant figure out how to maximize the size of my figures so that I am...

4 mois ago | 0 answers | 0

### 0

answersQuestion

How to save a figure of a specific size with exportgraphics

Hello, I simply want to export a figure of a specific size (6 x 9 inches) with the function exportgraphics as described here (h...

4 mois ago | 1 answer | 0

### 1

answerQuestion

How to conditionally merge multiple variables in a table

Hi, In the table t below I would like to merge the variables var_c, var_d and var_e into a single new variable called new_var. ...

6 mois ago | 1 answer | 0

### 1

answerQuestion

How to use sqlwrite

Hi, I am running into some problems with sqlwrite. I am trying to duplicate the example found here (https://www.mathworks.com/h...

7 mois ago | 1 answer | 0

### 1

answerQuestion

How to conditionally format a variable with fprintf

Hi, Quick question: a want to contionally format a variable so that there are 2 decimals for all numbers except for 0; 0 should...

7 mois ago | 1 answer | 0

### 1

answerWhat functions should be moved to basic MATLAB?

Hi Walter, Im tempted to say shaperead from the Mapping Toolbox. Yes, I know shaperead is a big part of the Mapping Toolbox but...

7 mois ago | 1

What’s wrong?

Is this what you want ? Works fine. t = 0:1/6000:1/30 v = (4*cos((120*pi*t) + (pi/3))) plot(t,v)

12 mois ago | 0

Question

How to subsample a dataset per week

Hi, I would like to subsample a dataset in such a way as to keep only the data that was collected on the first sampled day of t...

12 mois ago | 1 answer | 0

### 1

answerQuestion

How to transform multiple sets of coordinates in a csv file into a single shapefile

Hi, I was wondering what was the easiest way to transform the coordinates of multiple polygons in a csv file into a single shap...

environ un an ago | 1 answer | 0

### 1

answerQuestion

How to conditionally merge rows in a table

Hi, I have a quick question - I have the following table T and I would like to merge the rows where the values of the variabl...

environ un an ago | 1 answer | 0

### 1

answerQuestion

How to replace leading zeroes by spaces with regexprep

Hi, I have a basic question. I simply need to replace the leading zeroes by empty spaces in table T except for the last zero wh...

plus d'un an ago | 3 answers | 0

### 3

answersQuestion

How to duplicate the number of rows in a table based on frequency

Hi, I have a frequency table like this where N is the number of occurences: id = [1004, 1004, 1004, 1004]'; length = [23, 45,...

plus d'un an ago | 1 answer | 0

### 1

answerQuestion

Fastest way to replace NaNs by empty cells in a table

Hi, I need to replace the NaNs in the columns a and b by empty cells. The code below works but it is pretty slow. Is there a fa...

plus d'un an ago | 1 answer | 0

### 1

answerQuestion

How to reformat a table

Hi, My problem is very straightforward: i need to transform T1 into T2. What is tricky about this (in my mind anyway) is that s...

plus d'un an ago | 1 answer | 0

### 1

answerQuestion

How to condionally keep unique rows in a table

Hi, I have the following table T and I would like to keep only the rows that are unique based on the combination of the variabl...

plus d'un an ago | 1 answer | 0

### 1

answerQuestion

How to modify decimal places when exporting data with fprintf

Hi, I have a mixed-type table T that I want to export as a txt file. But I also need to change the number of decimals of T.d to...

plus d'un an ago | 2 answers | 0

### 2

answersQuestion

How to do basic time arithmetic when NaNs are involved

Hi, I have the following table and I simply want to calculate the elapsed time between start and end points. My main problem is...

plus d'un an ago | 1 answer | 0

### 1

answerQuestion

Fastest way to read mixed-type and position-delimited text files

Hi, I need to convert mixed-type text files that are position-delimited into cell arrays. To do this, I have a reference file w...

plus d'un an ago | 1 answer | 0

### 1

answerQuestion

How to use ismember to assign values from one cell array to another cell array

Hi, I have two cell arrays of unequal lengths x = {'C', 'A', 'B', 1; 'C', 'A', 'B', 1; 'C', 'A', 'B', 2; 'B', 'A', 'D', 5} ...

plus d'un an ago | 1 answer | 0

### 1

answerQuestion

How to conditionally delete columns in a cell array

Hi, I have a simple cell array that look like this: input = {'A','B','A','A','A','A','A','A'; 'A','A','B','A','A','A','A','A'...

plus d'un an ago | 2 answers | 0

### 2

answersQuestion

How to replace values above a given percentile by nans

Hi, I am trying to replace values above the 99th percentile in a table by nans by using Star Strider excellent little function ...

plus de 2 ans ago | 2 answers | 0

### 2

answersQuestion

How to reshape every cell in a structure

Hi, I am trying to reshape every cell in a 1x4 structure with 10 fields. A simplified example would look like this but when I t...

plus de 2 ans ago | 1 answer | 0

### 1

answerQuestion

How to reshape nested cell arrays in a table

Hi, How does one reshape nested cell arrays in Matlab ? Let's say I have something like this: t = table({1:24}, {1:48}, {1:48}...

plus de 2 ans ago | 2 answers | 0

### 2

answersHow to convert cell to cell array of character vectors.

Thank you all for your input.

plus de 2 ans ago | 0

Question

How to subset a table with character elements

Hi, I have a very basic question I would like to understand. Lets say we have a basic table like so: year = {1994, 1994, 1994,...

plus de 2 ans ago | 2 answers | 2

### 2

answersQuestion

How to obtain the unique combinations of two columns in a table

Hi, I am trying to obtain all the unique combinations of two columns in a table. Lets say we have the following table: year = ...

plus de 2 ans ago | 1 answer | 0

### 1

answerQuestion

How to decompose and expand a vector into ones

Hi, How would you decompose and expand a vector in Matlab ? I might not be using the right terminology but let's I = [2, 2]' ...

plus de 2 ans ago | 2 answers | 0