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

10 månader ago | 1 answer | 0

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

11 månader ago | 1 answer | 0

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

11 månader ago | 1 answer | 0

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

11 månader ago | 1 answer | 0

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

11 månader ago | 1 answer | 0

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

12 månader ago | 1 answer | 0

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

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

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

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

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

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

Question

How to subtract corresponding elemets of corresponding columns of two matrices?

Hi, I have two matrices, say a = [P1 P2 P3], while size of each (P1, P2, P3) is i.e size(P1) = 100 1, etc. similarly other m...

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

Question

How to plot all curves according to their XY coordinates?

Hi, In the figure attached below, each VT curve have XY cordinates. I want to plot these curves according to the XY coordinate ...

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

Question

How to plot surf or imagesc for my data?

Hi, This is my figure code, it comprises on 38 VP vs TWT plots as: h = plot(VP1,TWT1,VP2+500,TWT2,VP3+1000,TWT3,VP4+1500,TWT4,...

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

Question

How to shade/color overlapped area in the graph?

Hi, I have plotted two graphs and both have different x and y axis as: xlabels{1} = 'DEN (gm/cm3)'; xlabels{2} = 'NPHI(.frac...

ungefär ett år ago | 2 answers | 1

Question

How can I plot my figures like attached plots?

Hi, I want plot two graphs on same plot but with different x axis limits. Just given in the figure (a) attached to this questio...

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

Question

How to fix this error (SIGMA must be a symmetric positive semi-definite matrix)?

Hi, This error appears in my code: while the size of SIGMA (if it is sigma_m) is 6005 6005, means it is laready symmetric. E...

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

Question

How to extract data from an array?

Hi, Suppose the length of t is 1922 (size is 1922 1) and I want extract from (700:1900), then how I can do it? similarly a...

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

Question

What this warning means and how to fix it?

Warning: Integer operands are required for colon operator when used as index. > In Ex11_Bayes_AVO_Inversion>build_W (line 263)...

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

Question

How to fix this error please?

Error using eye Requested 57660x57660 (24.8GB) array exceeds maximum array size preference. Creation of arrays greater than thi...

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

Question

What this error 'Dimensions of arrays being concatenated are not consistent' means?

Error using vertcat Dimensions of arrays being concatenated are not consistent. Error in Make_forward_model (line 85) ...

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

Question

How to plot a graph like attached figure (in the form of steps).

How can I plot my curve in the form of steps as given in the attached figure?

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

Question

Can someone help me to explain/understand this code

if nargin==0, [file,pathname]=uigetfile('*.las'); else pathname=''; end; if ischar(file) fid=fopen([pathname,file]); k=0; he...

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

Question

How to use double loop in an equation?

Hi, I want to compute a function say Rp as of theta and frequency, like Rp(theta, f). How can I write equation with double l...

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

Question

How to plot these traces after a fixed interval?

Hellow everyone, I have attaced a figure have many traces (vertical) at different incident angles (from 1 to 30). On vertical...

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

Question

What colormap I should choose to plot my figure like I attached to this question?

Say my code is [Shot] = (ReadRSS('Pshot.rss')); figure(1), subplot(1,3,1); imagesc(Shot); xlabel('Offset (m)'); ylabel('...

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

Question

How to remove this error? The grid vectors must contain unique points.

Hi I am using this code... TVD = TVD(2083:10150); TWT = TWT(2083:10150); IntVP = IntVP(2083:10150); IntVS = IntVS(2083:1015...

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

Question

Figure display issue 'colormap(gray)'

Hi I have created a figure by using following code. The figure attached here. I have chose colormap(gray) and surprised why the...

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

Question

How to remove this error?

Error using plot Vectors must be the same length. Error in Well16_1_A_06 (line 263) plot(Out(:,1),regtime,'k'); While the ...

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

Question

How to extract data from MATLAB code?

My data consists of 389 rows and 40 columns like (size(gather) 389 40). I want to extract 40 columns and rows from 105 to 381 (1...

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

Question

How to label graph curves?

Hello, I have attached a figure in which Rpp is plotted at different angles and I want to label each graph with incident angl...

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

Question

How to fix this error?

Hi Dear all, can you please help me to fix this error? Index exceeds the number of array elements (9). Error in Wavelet_fr...

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