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

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

3 years ago | 1 answer | 0

1

answer

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

3 years 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?

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

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

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

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

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

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

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

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

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

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

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

4 years 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?

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

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

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

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

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

4 years ago | 1 answer | 1

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

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

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

4 years ago | 1 answer | 0

1

answer