photo

Jake


Aktiv seit 2019

Followers: 0   Following: 0

Statistik

All
  • Thankful Level 4
  • Solver

Abzeichen anzeigen

Feeds

Anzeigen nach

Frage


How can I filter a FFt signal to only show the main frequency?
I have the following code (a sample data file is attached). load("sample_signal.mat"); whos figure subplot(2,1,1) hold on...

4 Tage vor | 3 Antworten | 0

3

Antworten

Frage


Heatmap doesn't show the values
The heatmap figures I used to plot on Matlab had the values labeled in each cell (just like the documenation says), but now the ...

4 Monate vor | 2 Antworten | 0

2

Antworten

Frage


How to compare data series?
Suppose, I'm performing five time-domain simulations with 5 different coefficient values (say beta = [0.2, 0.3, 0.4, 0.5, 0.6])....

8 Monate vor | 1 Antwort | 0

1

Antwort

Frage


How to find Quadratic Damping?
Hi, I have a time series data set from a motion decay test (sample attached). load('sampleData.mat'); % whos figure plot(...

10 Monate vor | 1 Antwort | 0

1

Antwort

Frage


How to plot direction of forces on a body with polar plots or similar?
I'm simulating the forces acting on a stationary object. I have a data sample of a time series that includes Forces, and the dir...

10 Monate vor | 1 Antwort | 0

1

Antwort

Frage


How to Curvefit amplitude output of a spring-mass-damper system to find coefficients?
First of all, I'm not sure if the title gives the right idea, and if this is possible. If that's the case, my apologies in advan...

10 Monate vor | 1 Antwort | 0

1

Antwort

Frage


How to build and use a LowPass (or HighPass) Filter in real-time in a time domain simulation?
I'm new to control aspects and have not worked with filters before. I've been reading up on the documentation provided by Matlab...

11 Monate vor | 1 Antwort | 0

1

Antwort

Frage


Why am I getting two different data arrays with the same set of data?
The title is a bit ambiguous, but I will try my best to explain. I have a 4-D complex data set (see attached). First, I'm wri...

mehr als ein Jahr vor | 1 Antwort | 0

1

Antwort

Frage


A little help with translating a piece of Fortran code to Matlab
I know this is bit of an odd question, and I'm sorry if this is against any community rules. I'm troubleshooting a Fortran cod...

mehr als ein Jahr vor | 2 Antworten | 0

2

Antworten

Frage


How to interpolate from a dataset using interp3?
Hi, I have a dataset (4-D complex double) of dimensions 32 x 31 x 21 x 6. The first three parameters 32x31x21 defines two frequ...

mehr als ein Jahr vor | 2 Antworten | 0

2

Antworten

Frage


Help on solving nonlinear coupled equations with Runge-Kutta approach
I have the following piece of code. I'm providing a "piece" here, since the full code is quite lengthy and I think the following...

fast 2 Jahre vor | 1 Antwort | 1

1

Antwort

Frage


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

fast 2 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


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

fast 2 Jahre vor | 2 Antworten | 0

2

Antworten

Frage


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

fast 2 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


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

fast 2 Jahre vor | 2 Antworten | 0

2

Antworten

Frage


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

fast 2 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


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

fast 2 Jahre vor | 3 Antworten | 0

3

Antworten

Frage


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

fast 2 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


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

fast 2 Jahre vor | 1 Antwort | 1

1

Antwort

Frage


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

fast 2 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


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

etwa 2 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


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

etwa 2 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


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

etwa 2 Jahre vor | 0 Antworten | 0

0

Antworten

Frage


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

etwa 2 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


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

etwa 2 Jahre vor | 2 Antworten | 0

2

Antworten

Frage


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

mehr als 2 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


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

mehr als 2 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


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

fast 4 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


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

etwa 4 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


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

etwa 4 Jahre vor | 1 Antwort | 0

1

Antwort

Mehr laden