Jacob Allen
Followers: 0 Following: 0
Feeds
提问
How do I keep my current group IDs but then add in two other variables that the code needs to consider?
I have a code below that seperates the items in an excel sheet into groups based on their lithology. I have attached it below al...
2 years 前 | 1 个回答 | 0
1
个回答提问
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...
2 years 前 | 1 个回答 | 0
1
个回答提问
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 ...
2 years 前 | 1 个回答 | 0
1
个回答提问
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 =...
2 years 前 | 2 个回答 | 0
2
个回答提问
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...
2 years 前 | 1 个回答 | 0
1
个回答提问
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...
2 years 前 | 1 个回答 | 0
1
个回答提问
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...
2 years 前 | 1 个回答 | 0
1
个回答提问
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 ...
2 years 前 | 1 个回答 | 0
1
个回答提问
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...
2 years 前 | 1 个回答 | 0
1
个回答提问
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...
3 years 前 | 2 个回答 | 0