Question


Read data from .txt file
Hi, I have a .txt file which got 1442 rows and 100 columns. I nned to read and store this data in a sepertae array, lets say A....

ungefär 2 år ago | 3 answers | 0

3

answers

Question


how to set values in the particular column to constnat value based on greater than equal to criteria
Hi, For Instance, lets say I have a matrix A of size 5000 x 7, I would like to set all the values greater than 1 in the column ...

mer än 2 år ago | 1 answer | 0

1

answer

Question


Gradient coloring in histogram/Histogram color
Hi, Lets say I have a two matrix Output, Outpu1. I am creating a histogram from the entries of matrix Output as follows his...

mer än 2 år ago | 1 answer | 0

1

answer

Question


estimation of probability density function
I am loking into calculate a PDF for the herewith attached histogram.. Could someone help me with this.. I didn't get a proper ...

mer än 2 år ago | 1 answer | 0

1

answer

Question


Select values in the matrix based on the condition
Hi, I have two matrix A and B of 94349 x 1. Here the values in the matrix A are range from 0 to 1. First, I have to identify ...

mer än 2 år ago | 1 answer | 0

1

answer

Question


define color range in scatter plot
Hi, I have values ranging from 0 to 3000. Here, only for the values ranging between 2000 to 3000 I have to use the color palett...

mer än 2 år ago | 2 answers | 0

2

answers

Question


change marker color based on the values
Hi, I have a matrix B of 94859 x 3. In the the below command, I would like to change each individual marker color based on the ...

mer än 2 år ago | 1 answer | 0

1

answer

Question


Issue with sprintf () latex interpreter
In the below command, in the place of X=1, is it posiible to call the value that's been defined outside. I tried to use sprintf...

mer än 2 år ago | 1 answer | 0

1

answer

Question


different file name in saving images
In the below script, based on iteration numbers in for loop, I need to change Y_10, Y_20,Y_30,Y_40.....Y_100 Is there a way to ...

mer än 2 år ago | 1 answer | 0

1

answer

Question


Read files from multiple folders
Hi, Lets say I have some 100 .dat files in each subfolder A, B , C , D that is placed inside the folder named Data. Here, I wou...

mer än 2 år ago | 1 answer | 0

1

answer

Question


divide the entries in the column by entries from another column
Hi, I have five arrays lets say A, B , C , D, E of size 100x 3. Here, For instance, I have to divide entries in the second col...

mer än 2 år ago | 1 answer | 0

1

answer

Question


Adding additional column into the array
Hi, I have two arrays A, B of size 100 x 3 and 100 x 5 . Here I would like to copy the entries in the fifth column of B array...

mer än 2 år ago | 2 answers | 0

2

answers

Question


Adding subtitle to the plot
Hi, I am trying to add subtile to my plots, however, I am getting the below error.. Actulaly, I am uisng Matlab 2018.. Will th...

mer än 2 år ago | 1 answer | 0

1

answer

Question


rename files inside the folder
I have to rename files that is placed inside the folder, for e.g. in the below shown example 080 needs to be replaced as 020.. A...

mer än 2 år ago | 1 answer | 0

1

answer

Question


Normalizing histogram counts to 1
Hi, I am trying to normalize the histogram counts in the from of 0 to 1 using the below script. However, I am not getting my co...

mer än 2 år ago | 1 answer | 0

1

answer

Question


Issue with figure display
Hi, I have used below command inside the for loop to avoid the display of figures. However, if I run some other command even in...

mer än 2 år ago | 1 answer | 0

1

answer

Answered
Two histograms with different x axis /values
Excellent Thanks

nästan 3 år ago | 0

Question


Select values in one column based on entries in another column
Hi. I looking for a way to read values in one column based on the entries in qnother column, For example in the attached array...

nästan 3 år ago | 2 answers | 0

2

answers

Answered
Assign Character based on condition
Actually, X, Y ,Z are not of same size.. I will try the if, else if method as you suggested..

nästan 3 år ago | 0

Question


Assign Character based on condition
Hi, In the below script, if ii = 3, I would like to define X_5 (:,1) = X_5 (:,1)*(2); and for ii =2 it should be Y i.e. Y_5 (...

nästan 3 år ago | 2 answers | 0

2

answers

Question


latex interpreter sprintf issue
Hi, I would like insert text in my figure y = 10mm_x=1, I tried as follows, but it throws below error Suggestions please !! ...

nästan 3 år ago | 1 answer | 0

1

answer

Question


How to assign character/string in the for loop
Hi, I am defining the character fname = '*A' I need to use this chracter insdie the for loop as follows, fname(i)={load(flist...

nästan 3 år ago | 1 answer | 0

1

answer

Question


Two histograms with different x axis /values
Hi, I am trying plot histogram with two different x values on the single plot. Did somebody tried something similar like this b...

nästan 3 år ago | 2 answers | 0

2

answers

Question


Issue with latex interpreter plot/chart title
Hi, I would like to assign plot title as follows Y_10mm_X = num2str(b2(i)). where i = 0.78 For this, I tried as follows title...

nästan 3 år ago | 1 answer | 0

1

answer

Question


Save histogram graphs during for loop operation
Hi, I got my data stored in the form of 100 x 192, I am generating one histrogram plot per 8 columns of data. This means, final...

nästan 3 år ago | 1 answer | 0

1

answer

Answered
insert zero into the column in the array
Hi, Thanks a lot.. This is what exactly I looking for.. May I know how to implement this, for multiple such arrays located in...

nästan 3 år ago | 0

Question


insert zero into the column in the array
Hi, I have a array of size 49 x 3 (Attached here), here, I would like to make entries in the thrird column starts from 1 to 10...

nästan 3 år ago | 2 answers | 0

2

answers

Question


Issue with cell during for loop operation
Hi, I am genrating cells of size 1 x 200 through for loop operation. Ideally, for each iteation I should get a array of size 10...

nästan 3 år ago | 1 answer | 0

1

answer

Question


Standard deviation of 2D array
Hi, I am trying to calculate the standard deviation of 2D array 'v' of dimesnion 89 x 97. I have tried as follows ,but it ret...

ungefär 3 år ago | 1 answer | 0

1

answer

Answered
Issue with Quiver plot
Thanks, with set(gca, 'XDir','reverse') I got the desired results. But on the x axis I always need to display negative values on...

ungefär 3 år ago | 0

Load more