Community Profile

photo

Nisar Ahmed


Last seen: Today Active since 2020

Statistics

  • Thankful Level 4

View badges

Content Feed

View by

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

2 dagar ago | 1 answer | 0

1

answer

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

ungefär en månad ago | 0 answers | 0

0

answers

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

ungefär 2 månader ago | 1 answer | 0

1

answer

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

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

3

answers

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

ungefär 2 månader ago | 1 answer | 0

1

answer

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

ungefär 2 månader ago | 2 answers | 0

2

answers

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

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

3 månader ago | 2 answers | 0

2

answers

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

3 månader ago | 2 answers | 0

2

answers

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

3 månader ago | 1 answer | 0

1

answer

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

3 månader ago | 1 answer | 0

1

answer

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

4 månader ago | 0 answers | 0

0

answers

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

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

4 månader ago | 2 answers | 0

2

answers

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

7 månader ago | 1 answer | 0

1

answer

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

8 månader ago | 1 answer | 0

1

answer

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

8 månader ago | 1 answer | 0

1

answer

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

8 månader ago | 1 answer | 0

1

answer

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

8 månader ago | 1 answer | 1

1

answer

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

8 månader ago | 1 answer | 0

1

answer

Question


How to make a detaset with uniform interval.
Hi, I have a vector with dimensions say t with dimensions 1*553. However, the interval between t values is not constant. like...

9 månader ago | 1 answer | 0

1

answer

Question


How to take the difference of two figures haveing (plots) of same dimentions?
Hi, Thes are two figures with same vertical and horizontal dimensions. Hoa I can take the difference of these two figures. If...

9 månader ago | 1 answer | 0

1

answer

Question


How to copy the upper part (blue) and connect it with brown curve?
Hi, I want to generate two graphs having upper portion same but different lower portion as in the figure. How I can shift/conne...

9 månader ago | 1 answer | 0

1

answer

Question


How to interpolate attached data with the interval of 0.1524?
Hi, I have attached a data set (depth vs pressure). Depth starts from 1917.1254 and ends 1967.5698 m with nonuniform interval...

9 månader ago | 1 answer | 0

1

answer

Question


How to add some fluctuation in the flat line?
Hi, In the upper part of attached/copied figure, the encircled area, the graph has values equal to one (straight/flate line). S...

10 månader ago | 1 answer | 0

1

answer

Question


How to remove this error?
My code is giving following error. How can I fix it? Index in position 1 exceeds array bounds (must not exceed 2048). Error ...

10 månader ago | 1 answer | 0

1

answer

Question


Plz guide, if I have made this loop correct?
Hi, I have made the loop like given below, in loof f is changing itratively. Plz confirm if I have made it correctly? fr = 3...

10 månader ago | 1 answer | 0

1

answer

Question


How make this curve bit smooth or how to reduce some spikes?
Hi, I want to make this curve bit smoth by minimizing some spikes or I want remove some high frequency content from the curve. ...

12 månader ago | 2 answers | 0

2

answers

Question


How to plot Normal probability density function?
Hi I am plotting probability density function by using this command: mx = mean(RMS_vp); sx = std(RMS_vp); norm_vp = normpdf(R...

12 månader ago | 1 answer | 0

1

answer

Question


How to plot an overlay curve on the figure attached here.
Hello, The code for the attached/copied figure is figure, p = pcolor(b,a,c); p.EdgeColor = 'none'; axis ij; ylim([500 2500])...

12 månader ago | 1 answer | 0

1

answer

Load more