질문


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....

대략 2년 전 | 답변 수: 3 | 0

3

답변

질문


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 ...

대략 2년 전 | 답변 수: 1 | 0

1

답변

질문


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...

2년 초과 전 | 답변 수: 1 | 0

1

답변

질문


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 ...

2년 초과 전 | 답변 수: 1 | 0

1

답변

질문


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 ...

2년 초과 전 | 답변 수: 1 | 0

1

답변

질문


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...

2년 초과 전 | 답변 수: 2 | 0

2

답변

질문


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 ...

2년 초과 전 | 답변 수: 1 | 0

1

답변

질문


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...

2년 초과 전 | 답변 수: 1 | 0

1

답변

질문


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 ...

2년 초과 전 | 답변 수: 1 | 0

1

답변

질문


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...

2년 초과 전 | 답변 수: 1 | 0

1

답변

질문


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...

2년 초과 전 | 답변 수: 1 | 0

1

답변

질문


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...

2년 초과 전 | 답변 수: 2 | 0

2

답변

질문


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...

2년 초과 전 | 답변 수: 1 | 0

1

답변

질문


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...

2년 초과 전 | 답변 수: 1 | 0

1

답변

질문


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...

2년 초과 전 | 답변 수: 1 | 0

1

답변

질문


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...

2년 초과 전 | 답변 수: 1 | 0

1

답변

답변 있음
Two histograms with different x axis /values
Excellent Thanks

2년 초과 전 | 0

질문


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...

2년 초과 전 | 답변 수: 2 | 0

2

답변

답변 있음
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..

거의 3년 전 | 0

질문


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 (...

거의 3년 전 | 답변 수: 2 | 0

2

답변

질문


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 !! ...

거의 3년 전 | 답변 수: 1 | 0

1

답변

질문


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...

거의 3년 전 | 답변 수: 1 | 0

1

답변

질문


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...

거의 3년 전 | 답변 수: 2 | 0

2

답변

질문


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...

거의 3년 전 | 답변 수: 1 | 0

1

답변

질문


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...

거의 3년 전 | 답변 수: 1 | 0

1

답변

답변 있음
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...

거의 3년 전 | 0

질문


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...

거의 3년 전 | 답변 수: 2 | 0

2

답변

질문


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...

거의 3년 전 | 답변 수: 1 | 0

1

답변

질문


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...

대략 3년 전 | 답변 수: 1 | 0

1

답변

답변 있음
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...

대략 3년 전 | 0

더 보기