Community Profile

# Jake

Attivo dal 2019

All

#### Content Feed

Visto da

Domanda

Help with solving a system of coupled equations of motions in time domain?
Hi, I've posted a similar post here, and I learned much through that post and comments. Now, I'm building on it and the system ...

4 giorni fa | 1 risposta | 0

### 1

risposta

Domanda

How to combine two vectors column-by-column?
I have two matrices, A and B. A = [1,3,5,7,9,11,13,15] B = [2,4,6,8,10,12,14,16] How can I combine these two to give me a thi...

19 giorni fa | 2 risposte | 0

### 2

risposte

Domanda

How to sum up every other column of a matrix?
Suppose I have a matrix A, A=[1 2 3 5 1 2 3 5;3 4 6 7 1 2 3 5;5 6 8 9 1 2 3 5] How can I sum up column(1) and column(3) to for...

23 giorni fa | 1 risposta | 0

### 1

risposta

Domanda

readmatrix ignores the first line of the data file
I'm trying to read a text filw with over 226,600 rows with readmatrix (sample is over 5MB so I couldn't attach it here). The fir...

24 giorni fa | 2 risposte | 0

### 2

risposte

Domanda

How to read a specially structured data file with different structures
I asked a similar question on the forum only to realize that I had worded it poorly and incompletely. My apologies for the repet...

circa un mese fa | 1 risposta | 0

### 1

risposta

Domanda

How to read a specially structured data file
I have a *.5P file (file is an output from the software WAMIT, and can be read by Matlab and/or any text editor) that I want to ...

circa un mese fa | 3 risposte | 0

### 3

risposte

Domanda

Why doesn't my plot "go to infitnity"?
Probably a silly question, but I couldn't figure out the reason! I have, x = [0.00,0.10,0.19,0.29,0.38,0.48,0.58,0.67,0.77,0.86...

2 mesi fa | 1 risposta | 0

### 1

risposta

Domanda

How to Interpolate coordiantes and values of a surface plot
Hi, I have a set of coordinates that creates a mesh - i.e. XYZ coordinates of a set of quadrilateral panels that creates a mesh...

2 mesi fa | 1 risposta | 1

### 1

risposta

Domanda

How to sum up multiple cell arrays (column-wise)?
I have a set of data in the form of a 26x32 cell array. Each cell consists a 6x6 matrix. I have attached the dummy file here. H...

3 mesi fa | 1 risposta | 0

### 1

risposta

Domanda

Can I change iteration value in following for loop?
Suppose I have the following code. nf1 = 3; nf2 = 4; panel_no = 1:12; R_vx = rand(144,1); for i = 1:nf1 for ii = 1:nf...

3 mesi fa | 1 risposta | 0

### 1

risposta

Domanda

Help with storing data in a 4-D double matrix
I have a data set in the form of 8 columns. I have attached a dummy xlsx file to show the data structure. As it can be seen, th...

3 mesi fa | 1 risposta | 0

### 1

risposta

Domanda

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

4 mesi fa | 0 risposte | 0

### 0

risposte

Domanda

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

5 mesi fa | 1 risposta | 0

### 1

risposta

Domanda

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

5 mesi fa | 2 risposte | 0

### 2

risposte

Domanda

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

9 mesi fa | 1 risposta | 0

### 1

risposta

Domanda

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

9 mesi fa | 1 risposta | 0

### 1

risposta

Domanda

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

circa 2 anni fa | 1 risposta | 0

### 1

risposta

Domanda

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

circa 2 anni fa | 1 risposta | 0

### 1

risposta

Domanda

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

oltre 2 anni fa | 1 risposta | 0

### 1

risposta

Domanda

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

oltre 2 anni fa | 1 risposta | 0

### 1

risposta

Domanda

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

oltre 2 anni fa | 1 risposta | 0

### 1

risposta

Domanda

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

oltre 2 anni fa | 0 risposte | 0

### 0

risposte

Risolto

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

oltre 2 anni fa

Domanda

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

oltre 2 anni fa | 1 risposta | 0

### 1

risposta

Domanda

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

oltre 2 anni fa | 1 risposta | 0

### 1

risposta

Domanda

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

circa 3 anni fa | 1 risposta | 0

### 1

risposta

Domanda

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

circa 3 anni fa | 1 risposta | 0

### 1

risposta

Domanda

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

circa 3 anni fa | 0 risposte | 0

### 0

risposte

Domanda

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

circa 3 anni fa | 1 risposta | 0

### 1

risposta

Domanda

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

circa 3 anni fa | 1 risposta | 0

risposta