Community Profile # Nisar Ahmed

Last seen: Today Active since 2020

#### Statistics

• #### Content Feed

View by

Question

How to re-scale a part of 2D matrix?
Hi Suppose Pe_OPT is a matrix of size 115 200 and I want to rescale the part between VD>1901&VD<1919. VD is vertical axist of ...

9 dagar ago | 1 answer | 0

### 1

Question

How to solve 'Error using image Complex values are not supported. Specify the color data as numeric or logical values.'
Hi I have attached my data S_OPT.mat having size SW_OPT (115 200) and VD (115 1); The problem is some array in SW_OPT are com...

13 dagar ago | 1 answer | 0

### 1

How to plot colorbar and plot size different?
@Star Strider Here is my code to obtain Prob_vp0, Prob_vs0, Prob_rho0.....and are plotted against VD as: x2 = [1500:50:6000]'; ...

16 dagar ago | 0

Question

How to plot colorbar and plot size different?
Hi When I plot colorbar, it reduces the size of my actual plot. I have 5 subplot and each has a separate colorbar. How to fix ...

16 dagar ago | 1 answer | 0

### 1

Question

How to plot the 10th and 90th percentiles of the predictions?
Hi, I have attached a data having a (size of a is 115 75) and want to plot the 10th and 90th percentiles of the predictions. Ho...

18 dagar ago | 1 answer | 0

### 1

Question

How to save all the simulated iterations (output of loop) togather?
Hi, This is my code and each and five out parameters are vp0, vs0, rh0, qp0, qs0 each of size (115*50). I want to save out pu...

19 dagar ago | 1 answer | 0

### 1

Question

How to solve this issue?
Hi, I have 100 initial models say length of 115 each, and after running simulation I created 100 new models. I am running simul...

20 dagar ago | 0 answers | 0

### 0

Question

How to make data of equal array length?
Hi, I have following data and how I can make FD and AD of equal size of N? FD = 0:0.225399; AD = 0:0.004045; N = 1:1:115;

28 dagar ago | 1 answer | 0

### 1

Question

How to fix a shift issue after taking hamonic mean?
Hi everyone, In the figure below, the red curve (Mdry) is the harmonic average of blue curve Md by using moving mean of 4 value...

ungefär en månad ago | 1 answer | 0

### 1

Question

How to compute harmonic average on the blocks of an array?
Hi, I have attached the data Mmin, I want to compute the harmonic average of first 4 values and then next 4 and so on. In short...

ungefär en månad ago | 1 answer | 0

### 1

Question

How to make colorbar maximum limits smae/uniform?
Hi everyone, I hope you are doing well. Attached is a figure and lesft size colorbar has max limit around 2.6 while right si...

3 månader ago | 0 answers | 0

### 0

Question

How to change the sign of some particular values in an array/matrix?
Hi, I have some positive and -ve values in the curve below (data is also attached). How can I setup my code in such a way tha...

3 månader ago | 1 answer | 0

### 1

Question

How to apply moving harmonic average on an array?
Hi, I have attached the data Kd_i = (115*1), I want to keep first and last values as it is in the data (or also shown in the f...

3 månader ago | 3 answers | 0

### 3

Question

How to put a condition for equations in the computation
Hi I have attached a data 'al' varies from say 0.05 to 0.32. I want calculate d from al, but there are two equations for the d...

3 månader ago | 1 answer | 0

### 1

Question

How I can adjust this x axis label incase of very small values of plot?
Hi, Due to small range of x axis values, the label is appearing as shown in the figure below. I have also attached the data. ...

3 månader ago | 2 answers | 0

### 2

How to plot a best fit curve to my data points?
@Alex Sha thank you for you answer, I am sorry I did not understand, do you mean, I need to compute f(x) = p1 + p2.*x + p3*x.^...

4 månader ago | 0

Question

How to plot a best fit curve to my data points?
Hi, I have attached a data (inverted_qp.mat Inv_qpAVO freq;) and a plot between fre and Inv_qpAVO is shown below in red color. ...

4 månader ago | 2 answers | 0

### 2

Question

How to add a verteical pad obove and below the curve and graph style and color displays?
Hello, I have two questions and the data is attached to the question: Q1) Lest hand side code is for the figure on right hand ...

4 månader ago | 2 answers | 0

### 2

Question

How to implement a for loop on figure plotting?
Hi, The size of f is 1*500, while the size of Q is 115 * 500. I want to plot Q at few selected f values say with the iinterval ...

4 månader ago | 1 answer | 0

### 1

Question

Have implemented for loop corectly in my code?
Hi, I want to put a for loop in my code: can you please confirm if I have done it correctly? Here is my code: f_min = 1; ...

4 månader ago | 1 answer | 0

### 1

Question

How to add the rest of parameters (in) loop?
Hi everyone, I have copied here my code and data as well (attached). The data comprises on 5 parameters (vp0 vs0 rho0 qp0 qs0...

5 månader ago | 0 answers | 0

### 0

How to plot a color shade instead of graph curves?
Hei @Image Analyst here are two data sets I have prepared. You can use any of them to create figure like (FIG 2). These datasets...

5 månader ago | 0

Question

How to plot a color shade instead of graph curves?
Hi, I have say a lot of vertical curves overlapping each other as shown in te figure below: FIG 1, I want to plot them like c...

5 månader ago | 2 answers | 0

### 2

Question

How to solve this error index in position 1 exceeds array bounds?
Hi, How I can correct this error? Index in position 1 exceeds array bounds (must not exceed 128). Error in Create_Obs_dataL...

8 månader ago | 1 answer | 0

### 1

Question

How to color a small squared or half squared zone of the plot?
Hi, everyone, here it is graph between P vs t, as shown below and the data is also attached here. I want shade a say light blue ...

9 månader ago | 1 answer | 0

### 1

Question

How to shade a graph (full and some part)?
Hi, In this figure, say a graph is plotted plot(a,b). First, how can I shade full graph in gray color (either left or right sid...

9 månader ago | 1 answer | 0

### 1

Question

How move elements of a matrix from lower to higher values with limit?
Hellow everyone, I need help to solve this problem here. Suppose this cuve is plotted between D (y axis) and S (x axis). The ...

10 månader ago | 1 answer | 0

### 1

Question

How to perform calc. on the selected part of curve and then reassemble it with rest part of curve in MATLAB?
Hello everyone, I would be thankful if someone can help me to guide me here. Here is the attached plot between VP and Depth. I ...

10 månader ago | 1 answer | 1

### 1

Question

How i can fix this issue in MATLAB?
Hi, If I use this command (Phie(isnan(Phie)) = 0.22). It assign every NaN equal to 0.22. Suppose I want assign a range of value...

10 månader ago | 1 answer | 0