Community Profile

photo

Jacob Allen


Last seen: ungefär en månad ago Active since 2022

Statistics

  • Thankful Level 3

View badges

Content Feed

View by

Question


Error "Index in position 2 is invalid."
%Heres the code I am working with. gmat=zeros(118,400); fid1=fopen('tomo_data.txt','r'); gdata= fscanf(fid1,'%f %f %f',[3,16...

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

1

answer

Question


Reading and plotting data
I've listed out the things that will help me get started with this data: 1. Read the Seismic data (use fopen, textscan, fclose ...

3 månader ago | 1 answer | 0

1

answer

Question


fscanf not giving any output
Attached below is the current code I have fid = fopen('sample_velmod.txt','r'); formatspec = '%d %d\n'; sizeA = [2 inf]; A =...

3 månader ago | 2 answers | 0

2

answers

Question


Creating string variables and paths to a directory
I need to create a string variables with the name of the file, the path to the directory with input file (then join them) an...

3 månader ago | 1 answer | 0

1

answer

Question


How to create a quiver with given code?
Below is the current code I have so far. clear all clc x=0:5:20; y=0:10:40; z=0:20:80; [X,Y,Z]=meshgrid(x,y,z); v=[]; fo...

3 månader ago | 1 answer | 0

1

answer

Question


How to create separate tables so that I can have them open at the same time?
I have attached the related code and excel sheet below. The code I have now creates tables but once I run another table, the one...

8 månader ago | 1 answer | 0

1

answer

Question


How do I change the colors of my data points in a scatter plot?
Attached below is the code I am working with and the associated excel sheet. I need to be able to change the data point's color ...

8 månader ago | 1 answer | 0

1

answer

Question


How do I group excel data by a keyword?
In the excel sheet attached, there is a lithology column included (column D). I need to be able to group each row based on their...

9 månader ago | 1 answer | 0

1

answer

Question


Subtracting one row from a previous row in a single column of n long data
I have a single column of data that is n long and I want to be able to subtract the second row in that column by the first and h...

10 månader ago | 2 answers | 0

2

answers