Solved


Times 2 - START HERE
Try out this test problem first. Given the variable x as your input, multiply it by two and put the result in y. Examples:...

3 years ago

Question


Solving second order non-linear equations (time-domain)
Hi everyone, Im starting to learn ODE solving using MATLAB. I'm new to this, although I'm fairly comfortable using MATLAB. (I'm...

3 years ago | 1 answer | 0

1

answer

Question


Draw the trail of a moving marker on an animated 2D plot
Hi everyone! So, I'm creating a 2D plot where the marker moves from one point to another (nothing fancy, just pausing the plot)...

3 years ago | 1 answer | 0

1

answer

Question


Contour plot ignores a set of data points
Hello, I'm constructing a contour plot using location (longitude and latitude) and respective depth data. However, the output c...

4 years ago | 1 answer | 0

1

answer

Question


Reverse the Colormap of Surf plot
Hello, I'm constructing a surf plot using Location (logitude, latitude) and depth data. Following image is the 2D projection of...

4 years ago | 1 answer | 0

1

answer

Question


Making the white background of a contour map transparent
Hello, I'm wondering if there is a way to make the white background of a contour map transparent. I want to export a contour ma...

4 years ago | 0 answers | 0

0

answers

Question


Transparency of Image overlay on Google Earth (kmz file)
Hello, My purpose is to obtain a contour map using basic Latitude, Longitude, Height/depth data of a location and overlay the i...

4 years ago | 1 answer | 0

1

answer

Question


Contour map to show ocean depth
Hello, How can I construct a contour map as follows that shows the Ocean depths at a particular location, using Longitude, Lati...

4 years ago | 1 answer | 0

1

answer

Question


Contour plot with filled colors (for x, y, z data)
Hello everyone! I have a dataset that contains Latitude, Longitude and depth/height of a particular area. What I want to do is ...

4 years ago | 1 answer | 0

1

answer

Question


Plot Bathymetry data on Google Earth using MATLAB
Hi, I have a set of bathymetry data (Latitude, Longitude, Sea depth) and I want to create a contour map using MATLAB with diffe...

4 years ago | 0 answers | 0

0

answers

Question


Solve Finite Element Analysis equation
Hi, I'm trying to solve the following FEM equation for 1D unsteady heat conduction using MATLAB. I'm new to FEM and to the math...

4 years ago | 1 answer | 0

1

answer

Question


Parse error at '=' and ')' in FEM approach
Hi, Following is my code and it is related to FEM. T = zeros(10,5); T(1:10,1) = 10; T(1:10,5) = 50; T(1,2) = 73; T(1,3) = ...

4 years ago | 0 answers | 0

0

answers

Question


Finite Difference Method to find Steady State
Hello, This relates to 1-D unsteady heat conduction using Finite Difference Method (FDM). I have to solve the following equati...

4 years ago | 0 answers | 1

0

answers

Question


Finite Difference Method to find Steady State
Hello experts, I have to solve the following equation to find a converged solution. At i=0, T=10 and at i=5, T=50. (n=5) I ...

4 years ago | 1 answer | 1

1

answer

Question


Create Contour map from Latitude, Longitude and Depth from CSV file
Hello experts, This seems like a simple task but I couldn't wrap my head around it. I have a simple CSV file with Latitude, Lo...

4 years ago | 0 answers | 0

0

answers

Question


Create dummy files based on filename
Hello, I have a directory with text files. They are named as A1,A2,A3,A4,A5, B1,B2,B3,B4,B5,C1,C2... and so on. Set A is one gr...

4 years ago | 1 answer | 0

1

answer

Question


Common reasons for "index exceeds matrix dimension" error?
Hi everyone, This is more of a concern than a question, actually. Apologies in advance if this is not appropriate here. I'm ru...

4 years ago | 0 answers | 0

0

answers

Question


Write matrix to a Tab-Delimited text file
Hello again, I'm reading certain data from a csv file and I want to write some of the columns of the csv file to a tab delimite...

4 years ago | 2 answers | 0

2

answers

Question


Convert CSV to TXT without changing data properties
Hello, I have a CSV file that contains random values, all of them being decimals. Some of them have one decimal value while oth...

4 years ago | 2 answers | 0

2

answers

Question


Read and write csv files without changing properties
I've succesfully solved a big problem thanks to you guys and now I'm facing a slightly smaller but important one. (Following co...

4 years ago | 2 answers | 0

2

answers

Question


Read and manipulate multiple .csv files
Hi, I have multiple *.csv files which contains almost similar data. All the csv files have random and dissimilar file-names. Is...

4 years ago | 1 answer | 0

1

answer

Question


Sorting data based on time
I have multiple csv files and each looks like this. First column is an ID and the second one is the time (yyyymmddhhmmss). ...

4 years ago | 1 answer | 0

1

answer

Question


Separating data from a CSV file
Hello, I have a huge CSV file and it has data stored as follows. Column A stores ID numbers and the Column B stores dates (y...

4 years ago | 1 answer | 0

1

answer

Question


Script Skips a portion of code
The code that I'm running is a bit lengthy and I'll post the part where I'm having the problem with. If more information is need...

4 years ago | 1 answer | 0

1

answer

Question


Index Exceeds Matrix Dimensions
Hello, Apologies in advance for posting a common error/problem but I couldn't find relevant solutions in other simliar thread...

4 years ago | 1 answer | 0

1

answer

Question


Index exceeds Matrix Dimension
I'm following a comparatively larger code and I'm stuck in this section. T1=num2str(TTime); if length(T1)==9 T1=['0',T1]...

4 years ago | 1 answer | 0

1

answer

Question


Trouble reading the file with strread and textscan
So I'm really new to MATLAB and (un)fortunately, I have to troubleshoot a pretty complicated program/code while learning. Obviou...

4 years ago | 2 answers | 0

2

answers