Frage


How to change the size of error bar?
I need to change the size of the vertical line of error bar. so I dont mean the size of cap like 'CapSize',18

mehr als 6 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


How to add another plot to box plot?
I need to make plot like this: I know how to plot each individually but dont know how to plot them next to each other like th...

mehr als 6 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


How to set the function to be able to use all variables in the script without need to be named in the function def?
When defining the function at the end of script, I realized that if I want to use a variable in that function I shouls add it as...

mehr als 6 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


Error: Operands to the || and && operators must be convertible to logical scalar values.
I need to say: if ((YesNo=='Yes') ||(YesNo=='yes')) if YesNo was 'Yes' or 'yes' then do sth. but I recieve error shown in the ...

mehr als 6 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


Error using str = input(prompt,'s')
I need to ask user whether they have control data or not. if the answer was yes, I need to do other steps. I tried this coamma...

mehr als 6 Jahre vor | 2 Antworten | 0

2

Antworten

Frage


How to add standard deviation to the boxplot?
Having boxplot, I added mean value by hold on command on the box plot. I wanted to know whether it is common to add standard dev...

mehr als 6 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


Subscripting a table using linear indexing (one subscript) or multidimensional indexing (three or more subscripts) is not supported
I recives this error: Subscripting a table using linear indexing (one subscript) or multidimensional indexing (three or more s...

mehr als 6 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


How to say concatenate from string 2 to end?
I have varying string arrays (the length of the arrays are different). I need to concatenate from the second string array to the...

mehr als 6 Jahre vor | 2 Antworten | 0

2

Antworten

Frage


Using strc to make elements for calling a table column does not work
I need to call some columns of a table in automated way. The name pof table is T and I use this line to make the T.table_column:...

mehr als 6 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


How to choose the table row with similar properties?
There is a table that I need to make a box plot out of it. I want to choose the rows that has the same scalefactor and mask_type...

mehr als 6 Jahre vor | 0 Antworten | 0

0

Antworten

Frage


how to make the empty area of the boxplot smaller?
Here is the code I use: boxplot(Tmean_split.pixels,'widths',0.1) I want to make the empty area around the box smaller. Ther...

mehr als 6 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


Scatter plot with categorical x axis
I need to make a plot which has categorical x. Here is what I am trying to produce:

mehr als 6 Jahre vor | 0 Antworten | 0

0

Antworten

Frage


Scatter plot with categorical x axis
I need to produce scatter plot with categorical x axis. I used this script: figure(1) x=['pixels']; y=Tmean_split.pixels; ...

mehr als 6 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


Multiple function handle in varfun
I need to calculate the mean and STD of elements of table and the resulting table show me the mean and std in two columns next t...

mehr als 6 Jahre vor | 1 Antwort | 1

1

Antwort

Frage


Any trick to name a variable with decimal number?
I noticed that decimal number cant be used as the name of variable like "trd_0.45". Any trirck to solve the issue? I prefer to h...

mehr als 6 Jahre vor | 1 Antwort | 1

1

Antwort

Frage


The end part of a set of cell arrays without loop
I have data like this: K>> aa(3:end) ans = 9×1 cell array {1×8 string} {1×8 string} {1×8 string} ...

mehr als 6 Jahre vor | 2 Antworten | 0

2

Antworten

Frage


How to do some calculations on nonzero nonNAN elements of an array
I have an array of about 400*20 size and some of its members are NAN or zero. There is a second array of the same size which I n...

mehr als 6 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


how to subtract/divide corresponding rows and columns of two tables?
There are twoe tables that have the same number of columns and rows. How can I substractdivide each correpsonindg elelments? T...

mehr als 6 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


Copy the content of one table to an other table with different size
I need to copy the "GroupCount" of the first table to the second table. Second table has larger size and I need to copy the Grou...

mehr als 6 Jahre vor | 2 Antworten | 0

2

Antworten

Frage


Group the array with similar strings
How can I find the strings that have similar string in them: A=['x_B1_0_s_0' , 'x_B1_0_s_1', 'x_B1_0_s_2', ' y_B1_2_s_0' , ...

mehr als 6 Jahre vor | 2 Antworten | 0

2

Antworten

Frage


New column to a table with the dynamic name
I new to add a new column to a table. The name of column is like this: column_name=strcat('A_',num2str(se)); and then I will a...

mehr als 6 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


Delete middle rows in table
I need to delete rows 3 and 4 of this table and have the 5th and 6th rows to be rows 3 and 4. How can I do that?

mehr als 6 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


Dir function gives nothing
I am using Dir function to find the specific files that have cell in their names but it retunrs nothing although cell files are ...

mehr als 6 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


Reset the order of table columns
Is it possible to change the order of columns in matlab table? Lets assume 5th column is parameter A. Can I bring it to the firs...

mehr als 6 Jahre vor | 2 Antworten | 0

2

Antworten

Frage


Is there any maximum for the size of matlab table?
I need to know if there is maximum for the number of rows and columns of the matlab table. For example is it ok to have around...

mehr als 6 Jahre vor | 3 Antworten | 1

3

Antworten

Frage


Vary the thickness of plot
I am potting multiple plots on one axis and I want to vary the thickness of plots based on their absolute value. How can I do t...

mehr als 6 Jahre vor | 3 Antworten | 0

3

Antworten

Frage


hold on for double plots in one loop
I am making two plots in a for loop one after an other. When the loop goes for the next i, I need to hold on the plot becaue I w...

mehr als 6 Jahre vor | 2 Antworten | 0

2

Antworten

Frage


Extract number from file name
There are several files like this: K10_0.0.json, Mig_Thresh_2.0.json, K_5_6.5.json, WC_0.00051.json, ... and I need to extract t...

mehr als 6 Jahre vor | 2 Antworten | 0

2

Antworten

Frage


Why array of strings are concatenated?
parameters=['K13','K24','K_52','K63','K74','K80','K101','K114','K162','MI','Ce','Ge','Pe']; When I use: size(parameters) I ge...

mehr als 6 Jahre vor | 2 Antworten | 0

2

Antworten

Frage


The best method to organize my data
Let's assume we have several parameters like A, B, C, D, ..., Z. And then each parameter can take several values like: A=1,2,3,1...

mehr als 6 Jahre vor | 1 Antwort | 0

1

Antwort

Mehr laden