Community Profile

# James

Last seen: 5 dagar ago Active since 2019

All

#### Content Feed

View by

Question

How to solve a system of coupled, differential equations of motions?
Hi, This follows a previous post that I posted, where I was wrong with formulation and assumptions. I learned the mistake there...

17 dagar ago | 0 answers | 0

### 0

Question

How to solve a system of coupled, non-homogenous differential equations of motions?
Hi, First, I must say that I'm still learning the mathematics behind the governing equations, and I know I have a long way to g...

23 dagar ago | 1 answer | 0

### 1

Question

How to check if two planes intersect with each other?
Suppose I have two planes defined by four points (each) as follows. For ease of explanation, I will follow a graphical approach....

### 2

Question

Store mxn matrix within a for loop
How can I store results of a for loop when one iteration gives m x n matrix and not a 1 x n matrix? a = rand(20,12); for k=...

### 1

Question

How can I store all outputs from a nested for loop?
I know this might be a common problem, and tried a lot of different answers posted under similar questions. Anyway, here's a bas...

### 1

Question

How to replace values of a vector based on the values of another vector?
I have two vectors that together create a cartesian grid, such as this. xmin = 0; xmax = 500; ymin = -200; ymax = 200; c...

nästan 2 år ago | 1 answer | 0

### 1

Question

How to set ticks in imagesc colorbar based on a matrix value?
I'm using imagesc to display a graph/image, and I'm having trouble with the piece of code dislpayed here - specifically the tick...

nästan 2 år ago | 1 answer | 0

### 1

Question

How can I interpolate a datetime data series to have an interval of 1 minute in MATLAB?
Hi everyone, I'm analyzing a sample dataset from a .csv file (Attached). The columns are: "Ref number, MMSI, Latitude, Longitud...

nästan 2 år ago | 1 answer | 0

### 1

Question

How to create matrices from a table and extract specific data from it to make plots?
I'm sorry if the title is confusing. But I'm stuck at a point and I will appreciate any tip or help! I'm reading a series of AI...

nästan 2 år ago | 1 answer | 0

### 1

Question

Create matrix from 2 columns of a csv file
A CSV file includes all my data in seperate columns and I'm trying to extract them separately for analysis. I'm using MATLAB R20...

nästan 2 år ago | 1 answer | 0

### 1

Question

How to implement exponential smoothing for data without a trend/seasonality?
Hi everyone, My data is the form of AIS and I'm only focusing on Speed (SOG - Speed Over Ground) and Course (COG - Course Over ...

nästan 2 år ago | 0 answers | 0

### 0

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

mer än 2 år 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...

mer än 2 år ago | 1 answer | 0

### 1

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

mer än 2 år ago | 1 answer | 0

### 1

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

mer än 2 år ago | 1 answer | 0

### 1

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

mer än 2 år ago | 1 answer | 0

### 1

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

mer än 2 år ago | 0 answers | 0

### 0

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

mer än 2 år ago | 1 answer | 0

### 1

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

mer än 2 år ago | 1 answer | 0

### 1

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

mer än 2 år ago | 1 answer | 0

### 1

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

mer än 2 år ago | 0 answers | 0

### 0

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

mer än 2 år ago | 1 answer | 0

### 1

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

mer än 2 år ago | 0 answers | 0

### 0

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

mer än 2 år ago | 0 answers | 1

### 0

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

mer än 2 år ago | 1 answer | 1

### 1

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

mer än 2 år ago | 0 answers | 0

### 0

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

mer än 2 år ago | 1 answer | 0

### 1

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

mer än 2 år ago | 0 answers | 0

### 0

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

mer än 2 år ago | 2 answers | 0