Domanda


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

circa 2 anni fa | 3 risposte | 0

3

risposte

Domanda


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

oltre 2 anni fa | 1 risposta | 0

1

risposta

Domanda


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

oltre 2 anni fa | 1 risposta | 0

1

risposta

Domanda


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

oltre 2 anni fa | 1 risposta | 0

1

risposta

Domanda


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

oltre 2 anni fa | 1 risposta | 0

1

risposta

Domanda


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

oltre 2 anni fa | 2 risposte | 0

2

risposte

Domanda


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

oltre 2 anni fa | 1 risposta | 0

1

risposta

Domanda


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

oltre 2 anni fa | 1 risposta | 0

1

risposta

Domanda


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

oltre 2 anni fa | 1 risposta | 0

1

risposta

Domanda


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

oltre 2 anni fa | 1 risposta | 0

1

risposta

Domanda


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

oltre 2 anni fa | 1 risposta | 0

1

risposta

Domanda


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

oltre 2 anni fa | 2 risposte | 0

2

risposte

Domanda


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

oltre 2 anni fa | 1 risposta | 0

1

risposta

Domanda


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

oltre 2 anni fa | 1 risposta | 0

1

risposta

Domanda


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

oltre 2 anni fa | 1 risposta | 0

1

risposta

Domanda


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

quasi 3 anni fa | 1 risposta | 0

1

risposta

Risposto
Two histograms with different x axis /values
Excellent Thanks

quasi 3 anni fa | 0

Domanda


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

quasi 3 anni fa | 2 risposte | 0

2

risposte

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

quasi 3 anni fa | 0

Domanda


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

quasi 3 anni fa | 2 risposte | 0

2

risposte

Domanda


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

quasi 3 anni fa | 1 risposta | 0

1

risposta

Domanda


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

quasi 3 anni fa | 1 risposta | 0

1

risposta

Domanda


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

quasi 3 anni fa | 2 risposte | 0

2

risposte

Domanda


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

quasi 3 anni fa | 1 risposta | 0

1

risposta

Domanda


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

quasi 3 anni fa | 1 risposta | 0

1

risposta

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

quasi 3 anni fa | 0

Domanda


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

quasi 3 anni fa | 2 risposte | 0

2

risposte

Domanda


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

quasi 3 anni fa | 1 risposta | 0

1

risposta

Domanda


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

circa 3 anni fa | 1 risposta | 0

1

risposta

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

circa 3 anni fa | 0

Carica altro