photo

Konstantinos Tsitsilonis


Active since 2017

Followers: 0   Following: 0

Statistics

  • First Review
  • Thankful Level 4

View badges

Feeds

View by

Question


How to remove an entry within a cell of a cell array
Hi all, I have the following cell array: C = { [1 2] ; [2 3 4 1 3 1 8 9] ; [6 9 8 0 0 2 3] } ; How can I remove all ent...

6 years ago | 1 answer | 0

1

answer

Question


Split numeric values of vector with NaN to individual matrices
Hi all, I have the following vector: M = [ 1 ; 2 ; 4 ; 4 ; 2 ; Nan ; NaN ; NaN ; 2 ; 4 ; 2 ; 1 ; NaN ; 2 ; 3 ; 2 ; NaN ; N...

6 years ago | 1 answer | 0

1

answer

Question


Synchronize timetable, using different methods for each column
Hi all, Is it possible to synchronise two timetables in matlab by using different methods for each column? For example, below ...

6 years ago | 0 answers | 0

0

answers

Question


Plot matrices in area graph of unequal length (i.e. size of rows)
Hi all, I am having two matrices, the one is 50x2 and the other is 20x2. The first columns of both are dates, and the second co...

6 years ago | 1 answer | 0

1

answer

Question


How to horizontally concatenate the cells of a cell array with different contents into a string.
Hi All, I have a cell array as the one below: EXTR = 20×3 cell array {[ 550]} {[2]} {'GAM'} {[ ...

6 years ago | 2 answers | 0

2

answers

Question


How to replace parts of the text using regexprep
Hi all, I have a very large text file which I imported as a char. vector which whas the following pattern: text=NEW ...

6 years ago | 1 answer | 0

1

answer

Question


How to extract a specific series of strings from a character array
Hi guys, I have a massive character array (1x187253) that I imported in matlab. Here is a small sample: NEW SCOMPONEN...

6 years ago | 1 answer | 0

1

answer

Question


How to have all strings in a cell array combine to one string
Hi all, I have a 9x1 cell array with strings in each cell, and I would like to combine all the strings in the cell array on 1...

6 years ago | 1 answer | 0

1

answer

Question


Matlab GUI, Click on the plot and have a textbox with information pop up
Hi all, I have been working some time with MATLAB now, however I am relatively new to the MATLAB GUIs. In this case I have...

6 years ago | 0 answers | 0

0

answers

Question


Convert part of a string to number
Hi all, I have a set of coordinates imported from excel in string format. I would like to extract them as numbers in order to...

6 years ago | 1 answer | 0

1

answer

Question


Obtain logical vector for the position of the values located above and below NaNs
Hi guys, I have a pretty simple question. I would like to obtain the logical vector indicating the indices of numerical valu...

6 years ago | 1 answer | 0

1

answer

Question


Extract the coordinates of shorelines and plot them
Hi guys, I am drawing a world map, and I would like to plot the outline of the coastlines on a specific portion of the map th...

6 years ago | 0 answers | 0

0

answers

Question


Removing a specific row from a matrix
Hi all, I would like to remove a row from a matrix, however I cannot seem to be able to do it. Here is an example: a = [1...

6 years ago | 1 answer | 0

1

answer

Question


Change longitude coordinate convention from 0E-360W to -180E,180W in a NetCDF File
Hi all, I have a NetCDF file that plots a global map of the salinity, on top of which I superimpose the coastline coordinate...

6 years ago | 1 answer | 0

1

answer

Question


Use result of the for ith iteration of the for loop to compute the i+1 iteration
Hi all, I am using relatively complex equations in order to derive the values of the variables: a and a_prime. These variabl...

6 years ago | 1 answer | 0

1

answer

Question


Reshape matrix in the desired form
Hi all, My problem is that I would like to reshape a specific matrix in the form that I desire for my calculations, however I...

6 years ago | 2 answers | 0

2

answers

Question


Gradient of a surface
Hi all, I have written the following code in order to determine the gradient of a function between certain X and Y values spe...

7 years ago | 1 answer | 0

1

answer

Question


Perform an operation amongst three vectors if they are closer than 5% to each other
Hi all, I have three vectors as seen below: %Construct Vectors x = linspace(5,20,20)' ; vec1 = 5*x + 10 ; vec2 = 6....

7 years ago | 0 answers | 0

0

answers

Question


Find zeros in a part of a matrix
Hi all, I have a matrix such that: Tarr = 1.0e+05 * 0.0006 0.0000 0.0000 0.0000 0 0.00...

7 years ago | 1 answer | 0

1

answer

Question


How to create a semi-diagonal matrix
Hi all, I have been trying to create a semi-diagonal matrix; Now I know this may not be the right terminology for it, however...

7 years ago | 1 answer | 0

1

answer

Question


How do I configure my model to read model workspace variables?
Hi all, I am running a simple model in Simulink and I want to optimise it. I have used the Model Explorer to set the Vari...

7 years ago | 2 answers | 0

2

answers

Question


Subplots within for loops
Hi all, I can't seem to find a solution for this simple problem: I have a for loop with an output of 8 plots. I would like...

7 years ago | 1 answer | 0

1

answer

Question


Programmatic Simulink Running in For Loop
Hi all, I am having a very simple simulink simulation which I would like to run and compare results for different values of g...

7 years ago | 1 answer | 0

1

answer

Question


Matlab Logical Inequality with Tripple condition
Hi all, I would like to determine a logical inequality, but with three conditions imposed. For example, in the case of two co...

7 years ago | 0 answers | 0

0

answers

Question


Convert cellarray with variables to cellarray of the variable names as strings
Hi all, I have a cell array as shown below, with different variables named as follows: VarCell = {P_scav, T_exh, P_eng .....

7 years ago | 1 answer | 0

1

answer

Question


Convert 3-D matrix to a table
Hi all, I have an output from a for loop which is a 3-D matrix. I would like to place the contents of that 3-D matrix in a t...

7 years ago | 1 answer | 0

1

answer

Question


Concantenate Horizontally Matrices from Two Different Cell Arrays
Hi all, I have two cell arrays as follows: A = { [1; 2; 3; 4], [5; 6; 7; 8] } ; B = { [9; 10; 11; 12], [13; 14; 15; 16...

7 years ago | 2 answers | 0

2

answers

Question


Remove peaks below a threshold using findpeaks function
Hi all, I know this topic has been discussed before to some extent, but I can't seem to figure out a way to do the following....

7 years ago | 2 answers | 0

2

answers

Answered
Set Colorbar TickLabels and TickMarks
<</matlabcentral/answers/uploaded_files/85249/Screen%20Shot%202017-08-10%20at%2020.52.00.png>> Actually I managed to find a f...

7 years ago | 7

| accepted

Question


Set Colorbar TickLabels and TickMarks
Hi all, I am having trouble setting my colorbar ticklabels as I wish. Specifically I have 8 points, and have created a co...

7 years ago | 2 answers | 0

2

answers

Load more