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

environ un an ago | 1 answer | 0

1

answer

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

environ un an ago | 1 answer | 0

1

answer

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

environ un an ago | 0 answers | 0

0

answers

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

environ un an ago | 2 answers | 0

2

answers

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?

environ un an ago | 1 answer | 0

1

answer

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

environ un an ago | 1 answer | 0

1

answer

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

environ un an ago | 1 answer | 0

1

answer

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

environ un an ago | 1 answer | 0

1

answer

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

plus d'un an ago | 1 answer | 0

1

answer

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

plus d'un an ago | 1 answer | 0

1

answer

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

plus d'un an ago | 1 answer | 0

1

answer

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

plus d'un an ago | 1 answer | 0

1

answer

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

plus d'un an ago | 2 answers | 0

2

answers

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

plus d'un an ago | 1 answer | 0

1

answer

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

plus d'un an ago | 1 answer | 0

1

answer

Question


How to extract data?
My data consists of 181 rows and 91 columns like (size(gather) 181 91). I want to extract like 181 rows and first 19 columns (co...

plus d'un an ago | 1 answer | 0

1

answer

Question


How to fix it.
wav dimentions are wav = 5001*1 and I want to change it as wav = 5001*5 How I can reshape it?

plus d'un an ago | 2 answers | 0

2

answers

Question


Invalid file identifier. Use fopen to generate a valid file identifier.
How to fix this error Error using fread Invalid file identifier. Use fopen to generate a valid file identifier. Error in ...

plus d'un an ago | 1 answer | 0

1

answer

Question


How to overcome this error?
Error using vertcat Dimensions of arrays being concatenated are not consistent. Error in smoothmod (line 55) RHOar =...

plus d'un an ago | 2 answers | 0

2

answers

Question


How to solve this error?
Error using fread Invalid file identifier. Use fopen to generate a valid file identifier. Error in ReadRSS (line 32) buff =...

plus d'un an ago | 1 answer | 0

1

answer

Question


How to add all the curves in a single figure?
Hello, These are the Rpp curves plotted against time for different incident angles just like: figure(4), subplot(1,5,1); p...

presque 2 ans ago | 1 answer | 0

1

answer

Question


The end operator must be used within an array index expression
How to fix this error: The end operator must be used within an array index expression. Error in .... (line 17) shot = sho...

presque 2 ans ago | 1 answer | 0

1

answer

Question


Plotting and Vectors Length Regularization
Hi, I want to plot Out (length 777) and time (length 389) and error appears 'Vector must be of same length'. So I need to reg...

presque 2 ans ago | 1 answer | 0

1

answer

Question


if AND elase statements
How to write this code in MATLAB Write a program that prints each number from 1 to 20 on a new line. For each multiple of 3, p...

presque 2 ans ago | 0 answers | 0

0

answers

Question


How to fix a number equal to null in MATLAB
Hello I have a lot values (equal to -999.25) in my data columns. I want that matlab read these values (-999.25) as zero when ...

presque 2 ans ago | 1 answer | 0

1

answer